English
Language : 

UPSD3354DV-40U6 Datasheet, PDF (46/272 Pages) STMicroelectronics – fast 8032 MCU with programmable logic
8032 addressing modes
9
8032 addressing modes
UPSD33xx
The 8032 MCU uses 11 different addressing modes listed below:
● Register
● Direct
● Register Indirect
● Immediate
● External Direct
● External Indirect
● Indexed
● Relative
● Absolute
● Long
● Bit
t(s) 9.1
Register addressing
uc This mode uses the contents of one of the registers R0 - R7 (selected by the last three bits
rod in the instruction opcode) as the operand source or destination. This mode is very efficient
since an additional instruction byte is not needed to identify the operand. For example:
te P MOV A, R7
; Move contents of R7 to accumulator
bsole 9.2
Direct addressing
- O This mode uses an 8-bit address, which is contained in the second byte of the instruction, to
) directly address an operand which resides in either 8032 DATA SRAM (internal address
t(s range 00h-07Fh) or resides in 8032 SFR (internal address range 80h-FFh). This mode is
quite fast since the range limit is 256 bytes of internal 8032 SRAM. For example:
roduc MOV A, 40h
; Move contents of DATA SRAM
; at location 40h into the accumulator
lete P 9.3
Register indirect addressing
so This mode uses an 8-bit address contained in either register R0 or R1 to indirectly address
b an operand which resides in 8032 IDATA SRAM (internal address range 80h-FFh). Although
O 8032 SFR registers also occupy the same physical address range as IDATA, SFRs will not
be accessed by register Indirect mode. SFRs may only be accesses using Direct address
mode. For example:
46/272
Doc ID 9685 Rev 7