Routines |
Prev: B81C | Up: Map | Next: B8AD |
Used by the routine at B81C.
|
||||
B873 | LD L,(IX+$00) | |||
B876 | LD H,(IX+$01) | |||
B879 | LD A,H | |||
B87A | OR L | |||
B87B | RET Z | |||
B87C | LD A,(HL) | |||
B87D | INC HL | |||
B87E | LD H,(HL) | |||
B87F | LD L,A | |||
B880 | LD A,H | |||
B881 | RLCA | |||
B882 | RLCA | |||
B883 | RLCA | |||
B884 | AND %11111000 | Keep only bits 3-7. | ||
B886 | LD H,A | |||
B887 | LD A,E | |||
B888 | SUB (IX+$02) | |||
B88B | JP P,$B8A7 | |||
B88E | CPL | |||
B88F | CP C | |||
B890 | JR NC,$B89D | |||
B892 | LD A,D | |||
B893 | SUB L | |||
B894 | SUB (IX+$03) | |||
B897 | JP P,$B8AA | |||
B89A | CPL | |||
B89B | CP L | |||
B89C | RET C | |||
B89D | INC IX | |||
B89F | INC IX | |||
B8A1 | INC IX | |||
B8A3 | INC IX | |||
B8A5 | JR $B873 | |||
B8A7 | CP H | |||
B8A8 | JR $B890 | |||
B8AA | CP B | |||
B8AB | JR $B89C |
Prev: B81C | Up: Map | Next: B8AD |