
LC723700 Instruction Set
Abbreviations
ADDR:
b:
c:
DH:
DL:
I:
M:
N:
M
ADR
:
ROM
ADR
:
P1n, P2n:
PW1n, PW2n:
PEn:
SR:
ADR:
DTR:
r:
SWR:
SRR:
( ), [ ]:
M(DH, DL):
Program memory address
Borrow
Carry
Data memory address High (Row address) [2 bits]
Data memory address Low(Column address) [4 bits]
Immediate data [4 bits]
Data memory address
Bit position [4 bits]
M specified by address register
Program memory data specified by address register
Port number [4 bits]
Port control word number [4 bits]
Peripheral register number [4 bits]
ADR/DTR
Address register
Data register
General register (One of the address from 00H to 0FH of BANK0)
Status write register
Status read register
Contents of register or memory
Data memory specified by DH, DL
No. 5931-12/14
LC723732/40/48/56/64
Mnemonic
Operand
Function
Operations function
Instruction format
1st
2nd
AD
r
M
Add M to r
r
←
(r) + (M)
r
←
(r) + (M), skip carry
r
←
(r) + (M) + C
r
←
(r) + (M) + C skip if carry
M
←
(M) + I
M
←
(M) + I, skip if carry
M
←
(M) + I + C
M
←
(M) + I + C, skip if carry
r
←
(r) – (M)
r
←
(r) – (M), skip if borrow
r
←
(r) – (M) – b
0 1 0 0 0 0 DH
DL
r
ADS
r
M
ADD M to r, then skip if carry
0 1 0 0 0 1 DH
DL
r
AC
r
M
Add M to r with carry
0 1 0 0 1 0 DH
DL
r
ACS
r
M
Add M to r with carry, then skip if carry
0 1 0 0 1 1 DH
DL
r
AI
M
I
Add I to M
0 1 0 1 0 0 DH
DL
I
AIS
M
I
Add I to M, then skip if carry
0 1 0 1 0 1 DH
DL
I
AIC
M
I
Add I to M with carry
0 1 0 1 1 0 DH
DL
I
AICS
M
I
Add I to M with carry, then skip if carry
0 1 0 1 1 1 DH
DL
I
SU
r
M
Subtract M from r
0 1 1 0 0 0 DH
DL
r
SUS
r
M
Subtract M from r, then skip if borrow
0 1 1 0 0 1 DH
DL
r
SB
r
M
Subtract M from r with borrow
0 1 1 0 1 0 DH
DL
r
SBS
r
M
Subtract M from r with borrow,
then skip if borrow
r
←
(r) – (M) –b, skip if borrow 0 1 1 0 1 1 DH
DL
r
SI
M
I
Subtract I from M
M
←
(M) – I
M
←
(M) – I, skip if borrow
M
←
(M) – I – b
0 1 1 1 0 0 DH
DL
I
SIS
M
I
Subtract I from M, then skip if borrow
0 1 1 1 0 1 DH
DL
I
SIB
M
I
Subtract I from M with borrow
0 1 1 1 1 0 DH
DL
I
SIBS
M
I
Subtract I from M with borrow,
then skip if borrw
M
←
(M) – I –b, skip if borrow
0 1 1 1 1 1 DH
DL
I
SEQ
r
M
Skip if r equal to M
(r) – (M), skip if zero
0 0 0 1 0 0 DH
DL
r
SEQI
M
I
Skip if M equal to I
(M) – I, skip if zero
0 0 0 1 0 1 DH
DL
I
SNEI
M
I
Skip if M not equal to I
(M) – I, skip if not zero
0 0 0 0 0 1 DH
DL
I
SGE
r
M
Skip if r is greater than or equal to M
(r) – (M), skip if not borrow
0 0 0 1 1 0 DH
DL
r
SLE
r
M
Skip if r is less than M
(r) – M, skip if borrow
0 0 0 0 1 0 DH
DL
r
SGEI
M
I
Skip if M is greater than or equal to I
(M) – I, skip if not borrow
0 0 0 1 1 1 DH
DL
I
SLEI
M
I
Skip if M is less than I
(M) – I, skip if borrow
0 0 0 0 1 1 DH
DL
I
S
C
A
I
g
f e d c b a 9 8 7 6 5 4 3 2 1 0
Continued on next page.