Addressing Modes - NEC PD754144 User Manual

4-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 3 FEATURES OF ARCHITECTURE AND MEMORY MAP
Addressing Mode
4-bit direct addressing
8-bit direct addressing
4-bit register indirect
addressing
8-bit register indirect
addressing
Bit manipulation
addressing
Stack addressing
36
Table 3-1. Addressing Modes
Representation
• When MBE = 0
When mem = 00H to 7FH: MB = 0
When mem = 80H to FFH: MB = 15
• When MBE = 1:
mem
Address specified by MB and mem.
• When MBE = 0
When mem = 00H to 7FH: MB = 0
When mem = 80H to FFH: MB = 15
• When MBE = 1:
Address specified by MB and mem (mem is even address)
• When MBE = 0
When mem = 00H to 7FH: MB = 0
When mem = 80H to FFH: MB = 15
• When MBE = 1:
@HL
Address specified by MB and HL.
Where, MB = MBE MBS
@HL+
Address specified by MB and HL. However, MB = MBE MBS.
@HL–
HL+ automatically increments L register after addressing.
HL– automatically decrements L register after addressing.
@DE
Address specified by DE in memory bank 0
@DL
Address specified by DL in memory bank 0
@HL
Address specified by MB and HL (contents of L register are even
number)
Where, MB = MBE MBS
fmem.bit
Bit specified by bit at address specified by fmem
fmem = FB0H to FBFH (interrupt-related hardware)
pmem.@L
Bit specified by lower 2 bits of L register at address specified by
higher 10 bits of pmem and lower 2 bits of L register.
Where, pmem = FC0H to FFFH
@H+mem.bit
Bit specified by bit at address specified by MB, H, and lower 4 bits
of mem.
Where, MB = MBE MBS
Address specified by SP in memory bank 0
User's Manual U10676EJ3V0UM
Specified Address
MB = MBS
MB = MBS
MB = MBS
.
.
FF0H to FFFH (I/O port)
.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents