Assumes

Assumes segReg, segName

The assumes macro makes all references to data and code in the predefined segment given by the segName parameter relative to the segment register given by the segReg parameter. This macro is similar to the ASSUME assembler directive.

Parameters

segReg

Specifies the name of a segment register.

segName

Specifies the name of a predefined segment, CODE or DATA, or of a user-defined segment.

Examples

The following examples demonstrate the usage of the assumes macro:

assumes CS, CODE
assumes DS, CODE