Microsoft KB Archive/27102

No .OBJ Created when Using “AT” Combine Type ID Number: Q27102

5.00 MS-DOS

Problem:

When I assemble my MASM program which uses the “AT” combine type, no object file is created.

Response:

This problem occurs for the following reasons:


 * 1) You have put all code and data in AT segments.
 * 2) AT segments are used to assign an address to a label. The replacement of label with address is done during assembly time, so the AT segment is gone before reaching the object module file.

The following is an example:

data1 segment AT 100 org 200 label: data1 ends

code segment push label code ends

The code segment pushes address 100:200 on the stack. During assembly, “label” is replaced by 100:200.