This commit is contained in:
Martin Cholewa
2026-01-30 17:18:50 +01:00
parent 7573adcefa
commit c474cdd920
6 changed files with 420 additions and 0 deletions

25
m4-bochs/hello.asm Normal file
View File

@@ -0,0 +1,25 @@
[BITS 16]
[ORG 0x7C00]
start:
xor ax, ax
mov ds, ax
mov es, ax
mov si, msg
loop:
lodsb
cmp al, 0
je hlt
mov ah, 0x0E
int 0x10
jmp loop
hlt:
hlt
jmp hlt
msg: db 'Hello M4 Bochs!', 0
times 510-($-$$) db 0
dw 0xAA55