ZiLOG eZ80 User Manual page 119

Hide thumbs Also See for eZ80:
Table of Contents

Advertisement

Bit b, r
Bit Test
Operation
Z
~
r
Description
The r operand is any of the 8-bit CPU registers A, B, C, D, E, H, or L. This instruction
tests bit b in the specified register and sets the 0 Flag (Z) if the bit is 0. The Z Flag is reset
if bit b of register r is a one.
Condition Bits Affected
S
Z
H
P/V
N
C
Attributes
Mnemonic
BIT
= binary code
jj
identifies the bit tested and assembled into the object code, as indicated in
bbb
UM007714-0908
[
b
]
Undefined.
Set if bit b is 0; reset otherwise.
Set.
Undefined.
Reset.
Not affected.
Operand
ADL Mode
X
b,r
; where
01 bbb rrr
Cycle
Opcode (hex)
2
CB, jj
identifies the A, B, C, D, E, H, or L register and
rrr
®
eZ80
CPU
User Manual
110
Table
46.
CPU Instruction Set

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents