So me and AH are learning ASM now, and we've sort of figured some of it out, but there's problems when we tried to actually make a code.
So to start out, it's a really basic code. Slot cycler (U 1.0)
it should add 1 to whatever's in slot 1 (or so I thought)
and with comments (yay :D)Code:ldr r0,=0x021D88FE
add r1,r0,#1
str r1,[r0]
bx r14
and so the ARDS comes out asCode:ldr r0,=0x021D88FE ; store slot one in r0
add r1,r0,#1 ; r1 = r0 + 1
str r1,[r0] ; load r1 into r0
bx r14 ; end the branch
I put an R activator on itCode:023FF090 012FFF11
E0000000 00000014
E59F0008 E2801001
E5801000 E12FFF1E
021D88FE 00000000
023FF090 E3520003
so anyway, it work sort of... except it doesn't add 1 to the item...
I typed in 0019 in text to item to get a blue rose seed, then I checked (the blue rose seed was there)
then I tapped R and...
*poof* my blue rose seed had changed into an item with no name
I also tried making FFF0 into FFF1... but it just changed it into who knows what
EDIT: I also tried this one now:
getting this:Code:ldr r0,=0x021D88FE
ldr r1,[r0]
add r1,#1
str r1,[r0]
bx r14
and it gave me the same results... :/Code:94000130 FEFF0000
023FF090 012FFF11
E0000000 00000018
E59F000C E5901000
E2811001 E5801000
E12FFF1E 021D88FE
023FF090 E3520003
D2000000 00000000
I'm about to try this one:
Code:ldr r0,=0x021D88FE
ldr r0,[r0]
add r1,r0,#0x1
str r1,[r0]
bx r14
does that seem more right?Code:94000130 FEFF0000
023FF090 012FFF11
E0000000 00000018
E59F000C E5900000
E2801001 E5801000
E12FFF1E 021D88FE
023FF090 E3520003
D2000000 00000000
EDIT 2: that didn't work either, that just made no modifying to it at all