summaryrefslogtreecommitdiffhomepage
path: root/Examples/HelloWorld.asm.pp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-03-27 20:42:17 +0100
committerAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-03-27 20:42:17 +0100
commitbdedf1ec96cd4ea41f32794ebb37279e0737934c (patch)
tree026532c65f6d6ecf6393d7e9b39cffe399f9e060 /Examples/HelloWorld.asm.pp
parent3939adadfecc486173df35e1f54c606a9bb4bb94 (diff)
cc: Striving to be ANSI C compliant now.
Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>
Diffstat (limited to 'Examples/HelloWorld.asm.pp')
-rw-r--r--Examples/HelloWorld.asm.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/HelloWorld.asm.pp b/Examples/HelloWorld.asm.pp
index c9625c4..ccb8722 100644
--- a/Examples/HelloWorld.asm.pp
+++ b/Examples/HelloWorld.asm.pp
@@ -4,11 +4,11 @@
; Start sequence of program.
-export .data GDT
+export .data64 GDT
.number 0x1000
.number 0x100
-export .text __start
+export .code64 __start
mov rcx, 47 ; exit program
mov rdx, 0x0 ; exit code 0
int 50