ZiLOG Z8 Series User Manual page 174

Table of Contents

Advertisement

Clear
Syntax
CLR dst
Instruction Format
OPC
Operation
dst ← 0
The destination operand is cleared to
Flag
C
Z
S
V
D
H
Note:
Address modes R or IR can be used to specify a 4-bit Working Register. In this format, the
destination Working Register operand is specified by adding
of the operand. For example, if Working Register R12 (CH) is the destination operand, then
is used as the destination operand in the Op Code.
ECh
E
Example
If Working Register R6 contains AFh, the statement:
CLR R6
Op Code: B0 E6
leaves the value
If Register
ment:
CLR @A5h
Op Code: B1 A5
leaves the value
UM001604-0108
Cycles
6
dst
6
Description
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
dst
in Working Register R6.
00h
contains the value
A5h
in Register
00h
OPC
Address
(Hex)
dst
B0
R
B1
IR
.
00h
, and Register
23h
23h
.
23h
Z8
User Manual
(
) to the high nibble
1110b
Eh
contains the value
, the state-
FCh
Instruction Description
®
CPU
167

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Z8 cpu

Table of Contents