12-09-2021 09:41 AM
Hello,
Can anyone help me out with a suggestion on the syntax of using __asm__ calls in CVI? Thank You!
12-10-2021 02:03 AM
AFAIK the CVI compiler has never supported ASM built ins. That’s a compiler specific feature and even Microsoft did initially not support that in the 64-bit versions of Visual C(++).
12-17-2021 08:14 AM
Since the compiler is CLANG, there's no reason it shouldn't be possible. See here: https://clang.llvm.org/compatibility.html#inline-asm
I've never tried though.
12-17-2021 08:28 AM
It's not quite that simple. LabWindows CVI is not just a pretty UI shell around CLANG but quite a bit more. So even if CLANG supports it, and that is still the question as NI might create their own binaries with some of the options disabled, it may not ever get there because it first has to go through some CVI specific pre-processor which doesn't like it.