summaryrefslogtreecommitdiffhomepage
path: root/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Examples')
-rw-r--r--Examples/Example64k.s3
-rw-r--r--Examples/ExampleAMD64.asm6
-rw-r--r--Examples/ExampleAMD64_Return.asm6
-rw-r--r--Examples/ExampleCDialect.S28
-rw-r--r--Examples/ExampleCDialect.c20
-rw-r--r--Examples/ExamplePowerPC.S8
-rw-r--r--Examples/ExamplePowerPC.S.pp11
-rw-r--r--Examples/ExamplePowerPC.dmp5
8 files changed, 0 insertions, 87 deletions
diff --git a/Examples/Example64k.s b/Examples/Example64k.s
deleted file mode 100644
index b56003a..0000000
--- a/Examples/Example64k.s
+++ /dev/null
@@ -1,3 +0,0 @@
-mv r0, r3
-lda r19, 0x10000
-jlr
diff --git a/Examples/ExampleAMD64.asm b/Examples/ExampleAMD64.asm
deleted file mode 100644
index cc649be..0000000
--- a/Examples/ExampleAMD64.asm
+++ /dev/null
@@ -1,6 +0,0 @@
-#bits 64
-
-export .code64 __ImageStart
-
-mov rax, rdx
-ret
diff --git a/Examples/ExampleAMD64_Return.asm b/Examples/ExampleAMD64_Return.asm
deleted file mode 100644
index 0ecbaf7..0000000
--- a/Examples/ExampleAMD64_Return.asm
+++ /dev/null
@@ -1,6 +0,0 @@
-#bits 64
-
-export .code64 __RaiseInterrupt
-
-int 13
-ret
diff --git a/Examples/ExampleCDialect.S b/Examples/ExampleCDialect.S
deleted file mode 100644
index d937aed..0000000
--- a/Examples/ExampleCDialect.S
+++ /dev/null
@@ -1,28 +0,0 @@
-# Path: Examples/ExampleCDialect.c
-# Language: POWER Assembly (Generated from C)
-# Build Date: 2024-4-28
-
-
-
-
-
-
-
-dword export .code64 __ImageStart
-
-
- li r3,0x1000
-
- cmpw r10, r11
- beq import __MPCC_IF_PROC_6099380296
-dword export .code64 __MPCC_IF_PROC_6099380296
-
-
-
- mr r31, r3
- blr
-
-
- mr r31, r0
- blr
-
diff --git a/Examples/ExampleCDialect.c b/Examples/ExampleCDialect.c
deleted file mode 100644
index e6d92fb..0000000
--- a/Examples/ExampleCDialect.c
+++ /dev/null
@@ -1,20 +0,0 @@
-struct
-{
- int a;
- int b;
- int c;
-};
-
-int __ImageStart(int argc, char const* argv[])
-{
- int* foo = 0x1000;
-
- if (foo == 57)
- {
- foo = 0x2000;
- *foo = 5;
- return foo;
- }
-
- return 57;
-}
diff --git a/Examples/ExamplePowerPC.S b/Examples/ExamplePowerPC.S
deleted file mode 100644
index b9de796..0000000
--- a/Examples/ExamplePowerPC.S
+++ /dev/null
@@ -1,8 +0,0 @@
-; you you can never say!
-
-b 0x1000
-mflr r21
-mtlr r21
-li r3, 0
-cmpw r10, r11
-stw r7, r5+36
diff --git a/Examples/ExamplePowerPC.S.pp b/Examples/ExamplePowerPC.S.pp
deleted file mode 100644
index 5eeb07f..0000000
--- a/Examples/ExamplePowerPC.S.pp
+++ /dev/null
@@ -1,11 +0,0 @@
-# Path: Examples/ExamplePowerPC.S.pp
-# Language: POWER Assembly
-# Build Date: 2024-6-4
-
-bl 0x1000
-
-
-li r1, 0x500
-mr r2, r1
-sc
-blr
diff --git a/Examples/ExamplePowerPC.dmp b/Examples/ExamplePowerPC.dmp
deleted file mode 100644
index 5986d03..0000000
--- a/Examples/ExamplePowerPC.dmp
+++ /dev/null
@@ -1,5 +0,0 @@
-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