Difference between revisions of "To Coda"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00015b6c: 94c200ac lhu r2,0x00ac(r6) 00015b70: 00000000 nop 00015b74: 00021840 sll r3,r2,0x01 00015b78: 00621821 addu r3,r3,r2 00015b7c: 00031...")
 
m
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 
   
 
   
  00015b6c: 94c200ac lhu r2,0x00ac(r6)
+
  00015b6c: 94c200ac lhu r2,0x00ac(r6)         load repeat count
 
  00015b70: 00000000 nop
 
  00015b70: 00000000 nop
 
  00015b74: 00021840 sll r3,r2,0x01
 
  00015b74: 00021840 sll r3,r2,0x01
Line 8: Line 8:
 
  00015b80: 246300b0 addiu r3,r3,0x00b0
 
  00015b80: 246300b0 addiu r3,r3,0x00b0
 
  00015b84: 00c31821 addu r3,r6,r3
 
  00015b84: 00c31821 addu r3,r6,r3
  00015b88: 90620000 lbu r2,0x0000(r3)
+
  00015b88: 90620000 lbu r2,0x0000(r3)         get remaining loop count
 
  00015b8c: 00000000 nop
 
  00015b8c: 00000000 nop
  00015b90: 14400007 bne r2,r0,0x00015bb0
+
  00015b90: 14400007 bne r2,r0,0x00015bb0       end if looping
 
  00015b94: 00000000 nop
 
  00015b94: 00000000 nop
  00015b98: 8c640008 lw r4,0x0008(r3)
+
  00015b98: 8c640008 lw r4,0x0008(r3)           get on coda SMD instr. pointer
  00015b9c: 94c200ac lhu r2,0x00ac(r6)
+
  00015b9c: 94c200ac lhu r2,0x00ac(r6)         load repeat count
  00015ba0: 90630003 lbu r3,0x0003(r3)
+
  00015ba0: 90630003 lbu r3,0x0003(r3)        
 
  00015ba4: 2442ffff addiu r2,r2,0xffff
 
  00015ba4: 2442ffff addiu r2,r2,0xffff
  00015ba8: a4c3007e sh r3,0x007e(r6)
+
  00015ba8: a4c3007e sh r3,0x007e(r6)           store octave
  00015bac: a4c200ac sh r2,0x00ac(r6)
+
  00015bac: a4c200ac sh r2,0x00ac(r6)           store -1
 
  00015bb0: 03e00008 jr r31
 
  00015bb0: 03e00008 jr r31
 
  00015bb4: 00801021 addu r2,r4,r0
 
  00015bb4: 00801021 addu r2,r4,r0
 
</font>
 
</font>

Revision as of 00:40, 20 June 2024

00015b6c: 94c200ac lhu r2,0x00ac(r6)          load repeat count
00015b70: 00000000 nop
00015b74: 00021840 sll r3,r2,0x01
00015b78: 00621821 addu r3,r3,r2
00015b7c: 00031880 sll r3,r3,0x02
00015b80: 246300b0 addiu r3,r3,0x00b0
00015b84: 00c31821 addu r3,r6,r3
00015b88: 90620000 lbu r2,0x0000(r3)          get remaining loop count
00015b8c: 00000000 nop
00015b90: 14400007 bne r2,r0,0x00015bb0       end if looping
00015b94: 00000000 nop
00015b98: 8c640008 lw r4,0x0008(r3)           get on coda SMD instr. pointer
00015b9c: 94c200ac lhu r2,0x00ac(r6)          load repeat count
00015ba0: 90630003 lbu r3,0x0003(r3)          
00015ba4: 2442ffff addiu r2,r2,0xffff
00015ba8: a4c3007e sh r3,0x007e(r6)           store octave
00015bac: a4c200ac sh r2,0x00ac(r6)           store -1
00015bb0: 03e00008 jr r31
00015bb4: 00801021 addu r2,r4,r0