Compiler Error C2400
inline assembler syntax error in 'context'; found 'token'
The token caused a syntax error in the specified context.
The following sample generates C2400:
// C2400.cpp
// processor: x86
int main() {
__asm {
heh ax,bx; // C2400, heh is not a valid x86 instruction
mov ax,bx; // OK
}
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for