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 #255 background imageLoading...
Page #255 background image
Z8
®
CPU
User Manual
UM001604-0108 Instruction Description
248
Watchdog Timer
Syntax
WDT
Instruction Format
Operation
The WDT is a retriggerable one shot timer that resets Z8
®
CPU if it reaches its terminal
count. The WDT is initially enabled by executing the WDT instruction. Each subsequent
execution of the WDT instruction refreshes the timer and prevents the WDT from timing
out.
The WDT instruction should not be used following any instruction in which the condition of
the Flags is important.
Example 1
If the WDT is enabled, the statement:
WDT
Op Code: .BYTE 5Fh
refreshes the Watchdog Timer.
Example 2
The first execution of the statement:
WDT
Op Code: .BYTE 5Fh
enables the Watchdog Timer.
Cycles
OPC
(Hex)
OPC 6 5F
Flag Description
Z Undefined
S Undefined
V Undefined
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