Instructions Where Format Is Changed (Excluding Anuscpu Dedicated Instructions) - Mitsubishi Electric MELSEC Q Series Handbook

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7
REPLACEMENT OF PROGRAM
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
Right rotation of 16-
bit data
Left rotation of 16-
bit data
Right rotation of 32-
bit data
Left rotation of 32-
bit data
16-bit data search
32-bit data search
16-bit data checks
32-bit data checks
Partial refresh
8-characters ASCII
conversion
Carry flag set
Carry flag reset
QCPU/QnASCPU
Format of instruction
• D: Rotation data
• D: Rotation data
• Use SM700 for carry
flag.
• D: Rotation data
• D: Rotation data
• Use SM700 for carry
flag.
• D: Rotation data
• D: Rotation data
• Use SM700 for carry
flag.
• D: Rotation data
• D: Rotation data
• Use SM700 for carry
flag.
• Search result is
stored in D, D +1
device.
• Search result is
stored in D, D +1
device.
• Check result is
stored in D device.
• Check result is
stored in D device.
• Add dedicated
instruction.
$MOV
D
(Charactor strings)
• No dedicated
instruction
• No dedicated
instruction
Remarks
Format of instruction
ASC
(Charactor strings)
AnSCPU
Remarks
• Rotation data is set in
A0.
• Rotation data is set in
A0.
• Use M9012 for carry
flag.
• Rotation data is set in
A0.
• Rotation data is set in
A0.
• Use M9012 for carry
flag.
• Rotation data is set in
A0, A1.
• Rotation data is set in
A0, A1.
• Use M9012 for carry
flag.
• Rotation data is set in
A0, A1.
• Rotation data is set in
A0, A1.
• Use M9012 for carry
flag.
• Search result is
stored in A0, A1.
• Search result is
stored in A0, A1.
• Check result is stored
in A0.
• Check result is stored
in A0.
• Only when M9052 is
*1
on.
*2
D
*2
*2
7
- 42

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-ans/qnas

Table of Contents