diff options
Diffstat (limited to 'subx/teensy/test2.s')
-rw-r--r-- | subx/teensy/test2.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/subx/teensy/test2.s b/subx/teensy/test2.s new file mode 100644 index 00000000..c25152e5 --- /dev/null +++ b/subx/teensy/test2.s @@ -0,0 +1,9 @@ +; https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html +; nasm -f elf test2.s +; gcc -Wall -s test2.o -o test2 +BITS 32 +GLOBAL main +SECTION .text +main: + mov eax, 42 + ret |