description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C2400 |
Compiler Error C2400 |
11/04/2016 |
|
|
1ba441ee-73f9-42a5-bfe9-fbeab93808eb |
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
}
}