View Single Post
Old Jun 18th, 2006, 12:51 PM   #4
mika
Newbie
 
Join Date: Jun 2006
Posts: 3
Rep Power: 0 mika is on a distinguished road
Quote:
Originally Posted by mika
This is not an issue in this case. When "branching" to a subroutine, (Beq in my case) coldfire saves PC on the stack, and then increments PC by the displacement needed to get to the branch location.

Actually my reply to you is complete garbage. You are absolutely right. When I read your comments late in the AM's I was quick to dismiss it because my brain was not functioning anymore. What I was using was indeed a conditional branch Bcc and what I actually wanted to do was branch to a subroutine. Which by backwards rationalization was what I did hence I replied by saying Pc is indeed saved on the stack. Ah, stories, a good night's sleep and I'm back in business. Thanks for replying.
mika is offline   Reply With Quote