summaryrefslogtreecommitdiffhomepage
path: root/Examples/HelloWorld.asm
diff options
context:
space:
mode:
authorAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-03-27 08:31:41 +0100
committerAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-03-27 08:31:41 +0100
commit3939adadfecc486173df35e1f54c606a9bb4bb94 (patch)
tree3b80ea14534e74e4bdb2c3db26a6270f66e49ce4 /Examples/HelloWorld.asm
parent69b78ac22d04b56a9882e845230a1df27d9af9a9 (diff)
Toolchain: Fix bpp and link, deprecate ccplus (C++ compiler)
repurpose all rule to compile everything. Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>
Diffstat (limited to 'Examples/HelloWorld.asm')
-rw-r--r--Examples/HelloWorld.asm7
1 files changed, 5 insertions, 2 deletions
diff --git a/Examples/HelloWorld.asm b/Examples/HelloWorld.asm
index ccfccc3..71e90f0 100644
--- a/Examples/HelloWorld.asm
+++ b/Examples/HelloWorld.asm
@@ -3,9 +3,12 @@
; Start sequence of program.
+%def gdtBase 0x1000
+%def gdtLimit 0x100
+
export .data GDT
- .number 55
- .number 100
+ .number gdtBase
+ .number gdtLimit
export .text __start
mov rcx, 47 ; exit program