Minor fixes
This commit is contained in:
parent
2d21f3114f
commit
3f19e9f0ef
1 changed files with 5 additions and 2 deletions
7
main.asm
7
main.asm
|
@ -1,12 +1,15 @@
|
||||||
DISK_ID EQU 0x81
|
DISK_ID EQU 0x81
|
||||||
|
|
||||||
org 0x7C00
|
org 0x7C00
|
||||||
bits 16
|
bits 16
|
||||||
|
|
||||||
jmp .start
|
jmp .start
|
||||||
|
|
||||||
;;; Print string at bx
|
;;; Print string at bx
|
||||||
.puts:
|
.puts:
|
||||||
|
mov al, '!'
|
||||||
|
mov ah, 0x0e
|
||||||
|
int 0x10
|
||||||
.puts_loop:
|
.puts_loop:
|
||||||
|
|
||||||
mov al, [bx] ; load the character
|
mov al, [bx] ; load the character
|
||||||
|
|
Loading…
Reference in a new issue