Add comments

This commit is contained in:
Alex Kotov 2022-01-27 05:26:54 +05:00
parent 9a3dccd970
commit 53d35a317f
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 4 additions and 0 deletions

View File

@ -81,12 +81,14 @@ hang:
do_ret:
ret
// AL - char
print_char:
mov $0x0e, %ah
mov $0x0001, %bx
int $0x10
jmp do_ret
// SI - string pointer
print_str:
lodsb
test %al, %al

View File

@ -46,12 +46,14 @@ hang:
do_ret:
ret
// AL - char
print_char:
mov $0x0E, %ah
mov $0x0001, %bx
int $0x10
jmp do_ret
// SI - string pointer
print_str:
lodsb
test %al, %al