AnsweredAssumed Answered

What is (PC) after JSR is executed? - MC9S12XEP100

Question asked by Michael Tang on Oct 23, 2008
Latest reply on Oct 25, 2008 by Michael Tang
Let's assume current (PC)=0xF0BC, and current instruction is JSR [0x8F3E, PC]. After this instruction is excuted, what is (PC)?
 
According to Reference Manual, (PC) = ((0xF0BC+0x8F3E)) = (0x17FFA). Accually, PC is set to 0x0000. Could you please tell me what is happened?
 
The micro is MC9S12XEP100.
 
Thanks!
 
 
Added p/n to subject.


Message Edited by NLFSJ on 2008-10-23 03:28 PM

Outcomes