Add original unix v6
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/ C return sequence which
|
||||
/ sets errno, returns -1.
|
||||
|
||||
.globl cerror
|
||||
.comm _errno,2
|
||||
|
||||
cerror:
|
||||
mov r0,_errno
|
||||
mov $-1,r0
|
||||
mov r5,sp
|
||||
mov (sp)+,r5
|
||||
rts pc
|
||||
Reference in New Issue
Block a user