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