beautypg.com

Set b, r – Zilog Z08470 User Manual

Page 261

background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

249

SET b, r

Operation

rb ← 1

Op Code

SET

Operands

b, r

Description

Bit b in register r (any of registers B, C, D, E, H, L, or A) is set. In the assembled object
code, operands b and r are specified as follows:

Condition Bits Affected

None.

Bit

b Register r

0

000

B 000

1

001

C 001

2

010

D

010

3

011

E 011

4

100

H 100

5

101

L 101

6

110

A 111

7

111

M Cycles

T States

4 MHz E.T.

2

8 (4, 4)

2.00

1

1

b

r

1

1

0

1

1

0

0

1

CB

This manual is related to the following products: