flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Main > Can fasm align using multibyte NOPs?

Author
Thread Post new topic Reply to topic
10110111



Joined: 15 Aug 2015
Posts: 4
Can fasm align using multibyte NOPs?
Is it possible to tell fasm to use multibyte NOPs for alignment instead of the usual single-byte ones? I.e. I'd like fasm to be able to choose the opcode depending on how much space it needs to occupy — without me inspecting the code and putting the needed byte sequence manually.
Post 06 Apr 2016, 04:56
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15312
Location: Bigweld Industries
There are already some threads here showing macros that can do this for you. The search button will help you here. It has been a while since anyone posted about it so be prepared for older threads.

BTW: There is no specific macro that will work in all situations, so look around for one that suits your needs.
Post 06 Apr 2016, 05:13
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.