• Save/Restore (Read/Write) Evaluation Board code (STM32L476G-EVAL)
    Its been a while since I've been on the Keil forums. Not exactly a fan of this new ARM forum format... yet. I am doing a project using a STM32L4xx MCU. While my PCB is out to fab, I will be writing the...
  • Save/Restore (Read/Write) Evaluation Board code (STM32L476G-EVAL)
    Its been a while since I've been on the Keil forums. Not exactly a fan of this new ARM forum format... yet. I am doing a project using a STM32L4xx MCU. While my PCB is out to fab, I will be writing the...
  • 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 save 2byte code address to stack manually
    Hello, I have a function void myfunc(int){...} I want to place the address of this function on the stack, so that later I can use RET to pop the address back. May I know how to do this in C code? ...