summaryrefslogtreecommitdiffhomepage
path: root/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Examples')
-rw-r--r--Examples/ExamplePowerPC.S.pp8
-rw-r--r--Examples/ExamplePowerPC.dmp5
2 files changed, 12 insertions, 1 deletions
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
diff --git a/Examples/ExamplePowerPC.dmp b/Examples/ExamplePowerPC.dmp
new file mode 100644
index 0000000..5986d03
--- /dev/null
+++ b/Examples/ExamplePowerPC.dmp
@@ -0,0 +1,5 @@
+0x0000000000000000: 00 10 00 48 b 0x1000
+0x0000000000000004: 00 05 20 38 li r1, 0x500
+0x0000000000000008: 78 13 21 7C or r1, r1, r2
+0x000000000000000c: 02 00 00 44 sc
+0x0000000000000010: 20 00 80 4E blr \ No newline at end of file