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

Problem with passing parameters

Hey guys,

I've got a huge problem with passing arguments to an invoked function. It just doesn't work, at least sometimes... I can't figure out why this could possibly happen, but it does. My application is very small, just a few KB, thats why I dont assume there is a stack overflow or something like that. Any other guesses or maybe even solutions?

Thanks

Parents
  • "... where your going with this 'using 1'..."

    You qualified your ISR with 'using 1'. I'm suggesting that since some function parameters are passed in registers within a register bank, doesn't the called function need to know which register bank to use? Could it not knowing be the problem?

Reply
  • "... where your going with this 'using 1'..."

    You qualified your ISR with 'using 1'. I'm suggesting that since some function parameters are passed in registers within a register bank, doesn't the called function need to know which register bank to use? Could it not knowing be the problem?

Children