From 2d8836ccdcc8305988e3de4a7453acf9a3c57858 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 27 Jan 2022 05:36:10 +0500 Subject: [PATCH] Replace "jmp" with "ret" --- src/x86_stage1.S | 2 +- src/x86_stage2.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x86_stage1.S b/src/x86_stage1.S index f5249df..0a2e8fa 100644 --- a/src/x86_stage1.S +++ b/src/x86_stage1.S @@ -85,7 +85,7 @@ print_char: mov $0x0e, %ah mov $0x0001, %bx int $0x10 - jmp do_ret + ret // SI - string pointer print_str: diff --git a/src/x86_stage2.S b/src/x86_stage2.S index 3e39f19..e682ebd 100644 --- a/src/x86_stage2.S +++ b/src/x86_stage2.S @@ -51,7 +51,7 @@ print_char: mov $0x0E, %ah mov $0x0001, %bx int $0x10 - jmp do_ret + ret // SI - string pointer print_str: