Skip to content

Instantly share code, notes, and snippets.

@b4284
Created April 7, 2017 15:39
Show Gist options
  • Select an option

  • Save b4284/ed6d01ab32e3ceadc4e72bb9c866d574 to your computer and use it in GitHub Desktop.

Select an option

Save b4284/ed6d01ab32e3ceadc4e72bb9c866d574 to your computer and use it in GitHub Desktop.
.text
.globl _start
_start:
mov $1, %eax
mov $5, %ebx
int $0x80
# as -o /tmp/hello.o hello.s && ld -o /tmp/hello /tmp/hello.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment