summaryrefslogtreecommitdiffhomepage
path: root/Examples
diff options
context:
space:
mode:
authorAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-04-08 23:18:11 +0200
committerAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-04-08 23:18:11 +0200
commit59c1a314fd058111acd428d0625d98e4531fdb5c (patch)
treeb097435475bbca8eef84c009d778cf3da37cb18f /Examples
parent91465412c388dbbff1b956330eb19e43e2e41b0f (diff)
PowerPCAsm: Adding 'addi' and more error handling.
Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>
Diffstat (limited to 'Examples')
-rw-r--r--Examples/ExamplePowerPC.S7
1 files changed, 6 insertions, 1 deletions
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