flat assembler
Message board for the users of flat assembler.

Index > Main > jnz dword [esp]

Author
Thread Post new topic Reply to topic
asmrox



Joined: 19 Jan 2008
Posts: 160
asmrox
i can use jmp but this cause error.
Why? I just want to end the process in that way.
Post 22 Jan 2008, 08:37
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17473
Location: In your JS exploiting you and your system
revolution
jcc only supports immediate arguments.
Post 22 Jan 2008, 10:04
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2940
Location: vpcmipstrm
bitRAKE
je @F
retn
@@:
Post 22 Jan 2008, 15:49
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4240
Location: 2018
edfed
je @f
ret
@@:

just to confirm bitrake's trick Laughing
Post 22 Jan 2008, 15:56
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
edfed: how did writing it again "confirm" the trick?
Post 22 Jan 2008, 16:38
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
And in fact is somewhat misguiding, what if you use that code sequence in a PROC, would you expect same behavior?
Post 22 Jan 2008, 16:55
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4240
Location: 2018
edfed
in proc?
i never code proc
only flat code.

for proc i think it's the same but depend on the proc type, and proc algorithm.
Code:
je .end
...
.end:
retn

je .end
...
.end:
retf
    


confirm like confirmation of the trick, it's that code you need to make the desired stuff. if you know other simpler ways, please, post it.
Post 22 Jan 2008, 19:33
View user's profile Send private message Visit poster's website 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 cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.