MASM32 Downloads
parser.h// values for sflags if registerenum op1_flags { SFR_SIZMSK = 0x1F, /* size in bits 0-4 */ SFR_IREG = 0x20, SFR_SSBASED = 0x40, /* v2.11: added */ SFR_YMMMASK = 0x3f, /* added by habran */};parser.cint SizeFromRegister( int registertoken )/***************************************/{ unsigned flags; if (((registertoken >= T_YMM0) && (registertoken <= T_YMM7 ))|| ((registertoken >= T_YMM8) && (registertoken <= T_YMM15 ))) flags = GetSflagsSp( registertoken ) & SFR_YMMMASK ; //added by habran else flags = GetSflagsSp( registertoken ) & SFR_SIZMSK; if ( flags ) return( flags ); flags = GetValueSp( registertoken ); if ( flags & OP_SR ) return( CurrWordSize ); /* CRx, DRx, TRx remaining */#if AMD64_SUPPORT return( ModuleInfo.Ofssize == USE64 ? 8 : 4 );#else return( 4 );#endif}
What is with the other OS (DOS, Linux, BSD, OS/2)?
I can build only for windowsIn the attached folder there are three files I changed, so if you are able to build them you are welcome
Are the changes based on the latest jwasm code by Japheth?
Someday I'll learn how to fix JWasm myself
can't count on you mortals being around forever ;)
OS/2 is a bit tricky, because I have only an old OS/2 Warp 4 original CD here and could try to build it in a Virtual Machine. I'm not sure if that's sufficient.
If you need some (minor) help, I have working OS/2 systemsin use here. Do you have a preferred virtual environment?
my second name is CANDO ;)