Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3042

__asm equivalent for 64-bit programming

$
0
0
I'm trying to update a program (previously built only as 32-bit) so that it'll build as 64-bit in VS2019. One of the functions uses this small section of assembly language - which is somehow connected to finding out some stuff about the FPU:-

Code:

char *buf = *fxbuf;
__asm {
        mov eax, buf
                fxsave  [eax]
                };

But AFAICT __asm is only valid for 32-bit compilation. Is there something equivalent for 64-bit ?

Viewing all articles
Browse latest Browse all 3042

Trending Articles