Code Generation
Application
s: small memory model
t: tiny memory model
The Assembler for the MC68HC(S)08 supports two different memory models. The default is the small memory model, which corresponds to the normal setup, i.e., a 64kB code-address space. The tiny memory model corresponds to the situation where the default RAM is in the zero page.
Note:
For the Assembler, the memory model does not matter at all. The memory model is used by the compiler to specify the default allocation of variable and functions. The Assembler has this option only to generate "compatible" object files for the memory model consistency check of the linker.
Note:
In the tiny memory model, the default for the compiler is to use zero-page addressing. The default for the Assembler is to still use extended-addressing modes. See the
Using the direct addressing mode to access symbols section to see how to generate zero-page accesses.
ASMOPTIONS=-Mt