ack/mach/m68k4/libsys/ptrace.s

17 lines
236 B
ArmAsm
Raw Permalink Normal View History

1985-03-21 14:04:45 +00:00
.define _ptrace
.extern _ptrace
.extern _errno
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
_ptrace: move.w #0x1A,d0
move.l 16(sp),a0
move.l 12(sp),d1
move.l 8(sp),a1
move.l 4(sp),d2
clr.l _errno
trap #0
rts