ack/mach/m68k4/libsys/dup2.s
1985-03-21 14:04:45 +00:00

9 lines
121 B
ArmAsm

.define _dup2
.extern _dup2
.text
_dup2: move.w #0x29,d0
move.l 4(sp),a0
move.l 8(sp),d1
or.l #0x40,a0
jmp call