; ; trade de^ and hl^ for c bytes ; a,f .mxchg:: push b push d push h mxchg1: mov b,m ldax d mov m,a mov a,b stax d inx d inx h dcr c jnz mxchg1 pop h pop d pop b ret