Fujitsu FR family 32-bit microcontroller instruction manue Uživatelský manuál Strana 258

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 314
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 257
234
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
Example: COPST #15, #4, CR2, R4
16-bit data is transferred through the bus to the coprocessor indicated by channel number 15. Next,
the output data of the coprocessor are transferred through the bus to that coprocessor.
Assuming that the coprocessor indicated by channel 15 is a single-precision
floating-decimal calculation unit, the coprocessor command "CC" set as shown in Table 7.118-1
will have the following effect on coprocessor operation.
Table 7.118-1 Conditions for Coprocessor Command "CC" (COPST)
CC Calculation
00 Addition CRi + CRj CRi
01 Subtraction CRi – CRj CRi
02 Multiplication CRi × CRj CRi
03 Division CRi ÷ CRj CRi
Other No calculation
MSB LSB
0000010000100100
R4
BF80 0000
R4
BF80
BF80
0000
CR2 CR2
0000
(CPU register)
(Coprocessor register)
(CPU register)
(Coprocessor register)
xxxx xxxx
Before execution After execution
Zobrazit stránku 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 313 314

Komentáře k této Příručce

Žádné komentáře