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
I have used successfully the line (example):
#include "filename.inc"
with a file containing the lines to be included. Looks like C-syntax, but works in my A51 Keil assembler.
And I do not know if there is something like:
$include "filename"
and have not the time to investigate this.
Yes it is look like C-Syntax. I will use it too in my code modules. A command like that saves you from lot of EXTRN commands in every code module.