From 672ec345c6eb5a06500cba10e3f329b8a65ee047 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> Date: Fri, 5 Apr 2024 04:43:27 +0200 Subject: ppcasm: WiP: Add opcode table for PowerPC. What is needed to be done: - Support registers and jump addresses inside a PowerPC assembly file. - Thoroughly test the output on a PowerPC emulator. Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> --- Examples/HelloWorld.asm | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'Examples/HelloWorld.asm') diff --git a/Examples/HelloWorld.asm b/Examples/HelloWorld.asm index 63a6258..664780a 100644 --- a/Examples/HelloWorld.asm +++ b/Examples/HelloWorld.asm @@ -1,17 +1,2 @@ -#bits 64 -#org 1000 - -; Start sequence of program. - -%def gdtBase 0x1000 -%def gdtLimit 0x100 - -export .code64 __start - mov rdx, rcx ; exit program - mov rdx, rdx ; exit code 0 - int 50 - int 50 - int 50 - int 50 - int 50 - ret +int 13 +ret -- cgit v1.2.3