Hi,
 
If you're using the small memory the size of code is limited:
— Compiler generates a more efficient switch table, provided that code fits into the range 0x0—0xFFFF.
 
There is a table showing the memory ranges:
Section  Small Model   Large Model
  Size  Range  Size  Range
CODE
(P: memory) 128 KB  0 - 0xFFFF  1 MB  0 - 0x7FFFF
DATA
(X: memory) 128 KB  0 - 0xFFFF  32 MB  0 - 0xFFFFFF
DATA
(X: memory)
character data 64 KB  0 - 0x7FFF  16 MB  0 - 0x7FFFFF
 
If small memory is limited for your project, we recommend you to switch to the large.
 
Regards
Pascal