Changed return label for print SR

pull/6/head
E. Almqvist 4 years ago
parent 75762c9577
commit ef336054f5
  1. 4
      src/elib/io.asm

@ -9,7 +9,7 @@ print:
; Char check ; Char check
mov al, [bx] ; load the char mov al, [bx] ; load the char
cmp al, ASCII_END ; check if end of string 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 ; BIOS Printing
@ -20,7 +20,7 @@ print:
inc bx ; increment the pointer to get next char inc bx ; increment the pointer to get next char
jmp printLoop ; repeat jmp printLoop ; repeat
return: printreturn:
popa ; restore all registers popa ; restore all registers
ret ; return to previous location ret ; return to previous location

Loading…
Cancel
Save