From 3939adadfecc486173df35e1f54c606a9bb4bb94 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> Date: Wed, 27 Mar 2024 08:31:41 +0100 Subject: 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> --- Examples/HelloWorld.asm.pp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Examples/HelloWorld.asm.pp (limited to 'Examples/HelloWorld.asm.pp') diff --git a/Examples/HelloWorld.asm.pp b/Examples/HelloWorld.asm.pp new file mode 100644 index 0000000..c9625c4 --- /dev/null +++ b/Examples/HelloWorld.asm.pp @@ -0,0 +1,19 @@ +#bits 64 +#org 1000 + +; Start sequence of program. + + +export .data GDT + .number 0x1000 + .number 0x100 + +export .text __start + mov rcx, 47 ; exit program + mov rdx, 0x0 ; exit code 0 + int 50 + int 50 + int 50 + int 50 + int 50 + ret -- cgit v1.2.3