diff options
Diffstat (limited to 'subx/teensy/test3.s')
-rw-r--r-- | subx/teensy/test3.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subx/teensy/test3.s b/subx/teensy/test3.s new file mode 100644 index 00000000..b00c3cc0 --- /dev/null +++ b/subx/teensy/test3.s @@ -0,0 +1,10 @@ +; https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html +; nasm -f elf test3.s +; gcc -Wall -s -nostartfiles test3.o -o test3 +BITS 32 +EXTERN _exit +GLOBAL _start +SECTION .text +_start: + push dword 42 + call _exit |