AGCB
Member
I've been starting to put some of the program routines that I use often into .inc files,
stored in MPASM/suite. It makes the visible program much shorter and easier to scroll.
At first I was getting an error "overwritng previous address" when I included them in the header. I found that if the include directive was put at the end of the program, that everything worked OK. But I don't remember seeing it this way in other peoples programs.
Am I doing something wrong or is this the way it should be done? It seems if there are any CBLOCK directives after the includes that there is where the problem lies. Thanks Aaron
stored in MPASM/suite. It makes the visible program much shorter and easier to scroll.
At first I was getting an error "overwritng previous address" when I included them in the header. I found that if the include directive was put at the end of the program, that everything worked OK. But I don't remember seeing it this way in other peoples programs.
Am I doing something wrong or is this the way it should be done? It seems if there are any CBLOCK directives after the includes that there is where the problem lies. Thanks Aaron