Files
x86-bare-metal-examples/bios_hello_world.S

16 lines
182 B
ArmAsm

#include "common.h"
BEGIN
mov $msg, %si
mov $0x0e, %ah
loop:
lodsb
or %al, %al
jz halt
int $0x10
jmp loop
halt:
hlt
msg:
.asciz "hello world"
END