beautypg.com

Ex exchange with accumulator – Zilog Z80380 User Manual

Page 89

background image

5-55

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

EX

EXCHANGE WITH ACCUMULATOR

EX A,src

src = R, IR

Operation:

dst

src

The contents of the accumulator are exchanged with the contents of the source.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

R:

EX A,R

11101101 00-r-111

3

IR:

EX A,(HL)

11101101 00110111

3+r+w

Field Encodings:

r: per convention