beautypg.com

Exall exchange all registers with alternate bank – Zilog Z80380 User Manual

Page 90

background image

5-56

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

EXALL
EXCHANGE ALL REGISTERS WITH ALTERNATE BANK

EXALL

Operation:

SR(24)

NOT SR(24)

SR(16)

NOT SR(16)

SR(8)

NOT SR(8)

Bits 8, 16, and 24 of the Select Register (SR), which control the selection of primary or
alternate bank for the BC, DE, HL, IX, and IY registers, are complemented, thus effectively
exchanging the BC, DE, HL, IX, and IY 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

EXALL

11101101 11011001

3