ASM fail

Started by Deathwolf, August 05, 2010, 08:48:20 PM

Previous topic - Next topic

Deathwolf

#30
stwu r1,-80(r1)
stmw r14,8(r1)
lis r14,0x8003
ori r14,r14,0x5F94
lis r15,0x6000
ori r15,r15,0x0000
stw r15,0(r14)
lis r16,0x8003
ori r16,r16,0x6430
lis r17,0xA25F
ori r17,r17,0x0002
stw r17,0(r16)
lis r18,0x8003
ori r18,r18,0x5F88
lis r19,0x3803
ori r19,r19,0x0001
stw r19,0(r18)
lmw r14,8(r1)
addi r1,r1,80


assembly:

C2035F94 0000000A
9421FFB0 BDC10008
3DC08003 61CE5F94
3DE06000 61EF0000
91EE0000 3E008003
61306430 3E20A25F
61510002 92300000
3E408003 62525F88
3E603803 62730001
92720000 B9C10008
38210050 00000000

freez :/
lolz

AlexWong

I think you should use C0 code type instead of C2.
Unsatisfied w/o cheats.

Deathwolf

#32
Quote from: AlexWong on August 08, 2010, 04:31:42 PM
C0000000 00000005
3D808003 3D406000
914C5F94 3D40A25F
614A0002 914C6430
3D403803 614A0001
914C5F88 4E800020

Try this.

btw your code is wrong
you are not loading into a address.

you just write 3D808003 and then nop...
lolz

AlexWong

C0 code type doesn't need an address to load. It's not the same as C2 code type. You can test my codes in the game first.
Execute ASM
C0000000 NNNNNNNN
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
4E800020 00000000

Executes the NNNNNNNN lines of instruction placed under the code.
The instructions MUST end with a blr (0x4E800020).
Unsatisfied w/o cheats.