
18
μ
PD75238
Table 2-1 Addressing Modes
As summarized in Table 2-1, the
μ
PD75238 allows both direct and indirect addressing in data memory
manipulation for 1-bit data, 4-bit data, and 8-bit data, so that very efficient and simple programming can be
performed.
Bit specified by bit at the address specified by MB and mem. In this case:
When MBE = 0 and mem = 00H-7FH, MB = 0
When MBE = 0 and mem = 80H-FFH, MB = 15
When MBE = 1, MB = MBS
Address specified by MB and mem. In this case:
When MBE = 0 and mem = 00H-7FH, MB = 0
When MBE = 0 and mem = 80H-FFH, MB = 15
When MBE = 1, MB = MBS
Address specified by MB and mem (mem: even address). In this case:
When MBE = 0 and mem = 00H-7FH, MB = 0
When MBE = 0 and mem = 80H-FFH, MB = 15
When MBE = 1, MB = MBS
Address specified by MB and HL. In this case, MB = MBE MBS
Address specified by MB and HL. In this case, MB = MBE MBS.
HL+ automatically increments the L register after addressing.
HL- automatically decrements the L register after addressing.
Address specified by DE in memory bank 0
Address specified by DL in memory bank 0
Address specified by MB and HL.
In this case, MB = MBE MBS. Bit 0 of the L resister is ignored.
Bit specified by bit at the address specified by fmem. In this case:
fmem = FB0H-FBFH (interrupt-related hardware)
fmem = FF0H-FFFH (I/O port)
Bit specified by the low-order 2 bits of the L register at the address specified
by the high-order 10 bits of pmem and the high-order 2 bits of the L register.
In this case, pmem = FC0H-FFFH
Bit specified by bit at the address specified by MB, H, and the low-order 4 bits
of mem.
In this case, MB = MBE MBS
Address specified by SP in memory bank 0, 1, 2, and 3 selected by SBS
1-bit direct addressing
4-bit direct addressing
8-bit direct addressing
4-bit register indirect
addressing
8-bit register indirect
addressing
Bit manipulation
addressing
Stack addressing
mem.bit
mem
@HL
@HL+
@HL–
@DE
@DL
@HL
fmem.bit
pmem.@L
@H+mem.bit
–
Representation
format
Specified address
Addressing mode