
22
μ
PD75517(A)
2.3 MEMORY-MAPPED I/O
The
μ
PD75517(A) employs memory-mapped I/O, which maps peripheral hardware such as timers and I/O
ports to addresses F80H to FFFH in the data memory space as shown in Fig. 2-1. This means that there is no
particular instruction to control peripheral hardware, but all peripheral hardware is controlled using memory
manipulation instructions. (Some mnemonics for hardware control are available to make programs readable.)
To manipulate peripheral hardware, the addressing modes listed in Table 2-3 can be used.
Table 2-3 Addressing Modes Applicable to Peripheral Hardware
Fig. 2-5 summarizes the I/O map of the
μ
PD75517(A).
The items in Fig. 2-5 have the following meanings:
Symbol:
Name representing the address of incorporated hardware, which can be coded in the operand
field of an instruction
Indicates whether the hardware allows read/write operation.
R/W: Both read and write operations possible
R
: Read only
W
: Write only
Number of manipulatable bits:
Indicates the number of bits that can be processed in hardware manipulation
: Bits can be manipulated on an indicated bit (1-, 4-, or 8-bit) basis.
: Particular bits can be manipulated. For these bits, see Remarks.
: Bits cannot be manipulated on an indicated bit (1-, 4-, or 8-bit) basis.
Bit manipulation addressing:
Bit manipulation addressing applicable in hardware bit manipulation
R/W
:
Bit manipulation
4-bit manipulation
8-bit manipulation
Direct addressing mode specifying mem.bit with MBE = 0 or
(MBE = 1, MBS = 15)
Direct addressing mode specifying fmem.bit regardless of MBE
and MBS setting
Indirect addressing mode specifying pmem.@L regardless of
MBE and MBS setting
Direct addressing mode specifying mem with MBE = 0 or (MBE
= 1, MBS = 15)
Register indirect addressing mode specifying @HL with (MBE
= 1, MBS = 15)
Direct addressing mode specifying mem (even address) with
MBE = 0 or (MBE = 1, MBS = 15)
Register indirect addressing mode specifying @HL (with the L
register containing an even number) with (MBE = 1, MBS = 15)
All hardware allowing bit
manipulation
IST0, IST1, MBE, RBE, EOT,
IE
×××
, IRQ
×××
, PORTn.
×
BSBn.
×
PORTn.
×
All hardware allowing 4-bit
manipulation
All hardware allowing 8-bit
manipulation addressing
Applicable addressing mode
Applicable hardware
–