NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2422

illegal segment override in 'operand'

Inline assembly code incorrectly uses a segment override operator (semicolon) on an operand.

Possible causes

Example

_asm
{
  mov    AX, [BX:ES]        //Error
  mov    AX, ES:[BX]        //OK
}