• Different memtype order necessary?
    Hi I'd like to put a struct typedef struct { U32 a; U8 b[8]; U8 c; } MyType; ... MyType xdata *pMyVar; in XRAM to a particular address section that starts at 0x1000. Therefore...
  • 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...
  • Cortex : Saving registers during interrupts
    Hi Want to know if there is a way to instruct the compiler to preserve more than the normal registers (R0-R3, R12, LR, PSR, and PC) during an interrupt. Regards Viktor Bucher
  • How to save context and registers using c programming ?
    Hi, Would like to understand how to save context and registers before entering STOP mode for 8051, and doing a reset, would restore all contexts and registers values ? I can't find any examples...
  • Debugging - Save register (or variable) content to a file
    Hi, I would like to know whether there is any way to save the content of a register (or a variable) to a txt file in my PC for debugging porpuses (plot the data). I am using Keil uVision 5 and the...