• LJMP in C?
    What's the best way to do this in C? #pragma ASM LJMP APP_START; //Run app #pragma ENDASM ..or, is that it? APP_START does not exist. This is the launch point of an application loader. The...
  • Turn off LJMP in Compiler
    Is there any way to have the compiler NOT generate LJMP's and other jumps that use absolute addresses? I'm asking because I'm trying to copy a Flash loader into RAM, and so I'd like all my jumps...
  • STARTUP.A51 LJMP $C_START problem
    In STARTUP.A51 MOV SP,#?STACK-1 LJMP ?C_START It compile to MAIN.HEX @0x0400 MOV SP(0x81),#0x20 LJMP C:0441 LJMP main(C:0100) @0x0440 SJMP C:03D2 Why it jump into the middle...
  • How to use LJMP with variable address?
    I have a 16-bit address in the A register. I need to make a long jump to this address, however it seems there is no way to do this with assembly code. By looking at some assembly produced by Keil, when...
  • generic jmp and call to ljmp and lcall
    Is there a way to import old code that assembled with Intel's assembler (by apparently defaulting the generic jmp and call to 3 byte ljmp and lcall)? Is there a assemble directive or some other way to...