mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
lesson 5, functions and strings
This commit is contained in:
parent
96e8ccff0f
commit
cdddc184b2
@ -5,12 +5,12 @@ mov bx, HELLO
|
||||
call print
|
||||
|
||||
; We will get fancy and print a newline
|
||||
; feel free to integrate newline code into "boot_sect_print"
|
||||
mov ah, 0x0e
|
||||
mov al, 0x0A ; newline char
|
||||
int 0x10
|
||||
mov al, 0x0D ; carriage return char
|
||||
int 0x10
|
||||
; feel free to integrate this into "boot_sect_print" if you want to
|
||||
|
||||
mov bx, GOODBYE
|
||||
call print
|
||||
|
Loading…
Reference in New Issue
Block a user