Minor fixes

This commit is contained in:
Robbe Van Herck 2019-12-28 11:46:56 +01:00
parent 2d21f3114f
commit 3f19e9f0ef
No known key found for this signature in database
GPG key ID: A66F76F7B81BD784

View file

@ -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