Hello guys.
Having a new pc with i9 processor on win 10 pro 64 bit, I installed Visual Studio 2022 Community
Edition just to have a good editor and all the low level stuff (ML/LINK/LIB...) included.
MASM32 works with ML version 6.14 or something like this, and I would use the new ML version to
get access to new registers and SSE instructions.
Is there anything to be aware of using these new stuff with MASM32? Something that is not compatible maybe?
Thanks for any help
Quote from: frktons on November 20, 2021, 09:19:56 AM
Having a new pc with i9 processor on win 10 pro 64 bit, I installed Visual Studio 2022 Community
Edition just to have a good editor and all the low level stuff (ML/LINK/LIB...) included.
Congratulations. This is certainly a good machine.
Quote from: frktons on November 20, 2021, 09:19:56 AM
Is there anything to be aware of using these new stuff with MASM32? Something that is not compatible maybe?
Under Win32 you do not have the full set of XMM registers available - only xmm0 to xmm7. But you can use them.
If in doubt, check the Intel manuals and the Win32 API. Good luck and a lot of fun!
You also get newer resource compiler in vs2022 that is capable of handling compressed. Ico files, also note if you use wizard it's wchar as standard = unicode,winapis under the hood is the ones that end with W
Ml 6.14 that comes with masm32 handle only SSE, but with macros you use SSE2 and higher
Just a note.
Quote from: daydreamer on November 20, 2021, 07:53:14 PM
You also get newer resource compiler in vs2022 that is capable of handling compressed. Ico files, also note if you use wizard it's wchar as standard = unicode,winapis under the hood is the ones that end with W
same as here The Windows SDK (10.0.22000) for Windows 11 (https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)
Just be careful about willy nilly changing Microsoft binaries without testing them to see if they work the same as earlier versions. I currently run the VS2019 binaries which work fine in both 32 and 64 bit code, the next version appears to be OK but I have no idea of a Win 11 version. Make sure you fully test any later versions.
Quote from: hutch-- on November 20, 2021, 09:18:49 PM
Make sure you fully test any later versions.
I have exceptions at compilation using linker from VS2022 in debug mode. Apparently it is a problem of using libraries maked with a previous binaries version. Problem solved using binaries from VS2019.
Visual Studio 2022 masm support is same.
over project name right click and select Build dependencies -> Build customiztion and select masm (...)
Thanks Timo!
But I never used VS for assembly, just binaries. It's interesting to have VS to build examples in C.
Quote from: HSE on November 21, 2021, 09:40:06 AM
Thanks Timo!
But I never used VS for assembly, just binaries. It's interesting to have VS to build examples in C.
If you code Inline asm,intellisense just annoys you with showing cpp suggestions, probably need a different file for asm mnemonics and registers suggestions
You can also use it for server side scripting, website, js
Editor handles unicode well,saves to unicode textfile if you want
like the debugger, Win10 complain and stops olly