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