Segment References in Inline Assembly

Microsoft Specific

You must refer to segments by register rather than by name (the segment name _TEXT is invalid, for instance). Segment overrides must use the register explicitly, as in ES:[BX].

END Microsoft Specific

See also

Using Assembly Language in __asm Blocks