Fujitsu FR Family Instruction Manual page 254

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

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)
230
MSB
0
0
0
0
CC
00
01
02
03
Other
(Coprocessor register)
CR3
C 0 0 0 0 0 0 0
0
( - 1 x 2
)
CR4
4 0 8 0 0 0 0 0
0
( 2 x 2
)
Before execution
0
0
0
1
0
0
Calculation
Addition CRi + CRj → CRi
Subtraction CRi – CRj → CRi
Multiplication CRi × CRj → CRi
Division CRi ÷ CRj → CRi
No operation
LSB
1
1
0
1
0
0
(Coprocessor register)
CR3
C 0 0 0 0 0 0 0
CR4
4 0 C 0 0 0 0 0
0
( 3 x 2
After execution
)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents