flat assembler
Message board for the users of flat assembler.

Index > Heap > Shittin' in assembly

Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Code:
        
        lar     ebp, [toilet]
        dec     [pants]
shitting:
        push    eax
        push    eax
        push    eax
        pop     [shit]
        out     A55, eax
        add     edi, [shit]
        jo      overflow
        loop    shitting
        scasb   [paper]
        jc      throw
        jg      oh_yeah
        jo      oh_shit

        ...

overflow:
        into
        jmp     away
        xchg    [pants], edx
        iret    

optimizations welcomed
Post 26 Feb 2007, 21:31
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista
not really an optimizaion, but added clarity:

Code:
lar     ebp, [toilet] 
        dec     [pants] 
shitting: 
        push    eax 
        pop     [gas]
        push    eax 
        pop     [gas]
        push    eax 
        pop     [shit] 
        out     A55, eax 
        add     edi, [shit] 
        jo      overflow 
        loop    shitting 
        scasb   [paper] 
        jc      throw 
        jg      oh_yeah 
        jo      oh_shit 

        ... 

overflow: 
        into 
        jmp     away 
        xchg    [pants], edx 
        iret
    
Post 26 Feb 2007, 21:41
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Laughing You guys are crazy! (Almost as crazy as Perl Monks.)
Post 26 Feb 2007, 22:33
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8897
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
vid & hypervista, Evil or Very Mad
stop copying from the windows source plez!!


Wink Wink
Post 26 Feb 2007, 22:39
View user's profile Send private message Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
must be (C) Manurescoff :S
Post 01 Mar 2007, 11:09
View user's profile Send private message MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.