Compiler Error C2430
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
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: