summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-12-02 05:21:54 -0500
committerJune McEnroe <programble@gmail.com>2016-12-02 05:21:54 -0500
commit0ab15747ce8341e7965e779930cb439ef7cf75a6 (patch)
treeebc4ab006c9d9029b2cc7abb43b23dcece9f8656
parentAdd 32-bit hex formatting (diff)
downloadaoc-0ab15747ce8341e7965e779930cb439ef7cf75a6.tar.gz
aoc-0ab15747ce8341e7965e779930cb439ef7cf75a6.zip
Write newline
-rw-r--r--day01.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/day01.asm b/day01.asm
index fd31fce..083f971 100644
--- a/day01.asm
+++ b/day01.asm
@@ -66,10 +66,11 @@ _start:
   xor rPosY, rax
   sub rPosY, rax
 
+  push `\n`
   lea rdi, [rPosX + rPosY]
   call hex32
   push rax
-  syscall SYS_WRITE, FD_STDOUT, rsp, 8
+  syscall SYS_WRITE, FD_STDOUT, rsp, 9
 
   xor rax, rax
 syscall SYS_EXIT, rax
>2017-09-01Remove clientRemove call from clientCastJune McEnroe 2017-09-01Add client readOnly modeJune McEnroe 2017-08-31Clean up merge toolJune McEnroe 2017-08-31Choose B for tiles with equal modify timesJune McEnroe 2017-08-31Add quick data file merge toolJune McEnroe 2017-08-30Use only foreground color for selecting spawnJune McEnroe 2017-08-29Add four additional spawnsJune McEnroe 2017-08-28Add respawningJune McEnroe 2017-08-26Move license above includesJune McEnroe 2017-08-26Snapshot metadataJune McEnroe 2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe