Coder - The exchange of the two memory areas.

KrNews #05
   2) This procedure though not the
fast (still faster than the ZX
Revue, but the most simple. In the HL set
first address in DE - second in the BC -
length.


EXCH LD HL, SOURCE1

       LD DE, SOURCE2

       LD BC, LEN
EXC1 LD A, (DE)

       LDI

       DEC HL

       LD (HL), A

       INC HL

       JP PE, EXC1

       RET