This documentation is archived and is not being maintained.

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: