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

Re: Long Integer Multiple Error

Think you.
I modified my source :

        printf("%lu * %bu = ", N, M);
        printf("%lu\n", Freq);

        Freq=25690112L;
        printf("%lu * %bu = ", Freq, 4);
        Freq*=4;
        printf("%lu\n", Freq);


It work correctly.
but the Long Integer Multiple fault also.

Run Result:
24500000 * 4 = 4294926936
25690112 * 4 = 1568

Parents
  • "A SIMULATOR simulates and as such will NEVER give you the full (and correct) story"

    i not think you be right with NEVER!!!!!!

    a dedacated simulator for a specifec cpu is posssible to give correct story

    a small correction:

    A SIMULATOR simulates and as such a simulator you can afford will NEVER ......

    re "a dedacated simulator for a specifec cpu" dream on.

    again: why not just spend 5 minutes and try it with your devboard and emulator instead if spending days discussing it

    Erik

Reply
  • "A SIMULATOR simulates and as such will NEVER give you the full (and correct) story"

    i not think you be right with NEVER!!!!!!

    a dedacated simulator for a specifec cpu is posssible to give correct story

    a small correction:

    A SIMULATOR simulates and as such a simulator you can afford will NEVER ......

    re "a dedacated simulator for a specifec cpu" dream on.

    again: why not just spend 5 minutes and try it with your devboard and emulator instead if spending days discussing it

    Erik

Children