Fujitsu FR family 32-bit microcontroller instruction manue Instrukcja Użytkownika Strona 254

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 314
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 253
230
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
Example: COPOP #15, #1, CR3, CR4
16-bit data is transferred through the bus to the coprocessor indicated by channel number 15.
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.116-1
will have the following effect on coprocessor operation.
Table 7.116-1 Conditions for Coprocessor Command "CC" (COPOP)
CC Calculation
00 Addition CRi + CRj CRi
01 Subtraction CRi – CRj CRi
02 Multiplication CRi × CRj CRi
03 Division CRi ÷ CRj CRi
Other No operation
MSB LSB
0000000100110100
CR3
C000 0000
(-1x2
0
)
CR3
C000 0000
CR4
4080 0000
(2x2
0
) (3x2
0
)
CR4
40C0 0000
(Coprocessor register) (Coprocessor register)
Before execution After execution
Przeglądanie stron 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 313 314

Komentarze do niniejszej Instrukcji

Brak uwag