English
Language : 

UPSD33XX Datasheet, PDF (36/231 Pages) STMicroelectronics – Fast 8032 MCU with Programmable Logic
uPSD33xx
Table 10. Program Branching Instruction Set
Mnemonic(1)
and Use
Description
ACALL
addr11
Absolute subroutine call
LCALL
addr16
Long subroutine call
RET
Return from subroutine
RETI
Return from interrupt
AJMP
addr11
Absolute jump
LJMP
addr16
Long jump
SJMP
rel
Short jump (relative addr)
JMP
@A+DPTR
Jump indirect relative to the DPTR
JZ
rel
Jump if ACC is zero
JNZ
rel
Jump if ACC is not zero
CJNE
A, direct, rel
Compare direct byte to ACC, jump if not equal
CJNE
A, #data, rel
Compare immediate to ACC, jump if not equal
CJNE
Rn, #data, rel
Compare immediate to register, jump if not equal
CJNE
@Ri, #data, rel
Compare immediate to indirect, jump if not equal
DJNZ
Rn, rel
Decrement register and jump if not zero
DJNZ
direct, rel
Decrement direct byte and jump if not zero
Note: 1. All mnemonics copyrighted ©Intel Corporation 1980.
Length/Cycles
2 byte/2 cycle
3 byte/2 cycle
1 byte/2 cycle
1 byte/2 cycle
2 byte/2 cycle
3 byte/2 cycle
2 byte/2 cycle
1 byte/2 cycle
2 byte/2 cycle
2 byte/2 cycle
3 byte/2 cycle
3 byte/2 cycle
3 byte/2 cycle
3 byte/2 cycle
2 byte/2 cycle
3 byte/2 cycle
Table 11. Miscellaneous Instruction Set
Mnemonic(1)
and Use
NOP
No Operation
Note: 1. All mnemonics copyrighted ©Intel Corporation 1980.
Description
Length/Cycles
1 byte/1 cycle
Table 12. Notes on Instruction Set and Addressing Modes
Rn Register R0 - R7 of the currently selected register bank.
direct 8-bit address for internal 8032 DATA SRAM (locations 00h - 7Fh) or SFR registers (locations 80h - FFh).
@Ri 8-bit internal 8032 SRAM (locations 00h - FFh) addressed indirectly through contents of R0 or R1.
#data 8-bit constant included within the instruction.
#data16 16-bit constant included within the instruction.
addr16 16-bit destination address used by LCALL and LJMP.
addr11 11-bit destination address used by ACALL and AJMP.
rel Signed (two-s compliment) 8-bit offset byte.
bit
Direct addressed bit in internal 8032 DATA SRAM (locations 20h to 2Fh) or in SFR registers (88h, 90h,
98h, A8h, B0, B8h, C0h, C8h, D0h, D8h, E0h, F0h).
36/231