home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oakland CPM Archive
/
oakcpm.iso
/
cpm
/
asmutl
/
buffers.lbr
/
MXCHG.MAC
< prev
next >
Encoding:
Amiga (detected)
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1987-01-15
|
256 b
|
21 lines
;
; 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
~╩