Prev: 42383 Up: Map Next: 42465
42418: Routine at A5B2
Used by the routine at 42129.
42418 BIT 7,(HL) Test bit 7 of *HL.
42420 LD A,255 A=255.
42422 PUSH HL Stash HL on the stack.
42423 JR NZ,42426 Jump to 42426 if DE is not equal to 255.
42425 XOR A A=0.
42426 LD HL,31488 HL=31488.
42429 LD DE,31489 DE=31488+1.
42432 LD (HL),A Write A to *HL.
42433 LD BC,120 BC=0120.
42436 LDIR LDIR.
42438 LD DE,31488 DE=31488.
42441 LD A,(39698) A=*39698.
42444 LD L,A L=A.
42445 ADD A,A A+=A.
42446 ADD A,L A+=L.
42447 LD L,A L=A.
42448 LD H,0 H=0.
42450 ADD HL,DE HL+=DE.
42451 EX DE,HL Exchange the DE and HL registers.
42452 POP HL Restore HL from the stack.
42453 LD A,16 A=16.
42455 LDI LDI.
42457 LDI LDI.
42459 LDI LDI.
42461 DEC A Decrease A by one.
42462 JR NZ,42455 Jump to 42455 if A is not equal to 16.
42464 RET Return.
Prev: 42383 Up: Map Next: 42465