bios_carriage_return.S 233 B

123456789101112131415161718
  1. /*
  2. What happens when a newline is output with bios.
  3. Outcome:
  4. hello
  5. world
  6. Carriage returns are needed just like in old days.
  7. */
  8. #include "common.h"
  9. BEGIN
  10. PRINT_STRING $msg
  11. hlt
  12. msg:
  13. .asciz "hello\n\rworld"