• restore registers at the end of a assembler function
    Hello to all, which registers do i have to restore at the end of a assembler function? Maybee the function is declared int my_weird_func(int,int,int); The ARM-assembler-function itself...
  • Stack save/restore code example
    Hi, I'm devlopping a application based on a 8-bit microcontroller and i'm looking for a code example in assembly in order to save/restore CPU stack (return address on 16 bits) in external RAM (xdata...
  • DpSel restore
    When dual dptr's are enabled, does the Keil Libraries restore the state of DpSel( the Dptr select register )?
  • Necessary to save used registers in assembly ?
    I am using assembly language routines called from C code. Within the assembly routines, is it necessary to save the registers used? Ex: MY_ASM_ROUTINE: PUSH ACC ; necessary ? CLR A ; overwrite...
  • Errors when assembling C51 enerated .src flle
    I have just revisited some old code which was compiled with the C51 C compiler - the code compiles ok (flow is C51->BL51->OH51). I now need to add some inline assembler. To check that the new flow (C51...