beautypg.com

Btest bank test – Zilog Z80380 User Manual

Page 64

background image

5-30

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

BTEST
BANK TEST

BTEST

Operation:

S

SR(16)

Z

SR(24)

V

SR(0)

C

SR(8)

The Alternate Register bits in the Select Register (SR) are transferred to the flags. This allows
the program to determine the state of the machine.

Flags:

S:

Set if the alternate bank IX is in use; cleared otherwise

Z:

Set if the alternate bank IY is in use; cleared otherwise

H:

Unaffected

V:

Set if the alternate bank AF is in use; cleared otherwise

N:

Unaffected

C:

Set if the alternate bank of BC, DE and HL is in use; cleared otherwise

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

BTEST

11101101 11001111

2