ack/mach/m68k4/libsys/_dup2.s
1990-01-22 11:14:56 +00:00

13 lines
177 B
ArmAsm

.define __dup2
.extern __dup2
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
__dup2: move.w #0x29,d0
move.l 4(sp),a0
move.l 8(sp),d1
add.l #0x40,a0
jmp call