Setting a Size for Code Pointers

Within a custom memory model, you choose whether code pointers are short or long:

Option Size

/Asxx Short (near) code pointers
/Alxx Long (far) code pointers

The /As (short) option tells the compiler to generate near 16-bit pointers and addresses for all functions. This is the default for tiny-, small-, and compact-model programs.

The /Al (long) option means that far 32-bit pointers and addresses are used to address all functions. Far pointers are the default for medium-, large-, and huge-model programs.