Anonymous user
Visual Studio: Difference between revisions
Jump to navigation
Jump to search
→Helpful Compiler Intrinsics:
[unchecked revision] | [unchecked revision] |
Line 60:
These work like GCC's inline assembler: they insert the instruction, and the compiler is smart enough to optimize register usage, etc.
<
EXTERN unsigned short _outpw(unsigned short, unsigned short);
EXTERN int _inp(unsigned short);
Line 72:
#define getRetAddr _ReturnAddress
#pragma intrinsic(_ReturnAddress, _outp, _inp, _outpw, _inpw)
</
=== Compiler Options ===
|