Re: A92: PLEASE ! > HELP ! Interrupt & stack ! PLEH <


[Prev][Next][Index][Thread]

Re: A92: PLEASE ! > HELP ! Interrupt & stack ! PLEH <




> 
> I have an other question... Is the CCR register destroyed by the interrupt routine ? Because If it break the program just after a 'cmp', it could crash the program. If it is destroyed, how could I do to save it and then restore it, since the 'move from CCR' doesn't work on the 68000.
> 
When an interrupt is called, sr is pushed on the stack, and it is poped when 
you return by RTE. And ccr is a part of sr if I don't mix everything.


References: