17 lines
160 B
NASM
17 lines
160 B
NASM
cpu 8086
|
|
|
|
org 0x0100
|
|
jmp main
|
|
|
|
str1:
|
|
db "Hello!", 0
|
|
|
|
main:
|
|
mov ax,cs
|
|
mov ds,ax
|
|
mov si,str1
|
|
call kprintf
|
|
ret
|
|
|
|
%include "kprintf.asm"
|