Type in, or copy and paste the following program into a file
that has a .s extension. I recommend the name
test.s for its obvious creativity.
.text
.globl _start
_start:
push %ax
pop %ax
movl $1,%eax
movl $0,%ebx
int $0x80
This is a fairly harmless program that doesn't do anything. However,
we can still use to test our tool chain.
Subsections
Copyright © 2009-04-16 by Tak Auyeung