SEGMENT | Microsoft Docs
https://docs.microsoft.com/en-us/cpp/assembler/masm/segment03.08.2021 · string. This string is used as the section name in the emitted COFF object. Creates multiple sections with the same external name, with distinct MASM segment names. Not supported with /omf. class. Designates how segments should be combined and ordered in the assembled file. Typical values are, 'DATA', 'CODE', 'CONST' and 'STACK'.
SEGMENT | Microsoft Docs
docs.microsoft.com › en-us › cppAug 03, 2021 · The range of memory addresses from which a starting address for the segment can be selected. The alignment type can be any one of the following: If this parameter is not specified, PARA is used by default. combine (32-bit MASM only) PUBLIC, STACK, COMMON, MEMORY, ATaddress, PRIVATE use (32-bit MASM only) USE16, USE32, FLAT characteristics