flat assembler
Message board for the users of flat assembler.

Index > Heap > do this within 4bytes

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 648
l4m2
iF ZF=1inc eaxELSEmov al,40
I found the question but no answer
I have thought of
if!zf al=40-1
inceax
Post 25 Jul 2015, 10:33
View user's profile Send private message Reply with quote
Xorpd!



Joined: 21 Dec 2006
Posts: 161
Xorpd!
I can't test this because dumpbin doesn't seem to work for me any more after my PATH got hozed, but db 74h,01h,0B0h,40h seems to be the general idea, jumping into the middle of the next instruction. Only works in 32-bit mode, of course.
Post 25 Jul 2015, 19:14
View user's profile Send private message Visit poster's website Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 648
l4m2
Xorpd! wrote:
I can't test this because dumpbin doesn't seem to work for me any more after my PATH got hozed, but db 74h,01h,0B0h,40h seems to be the general idea, jumping into the middle of the next instruction. Only works in 32-bit mode, of course.
Oh i forgot that INC EAX is DB $40 ...
Post 26 Jul 2015, 02:20
View user's profile Send private message 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.