The meaning of the terms segment and section are interchangeable in this topic.
OBJ files can be viewed with the dumpbin application. The default segment in the .obj file for functions is .text.
code_seg with no parameters resets the segment to .text.
Puts a record on the internal compiler stack. A push can have an identifier and segment-name.
Removes a record from the top of the internal compiler stack.
When used with push, assigns a name to the record on the internal compiler stack. When used with pop, pops records off the internal stack until identifier is removed; if identifier is not found on the internal stack, nothing is popped.
identifier enables multiple records to be popped with a single pop command.
The name of a segment. When used with pop, the stack is popped and segment-name becomes the active segment name.
Included for compatibility with C++ prior to version 2.0. It is ignored.