Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 560 Bytes

compiler-error-c2400.md

File metadata and controls

26 lines (22 loc) · 560 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2400
Compiler Error C2400
11/04/2016
C2400
C2400
1ba441ee-73f9-42a5-bfe9-fbeab93808eb

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
   }
}