(IX+d)b <- 1
SET
b,(IX+d)
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
---|---|---|---|---|---|---|---|---|
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | $DD |
1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | $CB |
d | ||||||||
1 | 1 | b | 1 | 1 | 0 |
Bit b in the memory location addressed by the sum of the contents of the IX register pair and the two's complement integer d is set. In the assembled object code, operand b is specified as follows:
Bit Tested | b | Hex |
---|---|---|
0 | 000 | $C6 |
1 | 001 | $CE |
2 | 010 | $D6 |
3 | 011 | $DE |
4 | 100 | $E6 |
5 | 101 | $EE |
6 | 110 | $F6 |
7 | 111 | $FE |
None
If the index register contains $2000, then upon the execution of
SET 0,(IX+$3)
bit 0 in memory location 2003h is 1. Bit 0 in memory location $2003 is the least-significant bit.