Split code up into directories for bs and com binaries

This commit is contained in:
Nero 2020-03-30 12:13:21 +00:00
parent 5a24ceb9b8
commit 955acdacba
9 changed files with 2 additions and 2 deletions

19
com/hello.asm Normal file
View file

@ -0,0 +1,19 @@
; COM program displaying hello world string
; This is primarily for testing purposes
org 0x0100
main:
mov si, string
mov ah, 0x0e
xor bx, bx
.loop:
lodsb
test al, al
jz .end
int 0x10
jmp .loop
.end:
ret
string:
db "Hello world!", 0x0A, 0x0D, 0