summaryrefslogtreecommitdiffhomepage
path: root/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Examples')
-rw-r--r--Examples/ExampleAMD64.asm4
-rw-r--r--Examples/HelloWorld.asm2
-rw-r--r--Examples/HelloWorld.asm.pp14
3 files changed, 4 insertions, 16 deletions
diff --git a/Examples/ExampleAMD64.asm b/Examples/ExampleAMD64.asm
new file mode 100644
index 0000000..12f8f61
--- /dev/null
+++ b/Examples/ExampleAMD64.asm
@@ -0,0 +1,4 @@
+#org 0x7c00
+
+int 13
+ret
diff --git a/Examples/HelloWorld.asm b/Examples/HelloWorld.asm
deleted file mode 100644
index 664780a..0000000
--- a/Examples/HelloWorld.asm
+++ /dev/null
@@ -1,2 +0,0 @@
-int 13
-ret
diff --git a/Examples/HelloWorld.asm.pp b/Examples/HelloWorld.asm.pp
deleted file mode 100644
index d69b67a..0000000
--- a/Examples/HelloWorld.asm.pp
+++ /dev/null
@@ -1,14 +0,0 @@
-#bits 64
-#org 1000
-
-; Start sequence of program.
-
-export .code64 __start
- mov rdx, rsi
- mov rdx, rdx ; exit code 0
- int 50
- int 50
- int 50
- int 50
- int 50
- ret \ No newline at end of file