flat assembler
Message board for the users of flat assembler.

Index > Linux > ELF64 compilation error

Author
Thread Post new topic Reply to topic
agivney



Joined: 05 May 2005
Posts: 16
agivney 05 May 2005, 05:58
Why is that then when I use this:

mov rax,[art]
art dq ?

It compiles fine. But when I change the above register to rcx or r10;

e.g

mov rcx,[art]
art dq ?


or any other 64 bit register I get the following message "Error; Invalid size of address value". This happens under Linux and Windows. If I compile the same code in YASM, I have no problems. Question
Post 05 May 2005, 05:58
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 05 May 2005, 10:03
Yes, a rather serious bug in the 64-bit object output. It's fixed in 1.61.1 development release (see the bottom of Download page)
Post 05 May 2005, 10:03
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.