Make your own free website on Tripod.com

BIT b,(IX + d)

Test bit b of indexed addressed memory location (IX + d).
Function: Z <- _(IX+d)b
 
Format:
 

 
Description: The specified bit of the memory location addressed by the contents of the IX register plus the given offset value is tested and the Z flag is set according to the result. b may be any one of:
0
000
1
001
2
010
3
011
4
100
5
101
6
110
7
111

 
Data Flow:
 
Timing:
 
Addressing Mode:
 
Byte Codes:
 
Flags:
 
Example:

OBJECT CODE
Before:
 
After: