Prev: 60E8 Up: Map Next: 6109
60F6: Routine at 60F6
Used by the routines at 6114, Handler_Flak, 6A24, 6ADA, 6BE7, 6D09, 6DD0, 6E89, 709D, 70CD, 7125 and 739D.
60F6 PUSH HL Stash HL on the stack.
60F7 LD A,L A=MSB of HL.
60F8 LD L,H Moves the LSB to the MSB of HL and writes 00 to the LSB.
60F9 LD H,$00
60FB ADD HL,HL HL * 05.
60FC ADD HL,HL
60FD ADD HL,HL
60FE ADD HL,HL
60FF ADD HL,HL
6100 OR L OR ... TODO and store the result in L.
6101 LD L,A
6102 LD DE,$5800 DE=5800
6105 ADD HL,DE Store the result in DE.
6106 EX DE,HL
6107 POP HL Retrieve HL from the stack.
6108 RET Return.
Prev: 60E8 Up: Map Next: 6109