• Beginner question: stack pointer initialization
    Hi, I'm pretty new to ARM processor and STM32 microcontroller, so my question is very basic. In the startup file for a SW4STM32 project (eg startup_stm32f446xx.s) the stack pointer is set in Reset_Handler...
  • Beginner question: stack pointer initialization
    Hi, I'm pretty new to ARM processor and STM32 microcontroller, so my question is very basic. In the startup file for a SW4STM32 project (eg startup_stm32f446xx.s) the stack pointer is set in Reset_Handler...
  • General Question Re: Memory Models and Abstract Pointers
    Hi All. I'm becoming more familiar with C51's various memory models, but I could use some confirmation on one issue. Here's a code snippet: char CODE_B = 'B'; char CODE_C = 'C'; ... void TaskShow...
  • General Question Re: Memory Models and Abstract Pointers
    Hi All. I'm becoming more familiar with C51's various memory models, but I could use some confirmation on one issue. Here's a code snippet: char CODE_B = 'B'; char CODE_C = 'C'; ... void TaskShow...
  • function pointer
    hi all, do you think i can work around function pointers as following: extern void a(void); extern void b(void); void fptr(void *fp) { if (fp == a) a(); if (fp == b) b(); } void...