Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/03/00 07:03
Read: times


 
#3520 - Saving p2
I use port2 to access external ram

p2 has a unknown value and must be restored after the function

lcall func_that_destroys_p2

now to the question, how should i save p2?. Push p2, pop p2 doesnt work and not mov r0,p2, mov p2,r0 either.

List of 5 messages in thread
TopicAuthorDate
Saving p2            01/01/70 00:00      
RE: Saving p2            01/01/70 00:00      
RE: Saving p2            01/01/70 00:00      
RE: Saving p2            01/01/70 00:00      
RE: Saving p2            01/01/70 00:00      

Back to Subject List