beautypg.com

Res b, r, Operation, Description – Zilog EZ80F916 User Manual

Page 300: Condition bits affected, Attributes

background image

eZ80

®

CPU

User Manual

UM007715-0415

CPU Instruction Set

291

RES b, r

Reset Bit

Operation

r

[b]  0

Description

The r operand is any of the 8-bit CPU registers A, B, C, D, E, H, or L. Bit b of the speci-

fied register r is reset to 0.

Condition Bits Affected

None.

Attributes

jj

= binary code

10 bbb rrr

, and

kk

= binary code

10 bbb 110

; 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 82

.

Mnemonic Operand

ADL Mode Cycle

Opcode (hex)

RES

b

,r

X

2

CB, jj

Table 82. Register,

bbb

, and

rrr

Opcodes for RES b, r Instruction (hex)

Bit

Tested

bbb

Register rrr

0

000

A

111

1

001

B

000

2

010

C

001

3

011

D

010

4

100

E

011

5

101

H

100

6

110

L

101

7

111

This manual is related to the following products: