The question is: when using mixed C++ with __asm blocks do I have to preserve registers? All registers, or some registers?
If I use -use_msasm option then I don't have to worry about saving/restoring registers in __asm blocks?
I think I need a little more info to understand exactly what you're asking, but perhaps I can clear up one point. The option "-use-msasm" means to interpret "MS-style" asm code, rather than (or in addition to)"gcc-style", which is the default onLinux and MacOS. Without this option, you'd probably get a syntax error if you used ms-style asm blocks.
As far as saving/restoring registers, perhaps you can give a specific example of what you mean?
You have to preserve:
Others usually don't need to be preserved.