diff options
| author | Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> | 2024-03-27 20:42:17 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> | 2024-03-27 20:42:17 +0100 |
| commit | bdedf1ec96cd4ea41f32794ebb37279e0737934c (patch) | |
| tree | 026532c65f6d6ecf6393d7e9b39cffe399f9e060 /Examples/HelloWorld.asm.pp | |
| parent | 3939adadfecc486173df35e1f54c606a9bb4bb94 (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.pp | 4 |
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 |
