View Single Post
Old August 28th, 2013 (9:32 AM).
GoGoJJTech's Avatar
GoGoJJTech GoGoJJTech is offline (WIP!)
Gold Tier
Join Date: Nov 2012
Location: Earth
Age: 17
Gender: Female
Nature: Jolly
Posts: 2,293
Originally Posted by trafalgar View Post
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
Like this:
r1 -> r3
r2 -> r1
r3 -> r2

But clear r3 afterwards. The command you should use is mov.
Reply With Quote