Hi ALL!
when reading manuals from intel IA-32 Inel Architecture SOftware Development i found that instuction FSTSW AX is legal (page 198 volume 1) but MASM does not support register as operand for x87-intsruction and generate error number XXXX(could not remain this time sorry)...
the question is : whom fault is it? Intel or Microsoft?
i do have 686 architecture so can use fcomi but THE QUESTION IS STILL PRESENT if ever i will be in need for pentium plaine(or like this) coding - the problem would appeare with razor power...
thax all
Posted on 2004-02-22 23:39:49 by _Lenin_
It is a valid instruction, you can always hard code it:

DB 0DFh,0E0h

GoAsm supports the instruction with a 16 bit reg operand so I imagine it is OK.

Mmmm, MASM 7.10.3077 supports it as well...
Posted on 2004-02-22 23:51:09 by donkey
Vladimir Ilyich, did you specify .387 in header of program, or what?
Posted on 2004-02-22 23:52:18 by comrade
Thanx , I'll try ...
Posted on 2004-02-22 23:57:24 by _Lenin_
.387 - OK
Well, Lenin was wrong
It's fault of Soviety

2 Comrade:Zarabotalsya...
Other time one'll be Grushevsky
Posted on 2004-02-23 00:11:34 by _Lenin_
Simply,my problem was in that i had not read about ".387" before, because in MASM32 reference from MASM32 package this info was absent:-( But i was thinking that this reference is fullself source of masm information. So now i need to deal with official references and manuals a little bit attentive and must keep direction in my heuristic search rather onto MASM official reference then tutorials, e-books and etc.
Posted on 2004-02-23 00:32:42 by _Lenin_
This is a handy link for MASM users...

MASM reference
Posted on 2004-02-23 00:41:59 by donkey
2 donkey: thank,i will look oninto time2time but i already have in *.doc format 6.11 reference and programming guide...
2 all:
btw althought i have a hunch that all specific x87 instruction will work without this devil ".387" prefix on my 7.00.9210 except the only one "fstsw ax",LOL, maybe "fnstsw ax",LOL
well,leave it on conscience of masm compiler developers and my bad fortune with ratio 50x50...everyone agree?
Posted on 2004-02-23 01:11:24 by _Lenin_