beautypg.com

Ld load immediate (byte) – Zilog Z80380 User Manual

Page 117

background image

5-83

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

LD

LOAD IMMEDIATE (BYTE)

LD dst,n

dst = R, RX, IR, X

Operation:

dst

n

The byte of immediate data is loaded into the destination.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

R:

LD R,n

00-r-110 ——n—

2

RX:

LD RX,n

11y11101 0010w110 ——n—

2

IR:

LD (HL),n

00110110 ——n—

3+w

X:

LD (XY+d),n

11y11101 00110110 ——d— ——n—

5+w

I

Field Encodings:

r:

per convention

y:

0 for IX, 1 for IY

w: 0 for high byte, 1 for low byte