80-8A (Simple Memory Copy)

8000000N XXXXXXXX

8AYYYYNF ZZZZZZZZ

N = Gecko Register X = Address to store Y = bytes to copy from N F = 2nd different Gecko Register Z = What address to write to

I know that sounds confusing so let me explain it.

Let's say the value at 80B81AC4 is constantly changing but you want to write that exact value to 80B81AC4. What you would do is first store the value from the first address into a gecko register. Then you would read that value and write it to the 2nd address.


ASM Template by PoptartHunter:

C0000000 00000005

3D60XXXX 616BXXXX

3D80XXXX 618CXXXX

81AB0000 91AC0000

4E800020 4E800020

E0000000 80008000


Red x's = address of the value you want to copy

Green x's = address that you want to write the copied values to


Example:

Addresses: 80493894

80493898

Code:

80000000 80493894

8A00040F 00493898