Difference between revisions of "00100348 - 00100380"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00100348: 20090000 addi r9,r0,0x0000 0010034c: 200a00fe addi r10,r0,0x00fe 00100350: 90880000 lbu r8,0x0000(r4) 00100354: 10a90008 beq r5,r9,0x...")
 
 
Line 1: Line 1:
 
<font face='Courier New'>
 
<font face='Courier New'>
 
   
 
   
  00100348: 20090000 addi r9,r0,0x0000
+
  00100348: 20090000 addi r9,r0,0x0000 r9 = 0
  0010034c: 200a00fe addi r10,r0,0x00fe
+
  0010034c: 200a00fe addi r10,r0,0x00fe r10 = 0xfe
  00100350: 90880000 lbu r8,0x0000(r4)
+
  00100350: 90880000 lbu r8,0x0000(r4) load byte of pointer
  00100354: 10a90008 beq r5,r9,0x00100378
+
  00100354: 10a90008 beq r5,r9,0x00100378 branch if 0x07ff masked text entry = 0
 
  00100358: 00000000 nop
 
  00100358: 00000000 nop
  0010035c: 310800fe andi r8,r8,0x00fe
+
  0010035c: 310800fe andi r8,r8,0x00fe
  00100360: 150a0002 bne r8,r10,0x0010036c
+
  00100360: 150a0002 bne r8,r10,0x0010036c branch if invalid text entry?
 
  00100364: 00000000 nop
 
  00100364: 00000000 nop
  00100368: 21290001 addi r9,r9,0x0001
+
  00100368: 21290001 addi r9,r9,0x0001 add 1 to text mask check?
  0010036c: 20840001 addi r4,r4,0x0001
+
  0010036c: 20840001 addi r4,r4,0x0001 add 1 to pointer
 
  00100370: 0401fff7 bgez r0,0x00100350
 
  00100370: 0401fff7 bgez r0,0x00100350
 
  00100374: 00000000 nop
 
  00100374: 00000000 nop
  00100378: 00041020 add r2,r0,r4
+
  00100378: 00041020 add r2,r0,r4 r2 = final pointer?
 
  0010037c: 03e00008 jr r31
 
  0010037c: 03e00008 jr r31
 
  00100380: 00000000 nop
 
  00100380: 00000000 nop
 
</font>
 
</font>

Latest revision as of 12:43, 18 February 2022

00100348: 20090000 addi r9,r0,0x0000		r9 = 0
0010034c: 200a00fe addi r10,r0,0x00fe		r10 = 0xfe
00100350: 90880000 lbu r8,0x0000(r4)		load byte of pointer
00100354: 10a90008 beq r5,r9,0x00100378	branch if 0x07ff masked text entry = 0
00100358: 00000000 nop
0010035c: 310800fe andi r8,r8,0x00fe		
00100360: 150a0002 bne r8,r10,0x0010036c	branch if invalid text entry?
00100364: 00000000 nop
00100368: 21290001 addi r9,r9,0x0001		add 1 to text mask check?
0010036c: 20840001 addi r4,r4,0x0001		add 1 to pointer
00100370: 0401fff7 bgez r0,0x00100350
00100374: 00000000 nop
00100378: 00041020 add r2,r0,r4		r2 = final pointer?
0010037c: 03e00008 jr r31
00100380: 00000000 nop