English
Language : 

SM59D03G2 Datasheet, PDF (12/67 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller
2 Instruction set
SM59D03G2
8-Bits Micro-controller
8KB+ ISP Flash & 1KB RAM embedded
The SM59D03G2 uses the powerful 80C51 instruction set. It consists of 49 single-byte, 42 two-byte
and 15 three-byte instructions. Among them, 63 instructions are executed in 1 machine-cycle, 46
instructions in 2 machine-cycles and 2 instructions in 4 machine-cycles. A summary of the
instruction set is given in Table 2-1. All of the instructions are fully compatible with standard
8052-series’.
Mnemonic
Arithmetic Instructions
ADD
A, Rn
ADD
A, direct
ADD
A, @Ri
ADD
A, #data
ADDC
A, Rn
ADDC
A, direct
Table 2.1 Instruction set
OPERATION
A = A + Rn
A = A + direct
A = A + <@Ri>
A = A + #data
A = A + Rn + C
A = A + direct + C
BYTE
1
2
1
2
1
2
CYCLE
1
1
1
1
1
1
ADDC
ADDC
SUBB
SUBB
SUBB
SUBB
INC
INC
INC
INC
DEC
DEC
DEC
DEC
INC
MUL
DIV
A, @Ri
A, #data
A, Rn
A, direct
A, @Ri
A, #data
A
Rn
direct
@Ri
A
Rn
direct
@Ri
DPTR
AB
AB
DA
A
Logical Instructions
ANL
A, Rn
ANL
A, direct
ANL
A, @Ri
ANL
A, #data
ANL
direct, A
ANL
direct, #data
ORL
A, Rn
ORL
A, direct
ORL
A, @Ri
ORL
A, #data
ORL
direct, A
ORL
direct, #data
XRL
A, Rn
XRL
A, direct
XRL
A, @Ri
XRL
A, #data
XRL
direct, A
XRL
direct, #data
CLR
A
CPL
A
RL
A
RLC
A
RR
A
RRC
A
SWAP
A
A = A + @Ri + C
A = A + #data + C
A = A - Rn - C
A = A - direct - C
A = A - <@Ri> - C
A = A-#data - C
A=A+1
Rn = Rn + 1
direct = direct + 1
<@Ri> = <@Ri> + 1
A=A - 1
Rn = Rn - 1
direct = direct - 1
<@Ri> = <@Ri> - 1
DPTR = DPTR - 1
B:A = A × B
A = INT (A/B)
B = MOD (A/B)
Decimal adjust ACC
A .AND. Rn
A .AND. direct
A .AND. <@Ri>
A .AND. #data
direct .AND. A
direct .AND. #data
A .OR. Rn
A .OR. direct
A .OR. <@Ri>
A .OR. #data
direct .OR. A
direct .OR. #data
A .XOR. Rn
A .XOR. direct
A .XOR. <@Ri>
A .XOR. #data
direct .XOR. A
direct .XOR. #data
A=0
A = /A
Rotate ACC Left 1 bit
Rotate Left through Carry
Rotate ACC Right 1 bit
Rotate Right through Carry
Swap Nibbles in A
1
1
2
1
1
1
2
1
1
1
2
1
1
1
1
1
2
1
1
1
1
1
1
1
2
1
1
1
1
2
1
4
1
4
1
1
1
1
2
1
1
1
2
1
2
1
3
2
1
1
2
1
1
1
2
1
2
1
3
2
1
1
2
1
1
1
2
1
2
1
3
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M030
12
Ver.C SM59D03G2 07/2009