From d014d88a360fdf8fcff52ec3c771f4af707e1831 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> Date: Mon, 8 Apr 2024 01:44:07 +0200 Subject: Fix PowerPC branch instructions; using our new GetNumber32, fix li instruction (was big endian thus mixed) Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> --- Examples/ExamplePowerPC.S.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Examples/ExamplePowerPC.S.pp') diff --git a/Examples/ExamplePowerPC.S.pp b/Examples/ExamplePowerPC.S.pp index bc4d6a1..0f7acf3 100644 --- a/Examples/ExamplePowerPC.S.pp +++ b/Examples/ExamplePowerPC.S.pp @@ -2,4 +2,10 @@ # Language: PowerPC Assembly # Build Date: 2024-6-4 -li r2, 0x1055 \ No newline at end of file +bl 0x1000 + + +li r1, 0x500 +mr r2, r1 +sc +blr -- cgit v1.2.3