Created
January 5, 2021 10:56
-
-
Save 11philip22/a9e55c8f477669116ba8198c22cfa7bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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