Different between memory allocation types of "Small", "Tiny", and "Banked" in S08 MCUs?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Different between memory allocation types of "Small", "Tiny", and "Banked" in S08 MCUs?

321 次查看
mehdializadeh
Contributor II

Hi,
I am using mc9s08dz96 microcontroller with 8 MHz external clock osc and 96KByte of memory.

I will be glad if anyone tell me the different between memory allocation types of "Small", "Tiny", and "Banked" in S08 MCUs specially in the performance aspect which is so sensitive in my working era?

0 项奖励
1 回复

308 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

Tiny

By default all variables are in the zero page (direct memory access). Variables outside the zero page can be used with pragmas or the far keyword.

Small

By default all variables are outside the zero page (extended memory access). Variables in the zero page can be used with pragmas or the near keyword.

Banked 

By default, functions are called with the special CALL instruction.
All variables are outside the zero page (extended memory access) unless explicitely placed otherwise.
The banked memory model is only supported for devices with a MMU.

0 项奖励