We are developing 186 based embedded C code for small memory model. And in future we are planning on using same C code for ARM processor under no OS.
At this moment, we are putting processor related macros in seperate .h file. Apart from this, what care should I take while developing the code?
Lastly, we are declaring a array of staructure as __far const. With this keyword compiler allocates memory in code memory and not is data segment. I am not sure, whether it is the way for Paradigm compiler. My question is, what does _far const mean for other compiler or is it ANSI standard?
Please let me know.