View Single Post
  #394    
Old August 28th, 2013 (01:41 PM).
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote originally posted by gogojjtech:
This question goes here http://www.pokecommunity.com/showthread.php?p=7807384#post7807384
But anyway you could store r1 in r3, then put r2 in r1, then r3 in r2
Like this:
r1 -> r3
r2 -> r1
r3 -> r2

But clear r3 afterwards. The command you should use is mov.
Don't clear it, push it. So:

Push {r3}
Mov r3, r1
Mov r1, r2
Mov r2, r3
Pop {r3}
__________________

Paired with Simba
Reply With Quote