We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using the Assembler of the Keil uVision IDE. I have wrote several modules of code that they have in common several elements such as data, flags and some sfr and Port Pins renames. What is the procedure of making an "include file" in order to $INCLUDE it in all of my code modules.
Best regards, Nick
My code is consisting of about 10 modules Now, i have to more over than 10 code lines of commands such as EXTRN CODE (),EXTRN DATA (), etc. in every code module for every common element between the modules (data and routines that are used in several modules of that code). With an INCLUDE my job will become simpler, because in every module i will have to add only one code line and that it will be an INCLUDE command. The problem is that in Keil uVision Assembler i do not know the procedure to make an INCLUDE file and and the assembly command to include it in my code. So, can you give me some help if you know Keil uVision Assembler and the procedure of the above things?
make the file, save it as Ralph.inc, you know how to include it in the .asm
I know some steps of the procedure but i do not know in the INC file what $commands is needed to be used in order to have the appropriate content to include in my modules.
i do not know in the INC file what $commands is needed to be used
neither do I --- because the answer is: NONE