| ??? 01/24/03 07:41 Read: times |
#37063 - RE: Steve--RE: Absolute code address at 0x00 |
That's a good point, Michael.
Basically, I had two modules: a main.a51 and an init.a51 (just trying to get the framework started). Anyhow, I had an SJMP START at the absolute address 0x00 (CSEG AT 0); all other modules (I hadn't implemented interrupt vectors yet) could be located anywhere in code space. However, I had used the CSEG directive in the init module as well. I was unaware that the linker is unable to relocate CSEG (or any other absolute) segments. Defining the init code segment using the RSEG directive solved the problem. Again, pardon me if this was obvious to everyone else; I'm new to the modular programming world. Regards. |
| Topic | Author | Date |
| Absolute code address at 0x00 | 01/01/70 00:00 | |
| RE: Absolute code address at 0x00 | 01/01/70 00:00 | |
| RE: Absolute code address at 0x00 | 01/01/70 00:00 | |
| Steve--RE: Absolute code address at 0x00 | 01/01/70 00:00 | |
| RE: Steve--RE: Absolute code address at 0x00 | 01/01/70 00:00 | |
| RE: Steve--RE: Absolute code address at 0x00 | 01/01/70 00:00 | |
RE: Steve--RE: Absolute code address at 0x00 | 01/01/70 00:00 |



