We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How to initialize the T89C51RB2 ? Does anyone as C source for that ? Thank's for advance...
Is it possible to include ASM code into C code ? Yes, but the implementation is crummy. Put the asm in a separate .a51 module. Erik
Oki thank's... Is it the only way to process ?
Is it the only way to process ? nope, but if you use #pragma 1) you need to do .src and then assemble 2) your debugger source will be the assemblerfor the entire C module By keeping the asm code separate 1) you just compile one and assemble the other of the 2 modules (simple) 2) your debugger source will be the C Either way works, you pick Erik
"if you use #pragma 1) you need to do .src and then assemble 2) your debugger source will be the assemblerfor the entire C module" 3). You will lose all symbolic information for the module - so you won't be able to use the Browser for it; 4). The module will always be re-translated on every build - whether it needs it or not; 5) You may lose some of the higher optimisations? (not so sure about this one).
5) You may lose some of the higher optimisations? (not so sure about this one). Nope. This was the case a long, long time ago (V3 or V4) but not today. Jon
"This was the case a long, long time ago (V3 or V4) but not today." Does that include the Linker code packing?