flat assembler
Message board for the users of flat assembler.

Index > Main > Is jmp 4k alligned?

Author
Thread Post new topic Reply to topic
mikestylz



Joined: 26 Sep 2015
Posts: 3
Location: Canada
mikestylz
Let's say that a line in my code is jmp 0x820. Would that jump to 0x8200 or 0x820?
Post 27 Feb 2016, 19:47
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
No.
Post 27 Feb 2016, 21:45
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17667
Location: In your JS exploiting you and your system
revolution
The target address as 0x820. And if you are not using relocatable code then fasm will encode in such a way to make the destination address to be 0x820, just like you told it to.
Post 28 Feb 2016, 00:56
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 GitHub, YouTube, Twitter.

Website powered by rwasa.