Files
x86-bare-metal-examples/bios_newline.S
2015-09-20 17:09:30 +02:00

19 lines
229 B
ArmAsm

/*
What happens when a newline is output with bios.
Outcome:
hello
world
Carriage returns are needed just like in old days.
*/
#include "common.h"
BEGIN
PRINT($msg)
hlt
msg:
.asciz "hello\nworld"
END