English
Language : 

EZ-USB Datasheet, PDF (288/334 Pages) Cypress Semiconductor – The EZ-USB USB Integrated Circuit
Table B-2. 8051 Instruction Set
Mnemonic
Description
Byte
Instr.
Cycles
Hex
Code
XCH A, @Ri
Exchange A and data memory
1
1
C6-C7
XCHD A, @Ri
Exchange A and data memory nibble
1
1
D6-D7
* Number of cycles is user-selectable. See “Stretch Memory Cycles (Wait States)” on page B-10.
Boolean
CLR C
CLR bit
SETB C
SETB bit
CPL C
CPL bit
ANL C, bit
ANL C, /bit
ORL C, bit
ORL C, /bit
MOV C, bit
MOV bit, C
Clear carry
Clear direct bit
Set carry
Set direct bit
Complement carry
Complement direct bit
AND direct bit to carry
AND direct bit inverse to carry
OR direct bit to carry
OR direct bit inverse to carry
Move direct bit to carry
Move carry to direct bit
1
1
C3
2
2
C2
1
1
D3
2
2
D2
1
1
B3
2
2
B2
2
2
82
2
2
B0
2
2
72
2
2
A0
2
2
A2
2
2
92
ACALL addr 11
LCALL addr 16
RET
RETI
AJMP addr 11
LJMP addr 16
SJMP rel
JC rel
JNC rel
JB bit, rel
Branching
Absolute call to subroutine
Long call to subroutine
Return from subroutine
Return from interrupt
Absolute jump unconditional
Long jump unconditional
Short jump (relative address)
Jump on carry = 1
Jump on carry = 0
Jump on direct bit = 1
2
3
11-F1
3
4
12
1
4
22
1
4
32
2
3
01-E1
3
4
02
2
3
80
2
3
40
2
3
50
3
4
20
B-8
Appendix B: 8051 Architectural Overview
EZ-USB TRM v1.9