Fujitsu FR Family Instruction Manual page 256

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

Advertisement

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
Example:
COPLD #15, #4, R8, CR1
16-bit data is transferred through the bus to the coprocessor indicated by channel number 15. Next,
the contents of general-purpose register "R8" 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.117-1
will have the following effect on coprocessor operation.
Table 7.117-1 Conditions for Coprocessor Command "CC" (COPLD)
232
MSB
0
0
0
0
CC
Calculation
Addition CRi + CRj → CRi
00
Subtraction CRi – CRj → CRi
01
Multiplication CRi × CRj → CRi
02
Division CRi ÷ CRj → CRi
03
Other
No calculation
(CPU register)
R8
3 F 8 0 0 0 0 0
(Coprocessor register)
CR1
x x x x
x x x x
Before execution
0
1
0
0
1
0
LSB
0
0
0
0
0
1
(CPU register)
R8
3 F 8 0
0 0 0 0
(Coprocessor register)
CR1
3 F 8 0
0 0 0 0
After execution

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents