??? 05/17/10 16:53 Read: times |
#175978 - Manual Responding to: ???'s previous message |
The startup code is assembled by the linker from several crt*.asm sources. In the manual in chapter 12 called "Startup Code" a typical layout is shown.
The compiler certainly can clear P2 if you did not define a (virtual) SFR called _XPAGE to tell which sfr to use for setting the MOVX @Ri page as it defaults to P2. See also 4.1.1 "pdata access by SFR". Maarten |
Topic | Author | Date |
where do I find the SDCC startup code | 01/01/70 00:00 | |
have you tried 'find' | 01/01/70 00:00 | |
If you know what to look for ... | 01/01/70 00:00 | |
Manual | 01/01/70 00:00 | |
Common with a C{num} or CRT{xx} file | 01/01/70 00:00 | |
ASM extensions are often .asm , .s, .a51![]() | 01/01/70 00:00 | |
did not find | 01/01/70 00:00 | |
No org | 01/01/70 00:00 |