Export (0) Print
Expand All
Expand Minimize

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
}

Community Additions

ADD
Show:
© 2014 Microsoft