summaryrefslogtreecommitdiffhomepage
path: root/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Examples')
-rw-r--r--Examples/Example64k.s3
-rw-r--r--Examples/ExampleAMD64.asm7
-rw-r--r--Examples/ExamplePowerPC.S2
3 files changed, 11 insertions, 1 deletions
diff --git a/Examples/Example64k.s b/Examples/Example64k.s
new file mode 100644
index 0000000..b56003a
--- /dev/null
+++ b/Examples/Example64k.s
@@ -0,0 +1,3 @@
+mv r0, r3
+lda r19, 0x10000
+jlr
diff --git a/Examples/ExampleAMD64.asm b/Examples/ExampleAMD64.asm
index 12f8f61..4f8625e 100644
--- a/Examples/ExampleAMD64.asm
+++ b/Examples/ExampleAMD64.asm
@@ -1,4 +1,9 @@
#org 0x7c00
-int 13
+nop
+nop
+nop
+nop
+nop
+
ret
diff --git a/Examples/ExamplePowerPC.S b/Examples/ExamplePowerPC.S
index 82d2ca6..9615fe8 100644
--- a/Examples/ExamplePowerPC.S
+++ b/Examples/ExamplePowerPC.S
@@ -1,3 +1,5 @@
+; you you can never say!
+
b 0x1000
mflr r21
mtlr r21