Darryl

RPAGE saving in interrupt

Discussion created by Darryl on May 7, 2013

I'm using CodeWarrior Development Studio for HCS12(X) 5.9.  I access paged ram from interrupts, so I have the -CpRPAGE option specified.  The resulting code at the start of the ISR is:

 

LDAA 0x16

PSHA

PSHA

 

I understand the first PSHA in this code, but what does the second PSHA accomplish?


Thanks

Outcomes