about summary refs log tree commit diff stats
path: root/subx/teensy/test4.s
diff options
context:
space:
mode:
Diffstat (limited to 'subx/teensy/test4.s')
-rw-r--r--subx/teensy/test4.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/subx/teensy/test4.s b/subx/teensy/test4.s
new file mode 100644
index 00000000..c8866dfa
--- /dev/null
+++ b/subx/teensy/test4.s
@@ -0,0 +1,10 @@
+; https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
+; nasm -f elf test4.s
+; gcc -Wall -s -nostdlib test4.o -o test4
+BITS 32
+GLOBAL _start
+SECTION .text
+_start:
+  mov eax, 1
+  mov ebx, 42  
+  int 0x80