116 copop (coprocessor operation) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual
Page 253
229
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.116
COPOP (Coprocessor Operation)
Transfers the 16-bit data consisting of parameters "CC", "CRj", "CRi" to the
coprocessor indicated by channel number "u4".
Basically, this operation is a calculation between registers within the coprocessor. The
calculation process indicated by the value "CC" is carried out between coprocessor
registers "CRj" and "CRi". Note that the actual interpretation of the fields "CC", "CRj",
and "CRi" is done by the coprocessor so that the detailed operation is determined by
the specifications of the coprocessor.
If the coprocessor designated by the value "u4" is not mounted, a "coprocessor not
found" trap is generated.
If the coprocessor designated by the value "u4" has generated an error in a previous
operation, a "coprocessor error" trap is generated.
■
COPOP (Coprocessor Operation)
Assembler format:
COPOP #u4, #CC, CRj, CRi
Operation:
CC, CRj, CRi
→
Coprocessor on channel u4
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
2+ a cycles
Instruction format:
N
Z
V
C
–
–
–
–
MSB
LSB
1
0
0
1
1
1
1
1
1
1
0
0
u4
(n+0)
CRi
CRj
CC
(n+2)