From 80360e75989ac3a78caad78c64a3b86ca2beaa52 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Sun, 12 Oct 2025 21:45:54 -0400 Subject: [PATCH] NULL terminating bytes --- helloworld.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helloworld.asm b/helloworld.asm index 4fbd93b..853fb02 100644 --- a/helloworld.asm +++ b/helloworld.asm @@ -1,8 +1,8 @@ %include 'functions.asm' section .data -msg1 db "Hello, world!", 0Ah -msg2 db "Display a line of text", 0Ah +msg1 db "Hello, world!", 0x0A, 0x00 +msg2 db "Display a line of text", 0x0A, 0x00 section .text global _start