beautypg.com

Ld[w] load i register (word) – Zilog Z80380 User Manual

Page 126

background image

5-92

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

LD[W]
LOAD I REGISTER (WORD)

LD[W] dst,src

dst = HL
src = I
OR
dst = I
src = HL

Operation:

if (LW) then begin

dst(31-0)

src(31-0)

end

else begin

dst(15-0)

src(15-0)

end

The contents of the source are loaded into the destination

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Load from I Register
Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

R:

LD[W] HL,I

11011101 01010111

2

L

Load into I Register
Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

R:

LD[W] I,HL

11011101 01000111

2

L