Z8 Microcontrollers
ZiLOG Instruction Descriptions and Formats
UM001601-0803 12-31
HALT
HALT
HALT
Halt
HALT
Instruction Format:
Operation:
The HALT instruction turns off the internal CPU clock, but not the XTAL oscillation. The counter/timers and the
external interrupts IRQ1, IRQ2, and IRQ3 remain active. The devices are recovered by interrupts, either externally
or internally generated.
Note:
In order to enter HALT mode, it is necessary to first flush the instruction pipeline to avoid suspending execution in
mid-instruction. The user must execute a NOP immediately before the execution of the HALT instruction.
Example:
Assuming the Z8 is in normal operation, the statements:
NOP
HALT
Op Codes: FF 7F
place the Z8 into HALT mode.
Flags: C: Unaffected
Z: Unaffected
S: Unaffected
V: Unaffected
D: Unaffected
H: Unaffected