Skip to content

Instantly share code, notes, and snippets.

@osandov
Created April 10, 2014 00:33
Show Gist options
  • Save osandov/10333342 to your computer and use it in GitHub Desktop.
Save osandov/10333342 to your computer and use it in GitHub Desktop.
.section .data
potato:
.byte 65, 66, 10
.section .text
.globl _start
_start:
movq $1, %rbx
movq $potato, %rcx
movq $3, %rdx
movq $4, %rax
int $0x80
movq %rax, %rbx
movq $1, %rax
int $0x80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment