CC2430
8051 CPU : Instruction Set Summary
Mnemonic
Description
Hex
Bytes
Cycles
Opcode
Program branching
ACALL addr11
LCALL addr16
RET
Absolute subroutine call
xxx11
12
2
3
1
1
2
3
2
1
2
2
2
2
3
3
3
3
3
3
3
2
3
1
6
6
4
4
3
4
3
2
3
3
3
3
4
4
4
4
4
4
4
3
4
1
Long subroutine call
Return from subroutine
22
RETI
Return from interrupt
32
AJMP addr11
LJMP addr16
SJMP rel
Absolute jump
xxx01
02
Long jump
Short jump (relative address)
Jump indirect relative to the DPTR
Jump if accumulator is zero
Jump if accumulator is not zero
Jump if carry flag is set
80
JMP @A+DPTR
JZ rel
73
60
JNZ rel
70
JC rel
40
JNC
Jump if carry flag is not set
Jump if direct bit is set
50
JB bit,rel
20
JNB bit,rel
Jump if direct bit is not set
Jump if direct bit is set and clear bit
Compare direct byte to A and jump if not equal
Compare immediate to A and jump if not equal
Compare immediate to reg. and jump if not equal
Compare immediate to indirect and jump if not equal
Decrement register and jump if not zero
Decrement direct byte and jump if not zero
No operation
30
JBC bit,direct rel
CJNE A,direct rel
CJNE A,#data rel
CJNE Rn,#data rel
CJNE @Ri,#data rel
DJNZ Rn,rel
DJNZ direct,rel
NOP
10
B5
B4
B8-BF
B6-B7
D8-DF
D5
00
Boolean variable operations
Clear carry flag
CLR C
C3
C2
D3
D2
B3
B2
82
B0
72
A0
A2
92
1
2
1
2
1
2
2
2
2
2
2
2
1
3
1
3
1
3
2
2
2
2
2
3
CLR bit
Clear direct bit
SETB C
SETB bit
CPL C
Set carry flag
Set direct bit
Complement carry flag
CPL bit
Complement direct bit
ANL C,bit
ANL C,/bit
ORL C,bit
ORL C,/bit
MOV C,bit
MOV bit,C
AND direct bit to carry flag
AND complement of direct bit to carry
OR direct bit to carry flag
OR complement of direct bit to carry
Move direct bit to carry flag
Move carry flag to direct bit
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 48 of 211