RosettaCodeData/Task/Generic-swap/Z80-Assembly/generic-swap-1.z80
2023-07-01 13:44:08 -04:00

4 lines
122 B
Z80 Assembly

push ix
push iy
pop ix ;the value that was once in IY is now in IX
pop iy ;the value that was once in IX is now in IY