diff --git a/osx/hello.asm b/osx/hello.asm --- a/osx/hello.asm +++ b/osx/hello.asm @@ -115,6 +115,7 @@ ;; add newline and string terminator newline: + inc di mov BYTE [di], 10 inc di mov BYTE [di], 0 @@ -144,6 +145,6 @@ push DWORD 1 ;; stdout call asm_write ;; - + add esp, 12 ;; cleanup stack ret