Can someone with great Asm Skills help me with making this code? I want the Commands to be the same for the n64 disassembler. I am trying to port a game and noticed the commands Are different for the N64 Dissassembler. The actual code is at 8017CBAC (N64) on the n64 disassembler, if you change it (20) the instruction goes to Addi. However on the Wiird Disassembler it Says Subfic when changed. Does anyone know how i would change the values so that the Commands are similar and/the code works?
N64 disassembler Wii Dissembler
Address Command Parameters Address Command Parameters Value
8017CB04 NOP 81099BE4 .word 0x00000000 00000000
8017CB08 ADDIU SP,SP,0x0024 81099BE8 .word 0x27BDFFD8 27BDFFD8
8017CB0C SW RA,0x0024(SP) 81099BEC lhau r29,36(r31) AFBF0024
8017CB10 LWC1 F2,0x0000 (A3) 81099BF0 lfsu f7,0 (r2) C4240180
8017CB14 LUI AT,0x801E 81099BF4 subis r0,r1,32738 3C01801E
8017CB18 LWC1 F4,0x0180 (AT) 81099BF8 lfsu f1,384 (r4) C4240180
8017CB1C ABS.S F0,F2 81099BFC .word 0x46001005 46001005
8017CB20 LW A3, 0x0038(SP) 81099C00 lbzu r29,56 (r7) 8FA70038
8017CB24 C.LT.s F0, F4 81099C04 .word 0x4604003C 4604003C
8017CB28 LWC1 F6,0x003C(SP) 81099C08 lfsu f29,60(r6) C7A6003C
8017CB2C BC1FL 0x8017CB40 81099C0C .word 0x45020004 45020004
8017CB30 MTC1 R0,F8 81099C10 .word 0x44804000 44804000
8017CB34 BEQ R0,R0,0x8017CB6C 81099C14 .word 0x1000000D 1000000D
8017CB38 OR V0,R0,R0 81099C18 .word 0x00001025 00001025
8017CB3C MTC1 R0,F8 81099C1C .word 0x44804000 44804000
8017CB40 LWC1 F10,0x0018(SP) 81099C20 lfsu f29,64(r10) C7AA0040
8017CB44 SWC1 F6,0x0010(SP) 81099C24 .word 0xE7A60010 E7A60010
8017CB48 SWC1 F2,0x001C(SP) 81099C28 .word 0xE7A2001C E7A2001C
8017CB4C SWC1 F10,0x0018(SP) 81099C2C .word 0xE7AA0018 E7AA0018
8017CB50 JAL 0x8017C540 81099C30 .word 0x0C05F150 0C05F150
8017CB54 SWC1 F8,ox0014(SP) 81099C34 .word 0xE7A80014 E7A80014
8017CB58 BEQL V0,R0,0x8017CB6C 81099C38 rlwimi r0,r2,0,0,2 50400004
8017CB5C OR V0,R0,R0 81099C3C .word 0x00001025 00001025
8017CB60 BEQ R0,R0,0x8017CB6C 81099C40 vmaxub v0,v0,v0 10000002
8017CB64 ADDIU V0,R0,0x0001 81099C44 .word 0x24020001 24020001
8017CB68 OR V0,R0,R0 81099C48 .word 0x00001025 00001025
8017CB6C LW RA, 0x0024(SP) 81099C4C lbzu r29,36(r31) 8FBF0024
8017CB70 ADDIU SP,SP,0x0028 81099C50 .word 0x27BD0028 27BD0028
8017CB74 JR RA 81099C54 .word 0x03E00008 03E00008
8017CB78 NOP 81099C58 .word 0x00000000 00000000
8017CB7C ADDIU SP,SP,0xFF28 81099C5C .word 0x27BDFF88 27BDFF28
8017CB80 SDC1 F20,0x0018(SP) 81099C60 .word 0xF7B40018 F7B40018
8017CB84 SDC1 F22, 0x0020(SP) 81099C64 .word 0xF7B60020 F7B60020
8017CB88 MTC1 A3, F20 81099C68 .word 0x4487A000 4487A000
8017CB8C LWC1 F22,0x0088(SP) 81099C6C lfsu f29,136(r22)C7B60088
8017CB90 SW RA,0x0034(SP) 81099C70 lhau r29,52(r31) AFBF0034
8017CB94 SDC1 F24,0x0028(SP) 81099C74 .word 0xF7B80028 F7B80028
8017CB98 SW A0,0x0078(SP) 81099C78 lhau r29,120,(r4)AFA40078
8017CB9C SW A2,0x0080(SP) 81099C7C lhau r29,128(r6) AFA60080
8017CBA0 LWC1 F4,0x0090(SP) 81099C80 lfsu r29,144(r4) C7A40090
8017CBA4 MFC1 A3,F20 81099C84 .word 0x4407A000 4407A000
8017CBA8 LW A0,0x0080(SP) 81099C88 lbzu r29,120(r4) 8FA40078
8017CBAC LW A2,0x0080(SP) 81099C8C lbzu r29,128(r6) 8FA60080
8017CBB0 SWC1 F22,0x0010(SP) 81099C90 .word 0xE7B60010 E7B60010
8017CBB4 SW A1,0x007C(SP) 81099C94 lhau r29,124(r5) AFA5007C
8017CBB8 JAL 0x8017A09C 81099C98 .word 0x0C05E827 0C05E827
8017CBBC SWC1 F4,0x0014(SP) 81099C9C .word 0xE7A40014 E7A40014
8107CBC0 LW A1,0x007C(SP) 81099CA0 lbzu r29,124(r5) 8FA5007C
8107CBC4 BNEZ V0,0x8017CBD4 81099CA4 .word 0x14400003 14400003