Difference between revisions of "Modify Data 1"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 001a8be0: 00a42823 subu r5,r5,r4 001a8be4: 00a60018 mult r5,r6 001a8be8: 00001012 mflo r2 001a8bec: 00021203 sra r2,r2,0x08 001a8bf0: 03e00008...")
 
m
 
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 
   
 
   
  001a8be0: 00a42823 subu r5,r5,r4
+
  001a8be0: 00a42823 subu r5,r5,r4 #b - a
  001a8be4: 00a60018 mult r5,r6
+
  001a8be4: 00a60018 mult r5,r6 #c(b - a)
 
  001a8be8: 00001012 mflo r2
 
  001a8be8: 00001012 mflo r2
  001a8bec: 00021203 sra r2,r2,0x08
+
  001a8bec: 00021203 sra r2,r2,0x08 #c(b - a) / 256
 
  001a8bf0: 03e00008 jr r31
 
  001a8bf0: 03e00008 jr r31
  001a8bf4: 00441021 addu r2,r2,r4
+
  001a8bf4: 00441021 addu r2,r2,r4 #c(b - a) / 256 + a
 
</font>
 
</font>

Latest revision as of 05:53, 19 March 2022

001a8be0: 00a42823 subu r5,r5,r4		#b - a
001a8be4: 00a60018 mult r5,r6			#c(b - a)
001a8be8: 00001012 mflo r2
001a8bec: 00021203 sra r2,r2,0x08		#c(b - a) / 256
001a8bf0: 03e00008 jr r31
001a8bf4: 00441021 addu r2,r2,r4		#c(b - a) / 256 + a