• inline assembly to ljmp
    What's the inline assembly to ljmp to 0x00040000? I tried: __asm { ljmp 0x00040000 } but I get an error, but no description of what the error is. And, I haven't found any help online for the...
  • 24b LJMP assembles incorrectly?
    LJMP "label" in 24 bit contiguous mode (80c400) appears to always compile neumonics for a LJMP 000000. What gives? LJMP immediate works fine. Anybody else run into this? 200012 02000000 F 282 LJMP...
  • 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...
  • Arithmetic using numeric constants
    Hello, We came across a mystery/bug yesterday. This was tested with C51 v9.53 (Simplicity Studio) and 9.56 (uVision). unsigned char data c; unsigned int data d; // The values 0x7B and 0xFF7B...
  • 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...