beautypg.com

Zilog Z80380 User Manual

Page 87

background image

5-53

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

EX

EXCHANGE REGISTER WITH ALTERNATE REGISTER (BYTE)

EX dst,src

src = R

Operation:

dst

src

The contents of the destination are exchanged with the contents of the source, where the
destination is a register in the primary bank and the source is the corresponding register in
the alternate bank

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

R:

EX R,R’

11001011 00110-r-

3

Field Encoding:

r:

per convention