mirror of https://github.com/tailix/loadwarka.git
Add comments
This commit is contained in:
parent
9a3dccd970
commit
53d35a317f
|
@ -81,12 +81,14 @@ hang:
|
||||||
do_ret:
|
do_ret:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
// AL - char
|
||||||
print_char:
|
print_char:
|
||||||
mov $0x0e, %ah
|
mov $0x0e, %ah
|
||||||
mov $0x0001, %bx
|
mov $0x0001, %bx
|
||||||
int $0x10
|
int $0x10
|
||||||
jmp do_ret
|
jmp do_ret
|
||||||
|
|
||||||
|
// SI - string pointer
|
||||||
print_str:
|
print_str:
|
||||||
lodsb
|
lodsb
|
||||||
test %al, %al
|
test %al, %al
|
||||||
|
|
|
@ -46,12 +46,14 @@ hang:
|
||||||
do_ret:
|
do_ret:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
// AL - char
|
||||||
print_char:
|
print_char:
|
||||||
mov $0x0E, %ah
|
mov $0x0E, %ah
|
||||||
mov $0x0001, %bx
|
mov $0x0001, %bx
|
||||||
int $0x10
|
int $0x10
|
||||||
jmp do_ret
|
jmp do_ret
|
||||||
|
|
||||||
|
// SI - string pointer
|
||||||
print_str:
|
print_str:
|
||||||
lodsb
|
lodsb
|
||||||
test %al, %al
|
test %al, %al
|
||||||
|
|
Loading…
Reference in New Issue