about summary refs log blame commit diff stats
path: root/subx/teensy/test3.s
blob: b00c3cc045d4a17cd8662ec8908d4a19604017cc (plain) (tree)
1
2
3
4
5
6
7
8
9
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