Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* https://github.com/cirosantilli/x86-bare-metal-examples#bios-hello-world */
#include "common.h"
BEGIN
DBG
mov $msg, %si
mov $0x0e, %ah
loop:
lodsb
or %al, %al
jz halt
int $0x10
jmp loop
halt:
hlt
msg:
.asciz "\n#pdxtech leet haxorz\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.