summaryrefslogtreecommitdiff
path: root/src/nasty.S
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2025-07-26 16:03:00 +0200
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2025-07-26 16:03:00 +0200
commitf199eae0154f354c37750c8cd3037f94dbfe70db (patch)
tree90938c26bdbe388745a0c3bbd074af92fd49ae13 /src/nasty.S
Initial commit
Diffstat (limited to 'src/nasty.S')
-rw-r--r--src/nasty.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nasty.S b/src/nasty.S
new file mode 100644
index 0000000..26732a3
--- /dev/null
+++ b/src/nasty.S
@@ -0,0 +1,7 @@
+.intel_syntax noprefix
+
+.section .text
+.global halt
+halt:
+1: hlt
+ jmp 1b