added new routines for ansi
This commit is contained in:
16
mach/m68k2/libsys/_execl.s
Normal file
16
mach/m68k2/libsys/_execl.s
Normal file
@@ -0,0 +1,16 @@
|
||||
.define __execl
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.extern __execl
|
||||
.sect .text
|
||||
__execl: link a6,#0
|
||||
tst.b -132(sp)
|
||||
move.l _environ,-(sp)
|
||||
pea 12(sp)
|
||||
move.l 8(a6),-(sp)
|
||||
jsr _execve
|
||||
add.l #0xC,sp
|
||||
unlk a6
|
||||
rts
|
||||
Reference in New Issue
Block a user