ack/mach/m68k2/libsys/dup2.s

15 lines
198 B
ArmAsm
Raw Normal View History

1985-04-18 15:14:37 +00:00
.define _dup2
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-04-18 15:14:37 +00:00
.extern _dup2
.sect .text
1985-04-18 15:14:37 +00:00
_dup2: move.w #0x29,d0
move.w 4(sp),a0
move.w 6(sp),d1
ext.l d1
add.l #0x40,a0
jmp call