Compiler Error C2443

operand size conflict

The instruction required operands of the same size.

One of the operands must be changed so that both operands have the same size.

The following is an example of this error:

short var;
void main()
{
   __asm xchg ax,bl            // error
   __asm mov al,red            // error
   __asm mov al,BYTE PTR var   // OK
}