Files
x86-bare-metal-examples/bios_carriage_return.S
2015-09-24 10:21:34 +02:00

19 lines
231 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
END
msg:
.asciz "hello\n\rworld"