ack/mach/m68k4/libsys/dup2.s

13 lines
174 B
ArmAsm
Raw Permalink Normal View History

1985-03-21 14:04:45 +00:00
.define _dup2
.extern _dup2
1986-07-22 13:23:14 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-03-21 14:04:45 +00:00
_dup2: move.w #0x29,d0
move.l 4(sp),a0
move.l 8(sp),d1
add.l #0x40,a0
1985-03-21 14:04:45 +00:00
jmp call