FarPtr

FarPtr name, segment, offset

The FarPtr macro defines a 32-bit pointer value that can be passed as a single argument in a cCall macro. In the FarPtr macro, the segment and offset values do not have to be in registers.

Parameters

name

Specifies the name of the pointer to be created.

segment

Specifies the text that defines the segment portion of the pointer.

offset

Specifies the text that defines the offset portion of the pointer.

Examples

The following example demonstrates the usage of the FarPtr macro:

FarPtr  destPtr,es,<wordptr 3[si]>
cCall   proc,<destPtr,ax>