Codetype 8A/8C Memory Copy 1/2

Started by Deathwolf, August 21, 2010, 11:06:54 PM

Previous topic - Next topic

Deathwolf

CST5 : Memory Copy 1

8AYYYYNM XXXXXXXX
copy YYYY bytes from [rN] to [rM]+XXXXXXXX

8AYYYYNF XXXXXXXX
copy YYYY bytes from [rN] to ba+XXXXXXXX

9AYYYYNF XXXXXXXX
copy YYYY bytes from [rN] to po+XXXXXXXX

CST6 : Memory Copy 2

8CYYYYNM XXXXXXXX
copy YYYY bytes from [rN]+XXXXXXXX to [rM]

8CYYYYFM XXXXXXXX
copy YYYY bytes from ba+XXXXXXXX to [rM]

9CYYYYFM XXXXXXXX
copy YYYY bytes from po+XXXXXXXX to [rM]

does it mean, you can copie values from a address to another?
lolz

matt123337

yes and no, it's used to move data into and out of registers. Like you could copy some value from one address into some register, then from that register into the new mem location, but i would just use gecko registers for that :P

biolizard89

Quote from: matt123337 on August 22, 2010, 12:58:27 AM
yes and no, it's used to move data into and out of registers. Like you could copy some value from one address into some register, then from that register into the new mem location, but i would just use gecko registers for that :P
Are you certain?  I was under the impression that the "registers" referred to in that description are the Gecko Registers.  E.g. you would put an address in a GR, and be able to copy data to/from that address.  But I've never used that codetype, so I'll let someone else weigh in.   :)

matt123337

*facepalm* you're right...  That's what i get for trying to post when i'm tired.  and in the codetype doc they use grN and grM sooooooooo...