• St10 User stack
    Hi all, I have a question about ST10 user stack. In my linker file, I located it at 0xF0100, size x2000; so from 0xF0100 to 0xF20FF In my startup file, I can see the user stack init : MOV R0,#DPP2...
  • User Stack Placement
    I am considering placing the user stack into internal ram. It defaults into near which is assigned to the first 16k external ram. I am a bit confused about the asm in the startup file. The section Ex...
  • Checking User Stack during runtime
    Hello, i'd like to know how much space I need in the Userstack Area. I'd cleard the UserStack-Section in start_v2.a66. In my 'main.c' I'd like to have a function which shows me the Userstack. Therefore...
  • 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? ...
  • User Stack Pointer Corruption with Double Precision Arithmetic
    When using C167 simulation and double precision arithmetic, I ran into a problem. Things didn't seem to be working properly, so I inspected the generated assembly and found that the user stack pointer...