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

19 lines
229 B
ArmAsm
Raw Normal View History

2015-09-18 11:35:08 +02:00
/*
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
2015-09-20 15:51:38 +02:00
PRINT($msg)
2015-09-18 11:35:08 +02:00
hlt
2015-09-24 10:17:28 +02:00
END
2015-09-18 11:35:08 +02:00
msg:
.asciz "hello\nworld"