English
Language : 

UPSD3422_06 Datasheet, PDF (45/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
uPSD34xx instruction set summary
Table 9. Boolean variable manipulation instruction set
Mnemonic(1) and Use
Description
CLR
C
CLR
bit
SETB
C
Clear carry
Clear direct bit
Set carry
SETB
CPL
CPL
ANL
bit
C
bit
C, bit
Set direct bit
Compliment carry
Compliment direct bit
AND direct bit to carry
ANL
ORL
ORL
MOV
C, /bit
C, bit
C, /bit
C, bit
AND compliment of direct bit to carry
OR direct bit to carry
OR compliment of direct bit to carry
Move direct bit to carry
MOV
JC
JNC
JB
JNB
bit, C
rel
rel
rel
rel
Move carry to direct bit
Jump if carry is set
Jump if carry is not set
Jump if direct bit is set
Jump if direct bit is not set
JBC
bit, rel
Jump if direct bit is set and clear bit
Length/Cycles
1 byte/1 cycle
2 byte/1 cycle
1 byte/1 cycle
2 byte/1 cycle
1 byte/1 cycle
2 byte/1 cycle
2 byte/2 cycle
2 byte/2 cycle
2 byte/2 cycle
2 byte/2 cycle
2 byte/1 cycle
2 byte/2 cycle
2 byte/2 cycle
2 byte/2 cycle
3 byte/2 cycle
3 byte/2 cycle
3 byte/2 cycle
Note: 1 All mnemonics copyrighted ©Intel Corporation 1980.
Table 10. Program branching instruction set
Mnemonic(1) and Use
Description
Length/Cycles
Program Branching Instructions
ACALL
addr11
Absolute subroutine call
2 byte/2 cycle
LCALL
addr16
Long subroutine call
3 byte/2 cycle
RET
Return from subroutine
1 byte/2 cycle
RETI
Return from interrupt
1 byte/2 cycle
AJMP
addr11
Absolute jump
2 byte/2 cycle
LJMP
addr16
Long jump
3 byte/2 cycle
SJMP
rel
Short jump (relative addr)
2 byte/2 cycle
JMP
@A+DPTR Jump indirect relative to the DPTR
1 byte/2 cycle
JZ
rel
Jump if ACC is zero
2 byte/2 cycle
JNZ
rel
Jump if ACC is not zero
2 byte/2 cycle
CJNE
A, direct, rel Compare direct byte to ACC, jump if not equal
3 byte/2 cycle
CJNE
A, #data, rel Compare immediate to ACC, jump if not equal
3 byte/2 cycle
CJNE
Rn, #data, rel Compare immediate to register, jump if not equal 3 byte/2 cycle
45/293