Quick Research & Development Thread
View Single Post
August 28th, 2013 (9:32 AM).
Join Date: Nov 2012
Originally Posted by
Is there any way to swap the values of two registers?
r1 -> r2
r1 <- r2
Excuse my English but I use google translator: \
This question goes here
But anyway you could store r1 in r3, then put r2 in r1, then r3 in r2
r1 -> r3
r2 -> r1
r3 -> r2
But clear r3 afterwards. The command you should use is mov.
I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
The HGSS Music Patch
The BW/2 Music Patch
ASM: Switch Music Based on Seasons
Support me at my site!
Join us in the romhacking chat
Pokémon Platinum Red and Blue
Also Known As:
View Public Profile
Send a private message to GoGoJJTech
Find all posts by GoGoJJTech
Find threads started by GoGoJJTech