Table of Contents

Advertisement

Instruction Format:
HALT
Operation:
The HALT instruction turns off the internal CPU clock, but not the XTAL oscillation. The peripherals and
interrupt logic remain active. Operation can be restarted by an interrupt or a reset.
Flags:
When the instruction is executed, the flags are set as follows
C:
The value set by the preceding instruction.
Z:
The value set by the preceding instruction.
S:
The value set by the preceding instruction.
V:
The value set by the preceding instruction.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
Example: Assuming the Z8 is in normal operation, the following statements place the Z8 into HALT mode.
HALT
Op Codes: 7F
NOTE: Unlike the Z8, the Z8
OPC
P
LUS
does not require a NOP before the HALT instruction.
OPC (Hex)
7F
.75
P
Â
HALT
Halt

Advertisement

Table of Contents
loading

Table of Contents