about summary refs log tree commit diff stats
path: root/subx/teensy/test4.s
blob: 3d7f7f62e70717df08ea8d4bdf7f47719e7c3e7e (plain) (blame)
1
2
3
4
5
6
7
8
9
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 ebx, 42
  mov eax, 1
  int 0x80