hos/apps/test1.asm

21 lines
288 B
NASM

; test app 1
[bits 32]
org 0x0
;header:
; dd 0x4D534F48 ; magic identifier "HOSM"
; dd 2 ; test app
; dd start ; start address
; dd 0 ; reserved
start:
mov ebx, astring
mov eax, 2
int 0x30
jmp start
ret
astring:
db "Hello there from test1!", 10, 0