dot-model.md
May 1, 2024 ยท View on GitHub
Asmc Macro Assembler Reference
.MODEL
.MODEL memorymodel [[, langtype]] [[, stackoption]]
Initializes the program memory model. The memorymodel can be TINY, SMALL, COMPACT, MEDIUM, LARGE, HUGE, or FLAT. The langtype can be C, BASIC, FORTRAN, PASCAL, SYSCALL, STDCALL, FASTCALL, or VECTORCALL. The stackoption can be NEARSTACK or FARSTACK.