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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

322 Views
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 Kudos
1 Reply

309 Views
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 Kudos