beautypg.com

Exx exchange registers with alternate bank – Zilog Z80380 User Manual

Page 93

background image

5-59

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

EXX

EXCHANGE REGISTERS WITH ALTERNATE BANK

EXX

Operation:

SR(8)

NOT SR(8)

Bit 8 of the Select Register (SR), which controls the selection of primary or alternate bank
for the BC, DE, and HL registers, is complemented, thus effectively exchanging the BC, DE,
and HL registers between the two banks.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

EXX

11011001

3