7 REPLACEMENT OF PROGRAM
7 - 42
7.7.8 Instructions where format is changed (Excluding AnUSCPU dedicated
instructions)
Instructions using the accumulator for the AnSCPU are changed in their format, since the QnUCPU/
QnASCPU do not have the accumulator (A0, A1).
The accumulator A0 is converted to SD718, the accumulator A1 is converted to SD719.
Function
QCPU/QnASCPU AnSCPU
Format of instruction Remarks Format of instruction Remarks
Right rotation of 16-
bit data
• D: Rotation data
• Rotation data is set in
A0.
• D: Rotation data
• Use SM700 for carry
flag.
• Rotation data is set in
A0.
• Use M9012 for carry
flag.
Left rotation of 16-
bit data
• D: Rotation data
• Rotation data is set in
A0.
• D: Rotation data
• Use SM700 for carry
flag.
• Rotation data is set in
A0.
• Use M9012 for carry
flag.
Right rotation of 32-
bit data
• D: Rotation data
• Rotation data is set in
A0, A1.
• D: Rotation data
• Use SM700 for carry
flag.
• Rotation data is set in
A0, A1.
• Use M9012 for carry
flag.
Left rotation of 32-
bit data
• D: Rotation data
• Rotation data is set in
A0, A1.
• D: Rotation data
• Use SM700 for carry
flag.
• Rotation data is set in
A0, A1.
• Use M9012 for carry
flag.
16-bit data search
• Search result is
stored in D, D +1
device.
• Search result is
stored in A0, A1.
32-bit data search
• Search result is
stored in D, D +1
device.
• Search result is
stored in A0, A1.
16-bit data checks
• Check result is
stored in D device.
• Check result is stored
in A0.
32-bit data checks
• Check result is
stored in D device.
• Check result is stored
in A0.
Partial refresh
• Add dedicated
instruction.
• Only when M9052 is
on.
*1
8-characters ASCII
conversion
*2
Carry flag set
• No dedicated
instruction
*2
Carry flag reset
• No dedicated
instruction
*2
$MOV D
(Charactor strings)