In the same Module in diff. lines the assembler takes a 8- and 16-Bit Addr. for the correct in ST7LITE2.asm specified Hardw.Register EECSR. Therefor a phase inconsistency occurs in asm2.
I could solve his problem. See my answer to my other asm-problem.
Just now I haven't found the correct proceeding to build an application of e.g. 15 source files, 1 common INIT file, 1 common constant file, 1 common RAM file. For Testing I copy all needed source files in 1 big source file with ST7LITE2.asm, RAM.asm and CONSTANT.asm as #INCLUDE. After testing I copy back the debugged source code of each module in the big source file to the assosiated source code module. If you have a better solution which really works I would appriciate to know how. Kurt
Quote:
On 2004-03-22 06:30, Jatin wrote: How have you defined this register? Could you attach your mapping file and the file that is producing the error?