Skip to content

Instantly share code, notes, and snippets.

@11philip22
Created January 5, 2021 10:56
Show Gist options
  • Save 11philip22/a9e55c8f477669116ba8198c22cfa7bb to your computer and use it in GitHub Desktop.
Save 11philip22/a9e55c8f477669116ba8198c22cfa7bb to your computer and use it in GitHub Desktop.
section .data
whatToWrite db "Henlooo",10,0
len equ $ - whatToWrite
whatToWrite1 db "fren",10,0
len1 equ $ - whatToWrite1
section .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, whatToWrite
mov edx, len
int 80h
mov eax, 4
mov ebx, 1
mov ecx, whatToWrite1
mov edx, len1
int 80h
mov eax, 1
xor ebx, ebx
int 0x80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment