9023: Routine at 9023
|
9023 |
LD E,A |
|
9024 |
CP $02 |
|
9026 |
JR Z,$902E |
|
9028 |
LD A,(IX+$01) |
|
902B |
AND A |
|
902C |
JR NZ,main_loop_23_2 |
|
902E |
PUSH IX |
|
9030 |
PUSH HL |
|
9031 |
PUSH BC |
|
9032 |
LD A,E |
|
9033 |
ADD A,A |
|
9034 |
ADD A,A |
|
9035 |
ADD A,A |
|
9036 |
SUB E |
|
9037 |
LD E,A |
|
9038 |
LD D,$00 |
|
903A |
LD HL,$904B |
|
903D |
PUSH HL |
|
903E |
LD HL,($5CFE) |
|
9041 |
ADD HL,DE |
|
9042 |
LD E,(HL) |
|
9043 |
INC HL |
|
9044 |
LD D,(HL) |
|
9045 |
INC HL |
|
9046 |
LD A,(HL) |
|
9047 |
INC HL |
|
9048 |
LD H,(HL) |
|
9049 |
LD L,A |
|
904A |
JP (HL) |
return_904B |
904B |
POP BC |
|
904C |
POP HL |
|
904D |
POP IX |
|
904F |
JP main_loop_23_2 |