wozmon: make it fit the boot sector
This commit is contained in:
parent
45a0b8ca68
commit
6c5e8594c3
5
wozmon.s
5
wozmon.s
@ -9,7 +9,6 @@ _ZN12_GLOBAL__N_14putcEh:
|
|||||||
movb 2(%bx), %al
|
movb 2(%bx), %al
|
||||||
#APP
|
#APP
|
||||||
;# 21 "wozmon.cc" 1
|
;# 21 "wozmon.cc" 1
|
||||||
mov %al, %al
|
|
||||||
mov $0x0e, %ah
|
mov $0x0e, %ah
|
||||||
int $0x10
|
int $0x10
|
||||||
|
|
||||||
@ -97,10 +96,6 @@ _ZN12_GLOBAL__N_114WriteHexNibbleEh:
|
|||||||
.global main
|
.global main
|
||||||
.type main, @function
|
.type main, @function
|
||||||
main:
|
main:
|
||||||
pushw %si
|
|
||||||
pushw %di
|
|
||||||
pushw %es
|
|
||||||
pushw %bp
|
|
||||||
movw %sp, %bp
|
movw %sp, %bp
|
||||||
subw $76, %sp
|
subw $76, %sp
|
||||||
leaw -64(%bp), %di
|
leaw -64(%bp), %di
|
||||||
|
Loading…
Reference in New Issue
Block a user