beautypg.com

Srl m, Operation op code, Operand – Zilog Z08470 User Manual

Page 246

background image

Z80 Instruction Set

UM008007-0715

234

Z80 CPU
User Manual

SRL m

Operation

Op Code

SRL

Operand

m

The operand m is any of r, (HL), (IX+d), or (lY+d), as defined for the analogous RLC
instructions. In the assembled object code, the possible op code/operand combinations are
specified as follows:

CY

0

7

m

0

0

0

1

1

1

r*

1

1

0

1

1

0

0

1

CB

1

1

0

1

1

0

0

1

CB

1

1

1

0

1

1

0

1

DD

1

1

0

1

1

0

0

1

CB

1

1

1

0

1

1

1

1

FD

1

1

0

1

1

0

0

1

CB

SRL r*

SRL (HL)

SRL (IX+d)

SRL (IY+d)

d

d

0

0

1

1

0

1

1

1

3E

0

0

1

1

0

1

1

1

3E

0

0

1

1

0

1

1

1

3E

This manual is related to the following products: