We recommend using Visual Studio 2017

Compiler Error C2430

 

The latest version of this topic can be found at Compiler Error C2430.

more than one index register in 'identifier'

More than one register is scaled. The compiler supports scaled indexing, but you can only scale one register.

The following sample generates C2430.

// C2430.cpp  
// processor: x86  
int main() {  
   _asm mov eax, [ebx*2+ecx*4] // C2430  
}  

Show: