Add mechanism for additional files on floppy
This commit is contained in:
parent
fc0dd47d48
commit
956df75dae
2 changed files with 26 additions and 4 deletions
17
programs/hello.asm
Normal file
17
programs/hello.asm
Normal file
|
@ -0,0 +1,17 @@
|
|||
org 0x0100
|
||||
|
||||
main:
|
||||
mov si, hello
|
||||
.loop:
|
||||
lodsb
|
||||
test al, al
|
||||
jz .ret
|
||||
mov dl, al
|
||||
mov ah, 0x02
|
||||
int 0x21
|
||||
jmp .loop
|
||||
.ret:
|
||||
ret
|
||||
|
||||
hello:
|
||||
db "Hello!", 0
|
Loading…
Add table
Add a link
Reference in a new issue