English
Language : 

EZ80F91MCU Datasheet, PDF (320/396 Pages) Zilog, Inc. – eZ80Acclaim-TM Flash Microcontrollers
eZ80F91 MCU
Product Specification
301
Table 192. 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 AF
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
06
Read SP
86
Write SP
In ADL mode, SP = SPL.
In ADL mode, SP = SPL.
In Z80 mode, SP = SPS.
In Z80 mode, SP = SPS.
07
Read PC
87
Write PC
ZDI_RD_U ← PC[23:16]
PC[23:16] ← ZDI_WR_U
ZDI_RD_H ← PC[15:8]
PC[15:8] ← ZDI_WR_H
ZDI_RD_L ← PC[7:0]
PC[7:0] ← ZDI_WR_L
08
Set ADL
ADL ← 1
88
Reserved
Note: *The 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
CPU register set.
PS019209-0504
PRELIMINARY
ZiLOG Debug Interface