Make relocation code not trash potentially important registers

This commit is contained in:
Nero 2019-03-23 20:54:08 +00:00
parent 5becc89872
commit d54f8ac4b9
2 changed files with 17 additions and 12 deletions

View file

@ -12,7 +12,11 @@ main:
mov ax, 18
call malloc
ret
int 0x2E
.endloop:
hlt
jmp .endloop
%include "kernel/heap.asm"
%include "kernel/intr.asm"