flat assembler
Message board for the users of flat assembler.

Index > Windows > Imports names misalignment in IAT

Author
Thread Post new topic Reply to topic
mimas



Joined: 21 Jul 2003
Posts: 10
mimas 20 Oct 2004, 13:39
I was playing with the IAT, and I noticed that fasm doesn't align names as many other programs do.

You've got to add an "align 4" in the import macro to "correct" this.
Code:
if used label & string eqtype ''
  align 4
  _label dw 0
     db string,0    
I'm just wondering about the incidence of this misalignment.
Post 20 Oct 2004, 13:39
View user's profile Send private message Reply with quote
Joshua



Joined: 12 Jul 2003
Posts: 56
Location: Belgium
Joshua 20 Oct 2004, 15:47
No, the docs state that this only needs to be aligned to 2, not 4
Post 20 Oct 2004, 15:47
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 cannot attach files in this forum
You can download files in this forum


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

Website powered by rwasa.