|
EZ80L92MCU Datasheet, PDF (189/241 Pages) Zilog, Inc. – eZ80Acclaim Flash Microcontrollers | |||
|
◁ |
eZ80L92 MCU
Product Specification
174
ZDI Read/Write Control Register
The ZDI Read/Write Control register is used in the ZDI Write-Only Register address to
read data from, write data to, and manipulate the CPUâs registers or memory locations.
When this register is written, the eZ80L92 immediately performs the operation corre-
sponding to the data value written as described in Table 96. When a Read operation is exe-
cuted via this register, the requested data values are placed in the ZDI Read Data registers
{ZDI_RD_U, ZDI_RD_H, ZDI_RD_L}. When a Write operation is executed via this reg-
ister, the Write data is taken from the ZDI Write Data registers {ZDI_WR_U,
ZDI_WR_H, ZDI_WR_L}. See Table 96. Refer to the eZ80 CPU User Manual (UM0077)
for information regarding the CPU registers.
Table 96. ZDI Read/Write Control Register Functions (ZDI_RW_CTL = 16h in the ZDI
Register Write-Only Address Space)
Hex
Value
Command
Hex
Value
Command
00
Read {MBASE, A, F}
80
Write {MBASE, A, F}
ZDI_RD_U â MBASE
MBASE â ZDI_WR_U
ZDI_RD_H â F
F â ZDI_WR_H
ZDI_RD_L â A
A â ZDI_WR_L
01
Read BC
ZDI_RD_U â BCU
ZDI_RD_H â B
ZDI_RD_L â C
81
Write BC
BCU â ZDI_WR_U
B â ZDI_WR_H
C â ZDI_WR_L
02
Read DE
ZDI_RD_U â DEU
ZDI_RD_H â D
ZDI_RD_L â E
82
Write DE
DEU â ZDI_WR_U
D â ZDI_WR_H
E â ZDI_WR_L
03
Read HL
ZDI_RD_U â HLU
ZDI_RD_H â H
ZDI_RD_L â L
83
Write HL
HLU â ZDI_WR_U
H â ZDI_WR_H
L â ZDI_WR_L
04
Read IX
ZDI_RD_U â IXU
ZDI_RD_H â IXH
ZDI_RD_L â IXL
84
Write IX
IXU â ZDI_WR_U
IXH â ZDI_WR_H
IXL â ZDI_WR_L
05
Read IY
ZDI_RD_U â IYU
ZDI_RD_H â IYH
ZDI_RD_L â IYL
85
Write IY
IYU â ZDI_WR_U
IYH â ZDI_WR_H
IYL â ZDI_WR_L
Note: The eZ80® CPUâs alternate register set (Aâ, Fâ, Bâ, Câ, Dâ, Eâ, HLâ) cannot be read directly. The
ZDI programmer must execute the exchange instruction (EXX) to gain access to the alternate
eZ80® CPU register set.
PS013012-1004
PRELIMINARY
ZiLOG Debug Interface
|
▷ |