Pointer MOV - r0ah/vitacheat GitHub Wiki
Pointer version of the MOV code type.
Note: The first line and second line has different values for the same bits.
- 8: Code-Type Identifier
- First Line:
-
X: Bit
-
0
- 8bit -
1
- 16bit -
2
- 32bit
-
- A3-A4: Pointer Level
- B1-B8: Valid Memory Address
- C1-C8: 1st Pointer Offset
- D1-D8: 2nd Pointer Offset (Optional)
- 88: (Not changeable)
-
X: Bit
- Second Line:
-
X: Bit
-
4
- 8bit -
5
- 16bit -
6
- 32bit
-
- A3-A4: Pointer Level
- B1-B8: Valid Memory Address
- C1-C8: 1st Pointer Offset
- D1-D8: 2nd Pointer Offset (Optional)
- 89: (Not changeable)
-
X: Bit
Note: Ellipses means you can add more pointer offsets.
Example of a level 1 pointer MOV:
_V0 Infinite MP
$8201 818714E8 00000E0C
$8800 00000000 00000000
$8601 815715D9 00000FDC
$8900 00000000 00000000
Copy (32bit) value from 0x815715D9 + 0xFDC
to 0x818714E8 + 0xE0C
.
Example of a level 3 pointer MOV:
_V0 Infinite MP
$8203 818714E8 00000E0C
$8200 00000000 0000000D
$8200 00000000 0000124D
$8800 00000000 00000000
$8603 815715D9 00000FDC
$8600 00000000 0000000C
$8600 00000000 00001255
$8900 00000000 00000000
Copy (32bit) value from 0x815715D9 + 0xFDC + 0x0C + 0x1255
to 0x818714E8 + 0xE0C + 0x0D + 0x124D
.