From ef336054f5da9d3ed92d4dce263772755a71e2ad Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 29 Jan 2021 23:22:43 +0100 Subject: [PATCH] Changed return label for print SR --- src/elib/io.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/elib/io.asm b/src/elib/io.asm index 10ed003..8c4328d 100644 --- a/src/elib/io.asm +++ b/src/elib/io.asm @@ -9,7 +9,7 @@ print: ; Char check mov al, [bx] ; load the char cmp al, ASCII_END ; check if end of string - je return ; if al == ASCII_END then return end | lua is good psuedo-code + je printreturn ; if al == ASCII_END then return end | lua is good psuedo-code ; BIOS Printing @@ -20,7 +20,7 @@ print: inc bx ; increment the pointer to get next char jmp printLoop ; repeat - return: + printreturn: popa ; restore all registers ret ; return to previous location