summaryrefslogtreecommitdiffhomepage
path: root/Examples
diff options
context:
space:
mode:
authorAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-04-06 00:46:22 +0200
committerAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-04-06 00:46:22 +0200
commit4aac4b5cd9db7a1b2daa1759e8449a37410233b7 (patch)
treee455d3279d23090bfe259374b5b37f738e3fce52 /Examples
parent735ba60b26bc604d04e4a67e2b4570c1a50eb035 (diff)
Update examples.
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