Prev: 6563 Up: Map Next: 659C
6564: Routine at 6564
Used by the routines at 659C and 6650.
6564 ADD A,A
6565 ADD A,A
6566 LD C,A
6567 EXX
6568 LD BC,$05FF
656B LD DE,$7800
656E EXX
656F LD A,(DE)
6570 INC D
6571 RRCA
6572 RRCA
6573 RRCA
6574 LD L,A
6575 AND $1F
6577 ADD A,$80
6579 LD H,A
657A LD A,L
657B AND $E0
657D ADD A,C
657E LD L,A
657F PUSH HL
6580 EXX
6581 POP HL
6582 LDI
6584 LDI
6586 LDI
6588 LDI
658A DJNZ $656E
658C LD A,(DE)
658D INC A
658E LD (DE),A
658F INC E
6590 LD A,(DE)
6591 EXX
6592 ADD A,B
6593 EXX
6594 LD (DE),A
6595 LD E,$02
6597 LD B,$10
6599 EXX
659A RET
659B NOP
Prev: 6563 Up: Map Next: 659C