Replace "jmp" with "ret"

This commit is contained in:
Alex Kotov 2022-01-27 05:36:10 +05:00
parent 9ec39b3871
commit 2d8836ccdc
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ print_char:
mov $0x0e, %ah
mov $0x0001, %bx
int $0x10
jmp do_ret
ret
// SI - string pointer
print_str:

View File

@ -51,7 +51,7 @@ print_char:
mov $0x0E, %ah
mov $0x0001, %bx
int $0x10
jmp do_ret
ret
// SI - string pointer
print_str: