![]() |
Routines |
| Prev: D6A0 | Up: Map | Next: D6BB |
|
|
||||
| shift_tbl_entry | D6A7 | SLA E | one more place left across D and E: after k shifts E is the value shifted right 8 - k, and D what spills out of it | |
| D6A9 | RL D | |||
| D6AB | LD A,E | E complemented on this page | ||
| D6AC | CPL | |||
| D6AD | LD (HL),A | |||
| D6AE | DEC H | D complemented on the page below | ||
| D6AF | LD A,D | |||
| D6B0 | CPL | |||
| D6B1 | LD (HL),A | |||
| D6B2 | DEC H | |||
| D6B3 | DJNZ shift_tbl_entry | |||
| D6B5 | INC L | the next value | ||
| D6B6 | JR NZ,shift_tbl_value | |||
| D6B8 | LD HL,reverse_bits_tbl | from here up: reverse_bits(n) for n = 0 to 255 | ||
| Prev: D6A0 | Up: Map | Next: D6BB |