Mercurial > repo
view 5pEV4X5h @ 10991:2a49f15d9293
<wob_jonas> perl -e {$f="wisdom/rules of wisdom";open$i,"<",$f or die;local$/;$s=<$i>;$s=~s/with no space at the end/and end in a newline with no space before that/ or die;$s=~s/\\n\\z// or die;print$s;open$o,">",$f;print$o $s or die;}
author | HackBot |
---|---|
date | Fri, 02 Jun 2017 10:25:48 +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