This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Silab IDE Disassambled code

My program runs fine on uvision simulation (nothing to do with Silab peripherials). Same program shows (long multiplied by long) calling C:0000

My tool integration shows both, uvision and Silab are using same programs. Silabl people could not help.

Parents
  • What I mean is code compiled in Uvision gives proper disassembly code. But Compiled under Silab IDE disassembly code is not proper:

    eg. csource:
    unsigned long i,j,k;
    j=0x1234;
    k=8760;
    i=j*k;

    Last statement results in Uvision :
    LCALL ?C?SLDIV

    but in silab disassembly is:
    LCALL 0000

    and silab code resets processor when Lcall 0000 executed.

Reply
  • What I mean is code compiled in Uvision gives proper disassembly code. But Compiled under Silab IDE disassembly code is not proper:

    eg. csource:
    unsigned long i,j,k;
    j=0x1234;
    k=8760;
    i=j*k;

    Last statement results in Uvision :
    LCALL ?C?SLDIV

    but in silab disassembly is:
    LCALL 0000

    and silab code resets processor when Lcall 0000 executed.

Children