Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/23/09 05:32
Read: times


 
#165551 - Is the same code.
Responding to: ???'s previous message
Are you sure?

Doesn't Keil have a generic 'CALL' pseudo-instruction that the assembler may ttanslate to either LCALL or ACALL as it sees fit?

If it does, then it might be using ACALL when the function is "local", and LCALL when it is EXTERN...?

Matt Chester said:
It works well on the debugger/simulator, but it totally hangs on the chip.

That could mean:
  • There is a fault in your target hardware;
  • There is a hardware-dependent fault in your code (eg, a timing issue), which happens not to manifest in he simulator;
  • Both of the above

  • List of 6 messages in thread
    TopicAuthorDate
    Keil multiple source files            01/01/70 00:00      
       Is the same code.            01/01/70 00:00      
          Keil simulator            01/01/70 00:00      
          Keil "Generic" calls & jumps            01/01/70 00:00      
             Uh-oh.            01/01/70 00:00      
          ACALL or LCALL the same            01/01/70 00:00      

    Back to Subject List