No system-calls from libem
This commit is contained in:
parent
6823ce7c96
commit
cee4d5de8b
|
@ -13,7 +13,7 @@
|
||||||
and ax,~0777
|
and ax,~0777
|
||||||
push bx
|
push bx
|
||||||
push ax
|
push ax
|
||||||
call __brk
|
call BRK
|
||||||
pop cx
|
pop cx
|
||||||
pop bx
|
pop bx
|
||||||
cmp ax,-1
|
cmp ax,-1
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
.sect .text; .sect .rom; .sect .data; .sect .bss
|
.sect .text; .sect .rom; .sect .data; .sect .bss
|
||||||
.sect .text
|
.sect .text
|
||||||
.define .trp
|
.define .trp
|
||||||
.define .stop
|
|
||||||
.extern .trppc
|
.extern .trppc
|
||||||
|
|
||||||
! ax is trap number
|
! ax is trap number
|
||||||
|
@ -18,4 +17,4 @@
|
||||||
call .stop
|
call .stop
|
||||||
|
|
||||||
.stop:
|
.stop:
|
||||||
jmp __exit
|
jmp EXIT
|
||||||
|
|
Loading…
Reference in a new issue