Download Print this page

ZiLOG Z80380 User Manual page 64

Advertisement

Z
ILOG
BTEST
BANK TEST
BTEST
← SR(16)
Operation:
S
← SR(24)
Z
← SR(0)
V
← SR(8)
C
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.
S:
Set if the alternate bank IX is in use; cleared otherwise
Flags:
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
Mode
Syntax
BTEST
5-30
Instruction Format
11101101 11001111
Execute
Time
Note
2
DC-8297-03
Z380
U
'
M
SER
S
ANUAL

Advertisement

loading
Need help?

Need help?

Do you have a question about the Z80380 and is the answer not in the manual?