• 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...
  • Linking Order
    Hello, I'm using C51 v 5.10 BL51 v 3.52 uVision v 1.24 1.) When I link object files in the following order, the startup code is not run. Inspection of the .hex file shows that there is no...
  • Link Order
    Using the 8051 Assembler, how can one specify the order for linking programs? They are ordered correctly in my project, and apparently passed to the linker in the same order, but I must have the order...
  • assembler order
    What means this line in assembler? __user_libspace: 0x10000AE0 ES813Bf3 ADD R3, R1, #0x0001CC00 instruction at the addr 0x10000AE0 called a ADD order to add value in R1 to R3 - but what about...
  • hex file address order
    When I create a hex file for a C file the addresses are not in order. Is there an option in uVision to make sure they are in order? The addresses are fine when I use an assembly file.