From 0ab15747ce8341e7965e779930cb439ef7cf75a6 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 2 Dec 2016 05:21:54 -0500 Subject: Write newline --- day01.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'day01.asm') 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 -- cgit 1.4.1