flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > FASM has bugs in FCMOV instruction detection strings

Author
Thread Post new topic Reply to topic
MCD



Joined: 21 Aug 2004
Posts: 604
Location: Germany
MCD
There are a number of easy to correct bugs in the X86.INC file in nearly all FASM versions.
Some of the FCMOV instructions are falsewise stated as "FCOMI_instruction-assembler" instead of "FCMOV_instruction-assembler".

I've got a small syntax changing suggestion: Privalov, couldn't you change the "times" directive into "dup" for compatibility with other assemblers?
(Well, this could easily be done with EQUates, just for convenience)

But more confusing is the "tword" directive which should be changed into "tbyte" (like Intel defines it), since it actually represents ten bytes and NOT ten words (10*2).

_________________
MCD - the inevitable return of the Mad Computer Doggy

-||__/
.|+-~
.|| ||
Post 21 Aug 2004, 15:47
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7718
Location: Kraków, Poland
Tomasz Grysztar
These labels are correct, some of the "fcmov" instructions use the "fcomi_instruction" handler because they have 0DBh as first opcode byte instead of 0DAh that is used by the simple "fcmov_instruction" handler.

tword means "temporary word", not "ten words". It was used (after NASM) to provide better integrity of size operators - you can of course use "equ" for this, too - that's what is was initially intented for.
Post 21 Aug 2004, 16:01
View user's profile Send private message Visit poster's website Reply with quote
MCD



Joined: 21 Aug 2004
Posts: 604
Location: Germany
MCD
Sorry, I must have missed these.

well, but in order to simplify FASM, I removed the SSE3 instructions in my customized version

BOYKOTT PRESCOTT

open standards don't need DRM/TCPA!
Post 21 Aug 2004, 16:41
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
calm down, its just a processor extension

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 21 Aug 2004, 19:00
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
TCPA? What kind of TCPA stuff does Prescott have?

If you're merely referring to NX pages, and calling that a bad thing, then shame on you. If there's something more to it, that would be interesting.
Post 23 Aug 2004, 13:22
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-2020, Tomasz Grysztar.

Powered by rwasa.