Prev: 45715 Up: Map Next: 45760
45732: Routine at B2A4
Used by the routine at 45576.
45732 PUSH BC Stash BC and DE on the stack.
45733 PUSH DE
45734 INC HL Increment HL by one.
45735 LD A,(HL) A=*HL.
45736 XOR %00000100 Flip bit 2.
45738 LD (DE),A Write A to *DE.
45739 DEC HL Decrease HL by one.
45740 DEC DE Decrease DE by one.
45741 LD A,(HL) A=*HL.
45742 LD (DE),A Write A to *DE.
45743 INC HL Increment HL by two.
45744 INC HL
45745 DEC DE Decrease DE by one.
45746 DEC C Decrease C by one.
45747 JR NZ,45734 Jump to 45734 until C is zero.
45749 EX DE,HL Exchange the DE register with the shadow HL register.
45750 POP HL Restore HL from the stack.
45751 LD BC,64 HL+=0064.
45754 ADD HL,BC
45755 EX DE,HL Exchange the DE register with the shadow HL register.
45756 POP BC Restore BC from the stack.
45757 DJNZ 45732 Decrease counter by one and loop back to 45732 until counter is zero.
45759 RET Return.
Prev: 45715 Up: Map Next: 45760