view 5pEV4X5h @ 10916:6de0e67de5c7

<oerjan> le/rn_append `1//Confusingly _not_ the obvious generalization of `4.
author HackBot
date Sat, 20 May 2017 05:29:07 +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