• Function returns structure problem in ARM926
  • A RET instruction does not return correctly (problem only with flash) !!!
    I have a problem in the context switch function of an OS. the switch function saves the context of the task that is running. Then, it sets the appropriate registers and need to jump to the task_function...
  • Saving Return Address on User Stack
    I've read the article that there is no support in the C167 KEIL compiler. Hence, I've tried to use MACRO assembler as follows. *DEFINE ( calls(Rx, Ry) ) LOCAL RETURN_LBL ( MOV R13, #SOF %RETURN_LBL...
  • Sizeof return in a structure
    Hi: I defined the following structure: struct ethernet_hdr { char destination[6]; char source[6]; unsigned short protocol; }; consisting on 14 bytes. When I use sizeof(struct ethernet_hdr...
  • Program works correctly in debugger only when i have a breakpoint set?!?!?!
    Im using the RTX51 Tiny RTOS Ok, here is my problem. Ive been pulling my fair out trying to figure this out. I have a program that recieves 2 bytes from the uart, and sends a 5 byte word back as a responce...