aboutsummaryrefslogtreecommitdiff
path: root/examples/greet/Main.asm
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-02-08 17:27:52 -0800
committerFuwn <[email protected]>2025-06-09 00:46:05 -0700
commit18821b4589398fe69598f741cfd339579081bc70 (patch)
tree36f73307690f0beffb3aa87d3183f87f673eb387 /examples/greet/Main.asm
parentfix(divina_compile): single package support (diff)
downloadarchived-divina-18821b4589398fe69598f741cfd339579081bc70.tar.xz
archived-divina-18821b4589398fe69598f741cfd339579081bc70.zip
chore(xamples/greet): rename global
Diffstat (limited to 'examples/greet/Main.asm')
-rw-r--r--examples/greet/Main.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/greet/Main.asm b/examples/greet/Main.asm
index ae425ec..86b015d 100644
--- a/examples/greet/Main.asm
+++ b/examples/greet/Main.asm
@@ -2,13 +2,13 @@ global main
extern printf
section .rodata
-msg: db "Hello World!", 13, 10, 0
+message: db "Hello World!", 13, 10, 0
section .text
main:
sub rsp, 8
sub rsp, 32
- mov rcx, qword msg
+ mov rcx, qword message
call printf
add rsp, 32