Required parameter that determines the size of code and data pointers.

langtype

Optional parameter that sets the calling and naming conventions for procedures and public symbols.

stackoption

Optional parameter.

stackoption is not used if memorymodel is FLAT.

Specifying NEARSTACK groups the stack segment into a single physical segment (DGROUP) along with data. The stack segment register (SS) is assumed to hold the same address as the data segment register (DS). FARSTACK does not group the stack with DGROUP; thus SS does not equal DS.