MASM32 Ver10 with the newest ML9 complied issues

Started by kennethz, October 02, 2008, 11:28:19 PM

Previous topic - Next topic

kennethz

Hi, Hutch:
I've found that there are three files will throw some of compile errors with the newest ML.EXE (Version: 9.00.21022.08, from Microsoft Visual Studio 2008) for MASM Version 10. The reason is that the ML9 will use the bigger syntex check for ASM and the HKEY has been defined one common type.

Please see below code descriptions:
1. vkdebug\dbgwin\registry.asm ==> HKEY has redefined in the previous codes.
solution: Changed HKEY from REG_HKEY.
2. m32lib\fptoa.asm  and fptoa2.asm
a. FBSTP [esp] ==> It needs one size length operator for this code.
  Solution: Changed the code to "fbstp TBYTE PTR [esp]".
b. Can't invoke PowerOf10. ==> PowerOf10 is a no parameter procedure; so we have not use proto syntax for it.
Solution: changed the "Powerof10 proto" onto
EXTERN   PowerOf10:NEAR

It seems okay with above code changes with the newest ML.exe.
Could you check it?

Thanks.
Kenneth Zheng
October 3th, 2008



[attachment deleted by admin]

hutch--

Hi Kenneth,

Welcome on board. We know this already, ML 9.0 differs from every earlier version here but it was not routinely available until after the release of version 10. It will be tweaked for the next service pack as long as it can be made to work on the earlier versions.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php