App-118
Appendix 2.1.7 Instructions whose designation format has been
changed (Except dedicated instructions for
AnACPU and AnUCPU)
Because the QCPU does not have accumulators (A0, A1), the format of AnUCPU, AnACPU and
AnNCPU instructions that used accumulators has been changed.
TableApp.2.7 Instructions Whose Expression Has Changed
*1: Unusable for the Q00J/Q00/Q01CPU.
Function
QCPU AnUCPU/AnACPU/AnNCPU
Instruction Format Remarks Instruction Format Remarks
16-bit
rotation to right
• D : Rotation data
• Rotation data are set
at A0.
• D : Rotation data
• SM700 is used for
carry flag.
• Rotation data are set
at A0.
• M9012 is used for
carry flag.
16-bit
rotation to left
• D : Rotation data
• Rotation data are set
at A0.
• D : Rotation data
• SM700 is used for
carry flag.
• Rotation data are set
at A0.
• M9012 is used for
carry flag.
32-bit
rotation to right
• D : Rotation data
• Rotation data are set
at A0 and A1.
• D : Rotation data
• SM700 is used for
carry flag.
• Rotation data are set
at A0 and A1.
• M9012 is used for
carry flag.
32-bit
rotation to left
• D : Rotation data
• Rotation data are set
at A0 and A1.
• D : Rotation data
• SM700 is used for
carry flag.
• Rotation data are set
at A0 and A1.
• M9012 is used for
carry flag.
16-bit data search
• Search results are
stored at the D and
D+1 devices.
• Search results are
stored at A0 and A1.
32-bit data search
• Search results are
stored at the D and
D+1 devices.
• Search results are
stored at A0 and A1.
16-bit
data bit check
• Check results are
stored at the D
device.
• Check results are
stored at A0.
16-bit
data bit check
• Check results are
stored at the D
device.
• Check results are
stored at A0.
Partial refresh
• Dedicated
instruction is added.
• Only when M9052 is
ON
8-character ASCII conversion
–– ––
Carry flag set
• No dedicated
instruction
––
Carry flag reset
• No dedicated
instruction
––
Jump to END instruction
• Dedicated
instruction is added.
• P255: END instruction
designation
CHK instruction
*1
• The CHKST
instruction is added.
––
ROR
D n
ROR
n
RCR
D n
RCR
n
ROL
D n
ROL
n
RCL
D n
RCL
n
DROR
D n
DROR
n
DRCR
D n
DRCR
n
DROL
D n
DROL
n
DRCL
D n
DRCL
n
SER
D nS1 S2
SER
nS1 S2
DSER
D nS1 S2
DSER
nS1 S2
SUM
SD
SUM
S
DSUM
SD
DSUM
S
RFS D n
SEG
D n
$MOV
D
(Character string)
ASC
D
(Character string)
SET
SM700
STC
RST
SM700
CLC
GOEND
CJ
P255
CHKST
CHK
P254
CHK
CJ
Pn