C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C2432
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2432
 
     illegal reference to 16-bit data in 'identifier'
 
     A 16-bit register was used as an index or base register.
 
     The 32-bit targeted compiler does not support referencing 16-bit
     data, which is supported by the chip using the address size
     prefix. This means that 16-bit registers cannot be used as index
     or base registers if you are compiling for 32-bit code.
 
     The following is an example of this error:
 
          _asm mov eax, DWORD PTR [bx]
                                    -♦-