This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Register Banks are not allocated by the Linker

I wrote a code with several ISRs. I use the using command when calling ISR. I use banks 1 and 2 for the ISRs.
when i look into the *.M51 file created after compilation i got the following: TYPE BASE LENGTH RELOCATION SEGMENT NAME -----------------------------------------------------

* * * * * * * D A T A M E M O R Y * * * * * * * REG 0000H 0008H ABSOLUTE "REG BANK 0" REG 0008H 0008H ABSOLUTE "REG BANK 1" DATA 0010H 0004H UNIT _DATA_GROUP_ 0014H 000CH *** GAP ***
I wonder why the Linker doesn't reserves memory for REG bank 2?

Parents Reply Children