EasyManuals Logo

ZiLOG Z8 Series User Manual

ZiLOG Z8 Series
261 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #189 background imageLoading...
Page #189 background image
Z8
®
CPU
User Manual
UM001604-0108 Instruction Description
182
Halt
Syntax
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.
In order to enter HALT mode, it is necessary to first flush the instruction pipeline to avoid
suspending execution in mid-instruction. You must execute a NOP immediately before the
execution of the HALT instruction.
Example
Assuming the Z8
®
CPU is in normal operation, the statements:
NOP
HALT
Op Codes: FF 7F
place the Z8 CPU into HALT mode.
Cycles
OPC
(Hex)
OPC 6 7F
Flag Description
C Unaffected
Z Unaffected
S Unaffected
V Unaffected
D Unaffected
H Unaffected
Note:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG Z8 Series and is the answer not in the manual?

ZiLOG Z8 Series Specifications

General IconGeneral
BrandZiLOG
ModelZ8 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals