rdos/main.asm

17 lines
160 B
NASM
Raw Normal View History

2019-03-10 20:23:09 +01:00
cpu 8086
org 0x0100
jmp main
2019-03-13 18:28:38 +01:00
str1:
db "Hello!", 0
2019-03-10 20:23:09 +01:00
main:
2019-03-13 18:28:38 +01:00
mov ax,cs
mov ds,ax
mov si,str1
call kprintf
2019-03-10 20:23:09 +01:00
ret
%include "kprintf.asm"