Segment References in Inline Assembly


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at 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

Using Assembly Language in __asm Blocks