From 59c1a314fd058111acd428d0625d98e4531fdb5c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> Date: Mon, 8 Apr 2024 23:18:11 +0200 Subject: PowerPCAsm: Adding 'addi' and more error handling. Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> --- Examples/ExamplePowerPC.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Examples/ExamplePowerPC.S') diff --git a/Examples/ExamplePowerPC.S b/Examples/ExamplePowerPC.S index 80d8915..d25f7d2 100644 --- a/Examples/ExamplePowerPC.S +++ b/Examples/ExamplePowerPC.S @@ -1 +1,6 @@ -b 0x1000 \ No newline at end of file +b 0x1000 +mflr r21 +mtlr r21 + +stwu r1, [r2 + 2] +li r3, 0 \ No newline at end of file -- cgit v1.2.3