dataOFFSET

dataOFFSET arg

The dataOFFSET macro generates an offset relative to the start of the group to which the DATA segment belongs. It is similar to the OFFSET assembler operator but automatically provides the group name. For this reason, it should be used instead of OFFSET.

Parameters

arg

Specifies a label name or offset value.

Examples

The following example demonstrates the usage of the dataOFFSET macro:

mv ax,dataOFFSET label