• Calling convention
    I have some questions. What is the calling convention? What registers are used to pass parameters? What registers are used to return a result? What registers need to be preserved during a call...
  • Banked calls
    Excuse my limited knowledge on this... For proprietary reasons I must split my 8051 code so I can supply one section to a vendor who will perform testing on the product. I broke the code into Banks but...
  • Call functions
    Hi, I have some assembly routines located in ROM memory, for example asmfunc that is located at address 0xF700 - is absolute address of flash memory. The program memory is organized: ROM code...
  • indirect call
    Hello I have a function like this : static int yaffs_WriteChunkToNAND(struct yaffs_DeviceStruct *dev,int chunkInNAND, const __u8 *data, yaffs_Spare *spare) { . . . return dev->writeChunkToNAN...
  • SVC calls causes an exception
    Hello Cortex M3 experts, I have a FreeRTOS task that runs in Thread/unprivileged mode. When that task tries to execute a SVC instruction, I get a hard fault. But if the task is launched in privileged...