• Errors when assembling C51 enerated .src flle
    I have just revisited some old code which was compiled with the C51 C compiler - the code compiles ok (flow is C51->BL51->OH51). I now need to add some inline assembler. To check that the new flow (C51...
  • Errors when assembling C51 enerated .src flle
    I have just revisited some old code which was compiled with the C51 C compiler - the code compiles ok (flow is C51->BL51->OH51). I now need to add some inline assembler. To check that the new flow (C51...
  • C51 v8.17 saving/restoring all registers in interrupt function with assembly src
    C51 will generate different code for the following function: void timer1 (void) interrupt 3 { second; #pragma asm clr TF1 #pragma endasm } Compiler v8.08 code (edited) USING 0 timer1...
  • C51 v8.17 saving/restoring all registers in interrupt function with assembly src
    C51 will generate different code for the following function: void timer1 (void) interrupt 3 { second; #pragma asm clr TF1 #pragma endasm } Compiler v8.08 code (edited) USING 0 timer1...
  • How to view variables when stepping through .src files
    Hello, I have a variable of type Nat16 (unsigned int) which is called PulseWidth . In the function that fills the variable PulseWidth , there's some assembler code (#pragma asm/endasm included in...