From 73656aff947dd09f6ca4f3b9be0d58e888dcba87 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> Date: Sun, 7 Apr 2024 00:39:08 +0200 Subject: PPC: Adding support for more instructions, adding support header for GNU as (using the BPP preprocessor) Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> --- Examples/ExamplePowerPC.S | 5 +---- Examples/ExamplePowerPC.S.pp | 6 ++++++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 Examples/ExamplePowerPC.S.pp (limited to 'Examples') diff --git a/Examples/ExamplePowerPC.S b/Examples/ExamplePowerPC.S index 02fa7c0..80d8915 100644 --- a/Examples/ExamplePowerPC.S +++ b/Examples/ExamplePowerPC.S @@ -1,4 +1 @@ -# Sample program - -mr r0, r0 -blr \ No newline at end of file +b 0x1000 \ No newline at end of file diff --git a/Examples/ExamplePowerPC.S.pp b/Examples/ExamplePowerPC.S.pp new file mode 100644 index 0000000..0f22a82 --- /dev/null +++ b/Examples/ExamplePowerPC.S.pp @@ -0,0 +1,6 @@ +# Path: SDK/PowerPC.inc +# Language: PowerPC Assembly +# Build Date: 2024-6-4 + +or r0, r10 +b 10100 \ No newline at end of file -- cgit v1.2.3