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

Page 243

Advertising
background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

231

SRA m

Operation

Op Code

SRA

Operand

m

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

CY

0

7

m

0

0

0

1

0

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

SRA r*

SRA (HL)

SRA (IX+d)

SRA (IY+d)

d

d

0

0

0

1

0

1

1

1

2E

0

0

0

1

0

1

1

1

2E

0

0

0

1

0

1

1

1

2E

Advertising
This manual is related to the following products: