flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > jmp k1 (in 1.71.40+)

Author
Thread Post new topic Reply to topic
dunkaist



Joined: 31 Jul 2015
Posts: 24
dunkaist 05 Jun 2016, 18:15
Hello,

fasm 1.71.40+ doesn't assemble such a file.
Code:
jmp k1
k1 dd ?    

The output is as follows.
Code:
jmp k1
error: invalid operand.    


It does work for k8 label.

The same question as in my previous topic: should existing code be updated?
Post 05 Jun 2016, 18:15
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 05 Jun 2016, 20:06
K1-K7 became reserved words in 1.71.40 because they are used by AVX-512 (they are the names of mask registers).
Post 05 Jun 2016, 20:06
View user's profile Send private message Visit poster's website Reply with quote
shutdownall



Joined: 02 Apr 2010
Posts: 517
Location: Munich
shutdownall 05 Jun 2016, 21:29
You could use an older version of flat assembler like 1.71.39 where AVX support is not yet available rather than changing the code. Could be downloaded with following link:

http://flatassembler.net/fasmw17139.zip

I am still using 1.71.01 with no problems at all. Cool
Post 05 Jun 2016, 21:29
View user's profile Send private message Send e-mail Reply with quote
dunkaist



Joined: 31 Jul 2015
Posts: 24
dunkaist 05 Jun 2016, 22:59
Thank you again for quick replies!
I wasn't familiar with avx512 at all and I want to keep that code up to date, thus I'll replace 'k1' with '.k1'.
Post 05 Jun 2016, 22: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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.