is it possible to change "memory model" for a function in an object module for example " small defined in an object" using a linker directive or some other way ? any idea ?
is it possible to change "memory model" for a function Well, you can specify the memory model for a function. Just type the memory model after the function argument list before the open curly brace. Refer to: http://www.keil.com/support/man/docs/c51/c51_le_funcdecls.htm Jon
I meant to change in an object file not in source file. Defined in an object small and I want to change large
A memory model isn't just "defined" in an object file --- it's hardwired into the object code found in that file. The way to change that is to recompile the file with a different memory model option.