view 5pEV4X5h @ 10850:f804772bac12

<oerjan> slwd `fetch//s,See,It is a special builtin that cannot be called from other commands. &,
author HackBot
date Sun, 30 Apr 2017 18:00:03 +0000
parents e7d860aee142
children
line wrap: on
line source

section     .text
global      _start                              

_start:                                         

    mov     edx,len                            
    mov     ecx,msg                             
    mov     ebx,1                               
    mov     eax,4                               
    int     0x80                                

    mov     eax,1                               
    int     0x80                                

section     .data

msg     db  'Assembly is a land of segmentation faults and insanity',0xa ;the entry
len     equ $ - msg