flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > FASM for win64 - import by ordinal doesn't work

Author
Thread Post new topic Reply to topic
visuall



Joined: 05 May 2009
Posts: 1
visuall 05 May 2009, 11:59
FASM for win64 - import by ordinal doesn't work

Following is the code snippets:

\INCLUDE\MACRO\IMPORT64.INC

Code:
macro import name,[label,string]
 { common
...
      if string eqtype ''
       local _label
       dq RVA _label
      else
       dq [b]80000000h[/b] + string
      end if
...
      if string eqtype ''
       label dq RVA _label
      else
       label dq [b]80000000h[/b] + string
      end if
...
   common
    end if }

    


The number 80000000h should be 64-bit on win64 platform.
It had worked fine when the number was set to 8000000000000000h for the code.
Post 05 May 2009, 11:59
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.