Difference between revisions of "001a533c - 001a5390"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 001a533c: 3c03801c lui r3,0x801c 001a5340: 8c638a00 lw r3,-0x7600(r3) 001a5344: 00041080 sll r2,r4,0x02 001a5348: 3c01801b lui r1,0x801b 001a5...")
 
 
Line 2: Line 2:
 
   
 
   
 
  001a533c: 3c03801c lui r3,0x801c
 
  001a533c: 3c03801c lui r3,0x801c
  001a5340: 8c638a00 lw r3,-0x7600(r3)
+
  001a5340: 8c638a00 lw r3,-0x7600(r3) *0x801b8a00?
  001a5344: 00041080 sll r2,r4,0x02
+
  001a5344: 00041080 sll r2,r4,0x02 input * 4
 
  001a5348: 3c01801b lui r1,0x801b
 
  001a5348: 3c01801b lui r1,0x801b
  001a534c: 00220821 addu r1,r1,r2
+
  001a534c: 00220821 addu r1,r1,r2 table of words?
  001a5350: 8c2469b0 lw r4,0x69b0(r1)
+
  001a5350: 8c2469b0 lw r4,0x69b0(r1) a word dedicated to a byte. (good grief)
 
  001a5354: 34028000 ori r2,r0,0x8000
 
  001a5354: 34028000 ori r2,r0,0x8000
  001a5358: 00431023 subu r2,r2,r3
+
  001a5358: 00431023 subu r2,r2,r3 0x8000 - *0x801b8a00
  001a535c: 0044102a slt r2,r2,r4
+
  001a535c: 0044102a slt r2,r2,r4 set if above is less than r4
  001a5360: 10400005 beq r2,r0,0x001a5378
+
  001a5360: 10400005 beq r2,r0,0x001a5378 branch if not
 
  001a5364: 00000000 nop
 
  001a5364: 00000000 nop
 
  001a5368: 3c01801c lui r1,0x801c
 
  001a5368: 3c01801c lui r1,0x801c
  001a536c: ac248a00 sw r4,-0x7600(r1)
+
  001a536c: ac248a00 sw r4,-0x7600(r1) store r4 at 0x801b8a00 if old value is less than another value?
 
  001a5370: 080694e1 j 0x001a5384
 
  001a5370: 080694e1 j 0x001a5384
  001a5374: 00001821 addu r3,r0,r0
+
  001a5374: 00001821 addu r3,r0,r0 Stay on same pointer?
  001a5378: 00831021 addu r2,r4,r3
+
 +
  001a5378: 00831021 addu r2,r4,r3 r2 = add them together
 
  001a537c: 3c01801c lui r1,0x801c
 
  001a537c: 3c01801c lui r1,0x801c
  001a5380: ac228a00 sw r2,-0x7600(r1)
+
  001a5380: ac228a00 sw r2,-0x7600(r1) and then save them
 +
 
  001a5384: 3c02801c lui r2,0x801c
 
  001a5384: 3c02801c lui r2,0x801c
  001a5388: 8c428a04 lw r2,-0x75fc(r2)
+
  001a5388: 8c428a04 lw r2,-0x75fc(r2) load pointer to ?
 
  001a538c: 03e00008 jr r31
 
  001a538c: 03e00008 jr r31
  001a5390: 00621021 addu r2,r3,r2
+
  001a5390: 00621021 addu r2,r3,r2 Increase pointer by *0x801b8a00?
 
</font>
 
</font>

Latest revision as of 05:52, 22 March 2022

001a533c: 3c03801c lui r3,0x801c
001a5340: 8c638a00 lw r3,-0x7600(r3)			*0x801b8a00?
001a5344: 00041080 sll r2,r4,0x02			input * 4
001a5348: 3c01801b lui r1,0x801b
001a534c: 00220821 addu r1,r1,r2			table of words?
001a5350: 8c2469b0 lw r4,0x69b0(r1)			a word dedicated to a byte. (good grief)
001a5354: 34028000 ori r2,r0,0x8000
001a5358: 00431023 subu r2,r2,r3			0x8000 - *0x801b8a00
001a535c: 0044102a slt r2,r2,r4			set if above is less than r4
001a5360: 10400005 beq r2,r0,0x001a5378		branch if not
001a5364: 00000000 nop
001a5368: 3c01801c lui r1,0x801c
001a536c: ac248a00 sw r4,-0x7600(r1)			store r4 at 0x801b8a00 if old value is less than another value?
001a5370: 080694e1 j 0x001a5384
001a5374: 00001821 addu r3,r0,r0			Stay on same pointer?

001a5378: 00831021 addu r2,r4,r3			r2 = add them together
001a537c: 3c01801c lui r1,0x801c
001a5380: ac228a00 sw r2,-0x7600(r1)			and then save them

001a5384: 3c02801c lui r2,0x801c
001a5388: 8c428a04 lw r2,-0x75fc(r2)			load pointer to ?
001a538c: 03e00008 jr r31
001a5390: 00621021 addu r2,r3,r2			Increase pointer by *0x801b8a00?