EasyManuals Logo
Home>ZiLOG>Computer Hardware>eZ80

ZiLOG eZ80 User Manual

Default Icon
411 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 #119 background imageLoading...
Page #119 background image
eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
110
Bit b, r
Bit Test
Operation
Z
~
r
[
b
]
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
Attributes
jj = binary code 01 bbb rrr; where rrr identifies the A, B, C, D, E, H, or L register and
bbb identifies the bit tested and assembled into the object code, as indicated in Table 46.
S Undefined.
Z Set if bit b is 0; reset otherwise.
H Set.
P/V Undefined.
N Reset.
C Not affected.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
BIT b,r X2CB, jj

Questions and Answers:

Question and Answer IconNeed help?

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

ZiLOG eZ80 Specifications

General IconGeneral
BrandZiLOG
ModeleZ80
CategoryComputer Hardware
LanguageEnglish

Related product manuals