summaryrefslogtreecommitdiffhomepage
path: root/Examples
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-04-20 21:15:25 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-04-20 21:15:25 +0000
commitd7f222089835335d575233d264b4c721d9d2087c (patch)
tree62cfc07a0eee9e9a96b695dff1dadb8686770cae /Examples
parent6b1a8aa54a333b1dfe10364467046035ca96d33a (diff)
parent9f70cd9ee219ce95573e25414e7a4d3cc0fe353e (diff)
Merged in MHR-4 (pull request #1)
MHR-4
Diffstat (limited to 'Examples')
-rw-r--r--Examples/ExampleCDialect.S5
-rw-r--r--Examples/ExamplePowerPC.S4
-rw-r--r--Examples/ExamplePowerPC.S.pp2
3 files changed, 5 insertions, 6 deletions
diff --git a/Examples/ExampleCDialect.S b/Examples/ExampleCDialect.S
index 2a5203a..5182381 100644
--- a/Examples/ExampleCDialect.S
+++ b/Examples/ExampleCDialect.S
@@ -1,5 +1,5 @@
# Path: Examples/ExampleCDialect.c
-# Language: PowerPC Assembly (Generated from C)
+# Language: POWER Assembly (Generated from C)
# Build Date: 2024-4-16
@@ -14,7 +14,7 @@ dword export .code64 __ImageStart
li r3,0x1000
cmpw r10, r11
- beq import__MPCC_IF_PROC_6168864856
+ beq import__MPCC_IF_PROC_6168864856
dword export .code64 __MPCC_IF_PROC_6168864856
@@ -25,4 +25,3 @@ dword export .code64 __MPCC_IF_PROC_6168864856
mr r31, r0
blr
-
diff --git a/Examples/ExamplePowerPC.S b/Examples/ExamplePowerPC.S
index 51c8dbc..82d2ca6 100644
--- a/Examples/ExamplePowerPC.S
+++ b/Examples/ExamplePowerPC.S
@@ -1,5 +1,5 @@
b 0x1000
mflr r21
mtlr r21
- nik
-li r3, 0 \ No newline at end of file
+li r3, 0
+stw r7, r5+36
diff --git a/Examples/ExamplePowerPC.S.pp b/Examples/ExamplePowerPC.S.pp
index 0f7acf3..5eeb07f 100644
--- a/Examples/ExamplePowerPC.S.pp
+++ b/Examples/ExamplePowerPC.S.pp
@@ -1,5 +1,5 @@
# Path: Examples/ExamplePowerPC.S.pp
-# Language: PowerPC Assembly
+# Language: POWER Assembly
# Build Date: 2024-6-4
bl 0x1000