Prev: 707C Up: Map Next: 70A3
7095: Swap memory
Used by the routine at 707C.
Input
HL Start of first memory
DE Start of second memory
BC Length
7095 LD A,(HL)
7096 EX AF,AF'
7097 LD A,(DE)
7098 LD (HL),A
7099 EX AF,AF'
709A LD (DE),A
709B INC HL
709C INC DE
709D DEC BC
709E LD A,B
709F OR C
70A0 JR NZ,$7095
70A2 RET
Prev: 707C Up: Map Next: 70A3