Assembly in VO
Posted: Fri Dec 10, 2021 5:04 am
Probably a crazy question, in an area where I have no experience, but I figure I'll ask anyway...
Is there any way to write snippets of assembly in VO?
I need to do a bit of 64 bit arithmetic on some FILETIME structures (https://docs.microsoft.com/en-us/window ... e-filetime). Every forum post I read for C++ says that the C++ runtime has long contained support for 64 bit calculations on a 32 bit process. As far as I'm aware VO uses the C++ runtime (at least we ship it with our app), so I'm wondering if I might be able to directly access some of those instructions.
I know C++ has some support for embedding assembly (https://en.cppreference.com/w/cpp/language/asm), I don't suppose VO has some hidden feature to allow that, without essentially writing a virus?
I'll probably just end up providing the 64 bit arithmetic functions via a C++ DLL taking _WINULARGE_INTEGER structures as parameters. My first thought was to write a 64 bit adder in VO. I figured this might still be an interesting question to have answered, however.
Any other suggestions?
Cheers.
Is there any way to write snippets of assembly in VO?
I need to do a bit of 64 bit arithmetic on some FILETIME structures (https://docs.microsoft.com/en-us/window ... e-filetime). Every forum post I read for C++ says that the C++ runtime has long contained support for 64 bit calculations on a 32 bit process. As far as I'm aware VO uses the C++ runtime (at least we ship it with our app), so I'm wondering if I might be able to directly access some of those instructions.
I know C++ has some support for embedding assembly (https://en.cppreference.com/w/cpp/language/asm), I don't suppose VO has some hidden feature to allow that, without essentially writing a virus?
I'll probably just end up providing the 64 bit arithmetic functions via a C++ DLL taking _WINULARGE_INTEGER structures as parameters. My first thought was to write a 64 bit adder in VO. I figured this might still be an interesting question to have answered, however.
Any other suggestions?
Cheers.