No. 6650-11/12
LC72314W, 72315W, 72316W
Continued from preceding page.
Mnemonic
Operand
Function Operations function
Instruction format
1st 2nd
AND r M AND M with r R ← (r) AND (M)
ANDI M I AND I with M M ← (M) AND I
OR r M OR M with r R ← (r) OR (M)
ORI M I OR I with M M ← (M) OR I
EXL r M Exclusive OR M with r R ← (r) XOR (M)
EXLI M I Exclusive OR M with M M ← (M) XOR I
SHR r Shift r right with carry
LD r M Load M to r R ← (M)
ST M r Store r to M M ← (r)
MVRD r M
Move M to destination M
[DH, Rn] ← (M)
referring to r in the same row
MVRS M r
Move source M referring to r
M ← [DH, Rn]
to M in the same row
MVSR M1 M2 Move M to M in the same row [DH, DL1] ← [DH, DL2]
MVI M I Move I to M M ← I
TMT M N
Test M bits, then skip if all bits
if M (N) = all 1, then skip
specified are true
TMF M N
Test M bits, then skip if all bits
if M (N) = all 0, then skip
specified are false
JMP ADDR Jump to the address PC ← ADDR
CAL ADDR Call subroutine
PC ← ADDR
Stack ← (PC) + 1
RT Return from subroutine PC ← Stack
PC ← Stack,
RTI Return from interrupt BANK ← Stack,
CARRY ← Stack
SS SWR N Set status register (Status W-reg) N ← 1
RS SWR N Reset status register (Status W-reg) N ← 0
TST SRR N Test status register true If (Status R-reg) N = all
TSF SRR N Test status register false If (Status R-reg) N = all
TUL N Test Unlock F/F
If Unlock F/F (N) = All 0s,
then skip
PLL M Load M to PLL register PLL reg ← PLL data
SIO I1 I2 Serial I/O control SIO reg ←I1, I2
UCS I Set I to UCCW1 UCCW1 ← I
UCC I Set I to UCCW2 UCCW2 ← I
BEEP I Beep control BEEP reg ← I
DZC I Dead zone control DZC reg ← I
TMS I Set timer register Timer reg ← I
IOS PWn N Set port control word IOS reg PWn ← N
IN M Pn Input register port data to M M ← (Pn)
OUT M Pn Output contents of M to port Pn ← M
INR M Rn Input port data to M M ← (Pn reg)
OUTR M Rn
Output contents of M to
Rn reg ← (M)
register/port
SPB Pn N Set port bits (Pn)N ←1
RPB Pn N Reset port bits (Pn)N ← 0
TPT Pn N
Test port1 bits, then skip if all bits
If (Pn)N = all 1, then skip
specified are true
TPF Pn N
Test port1 bits, then skip if all bits
If (Pn)N = all 0, then skip
specified are false
BANK I Select Bank BANK ← I
f e d c b a 9 8 7 6 5 4 3 2 1 0
0 0 1 0 0 0 DH DL r
0 0 1 0 0 1 DH DL I
0 0 1 0 1 0 DH DL r
0 0 1 0 1 1 DH DL I
0 0 1 1 0 0 DH DL r
0 0 1 1 1 0 DH DL I
0 0 0 0 0 0 0 0 1 1 1 0 r
1 1 0 1 0 0 DH DL r
1 1 0 1 0 1 DH DL r
1 1 0 1 1 0 DH DL r
1 1 0 1 1 1 DH DL r
1 1 1 0 0 0 DH DL1 DL2
1 1 1 0 0 1 DH DL I
1 1 1 1 0 0 DH DL N
1 1 1 1 0 1 DH DL N
1 0 0 ADDR (13 bits)
1 0 1 ADDR (13 bits)
0 0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0 1 0 0 1
1 1 1 1 1 1 1 1 0 0 0
SWR
N
1 1 1 1 1 1 1 1 0 0 1
SWR
N
1 1 1 1 1 1 1 1 0 1 SRR N
1 1 1 1 1 1 1 1 1 0 SRR N
0 0 0 0 0 0 0 0 1 1 0 1 N
1 1 1 1 1 0 DH DL r
0 0 0 0 0 0 0 1 I1 I2
0 0 0 0 0 0 0 0 0 0 0 1 I
0 0 0 0 0 0 0 0 0 0 1 0 I
0 0 0 0 0 0 0 0 0 1 1 0 I
0 0 0 0 0 0 0 0 1 0 1 1 I
0 0 0 0 0 0 0 0 1 1 0 0 I
1 1 1 1 1 1 1 0 PWn N
1 1 1 0 1 0 DH DL Pn
1 1 1 0 1 1 DH DL Pn
0 0 1 1 1 0 DH DL Pn
0 0 1 1 1 1 DH DL Rn
0 0 0 0 0 0 1 0 Pn N
0 0 0 0 0 0 1 1 Pn N
1 1 1 1 1 1 0 0 Pn N
1 1 1 1 1 1 0 1 Pn N
0 0 0 0 0 0 0 0 0 1 1 1 I
Bit test
instructions
Jump and subroutine
call instructions
carry
(r)
Logic operation instructionsTransfer instructions
Continued on next page.
Instruction
group
Bank switching
instructions
Status register
instructions
I/O instructions Hardware control instructions