English
Language : 

Z8F0113HJ005EG Datasheet, PDF (181/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F0823 Series
Product Specification
166
Stuff Instruction (11H). The Stuff command steps one assembly instruction and allows
specification of the first byte of the instruction. The remaining 0–4 bytes of the instruction
are read from Program Memory. This command is useful for stepping over instructions
where the first byte of the instruction has been overwritten by a Breakpoint. If the device
is not in DEBUG Mode or the Flash Read Protect Option bit is enabled, the OCD ignores
this command.
DBG ← 11H
DBG ← opcode[7:0]
Execute Instruction (12H). The Execute command allows sending an entire instruction to
be executed to the eZ8 CPU. This command can also step over breakpoints. The number
of bytes to send for the instruction depends on the opcode. If the device is not in DEBUG
Mode or the Flash Read Protect Option bit is enabled, this command reads and discards
one byte.
DBG ← 12H
DBG ← 1–5 byte opcode
On-Chip Debugger Control Register Definitions
This section describes the features of the On-Chip Debugger Control and Status registers.
OCD Control Register
The OCD Control Register controls the state of the OCD. This register is used to enter or
exit DEBUG Mode and to enable the BRK instruction. It also resets Z8 Encore! XP F0823
Series device.
A reset and stop function can be achieved by writing 81H to this register. A reset and go
function can be achieved by writing 41H to this register. If the device is in DEBUG Mode,
a run function can be implemented by writing 40H to this register.
PS024315-1011
PRELIMINARY
On-Chip Debugger Control Register