summaryrefslogtreecommitdiff
path: root/src/nasty.S
diff options
context:
space:
mode:
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