*One-Digit JP*
Jump to navigation
Jump to search
*One-Digit JP* 00080cf8: 8fa2002c lw r2,0x002c(r29) Load Number's 10's Digit 00080cfc: 00000000 nop 00080d00: 14400020 bne r2,r0,0x00080d84 Branch if Number >= 10 00080d04: 02002021 addu r4,r16,r0 r4 = Load Numerical? Display Pointer 1 00080d08: 00002821 addu r5,r0,r0 Section Counter = 0 00080d0c: 2406fff9 addiu r6,r0,0xfff9 X Shift = -0x07 00080d10: 2407ffe8 addiu r7,r0,0xffe8 Y Shift = -0x18 00080d14: 340200b4 ori r2,r0,0x00b4 00080d18: afa20010 sw r2,0x0010(r29) Store X Location = 0xb4 00080d1c: 340200b8 ori r2,r0,0x00b8 00080d20: afa20014 sw r2,0x0014(r29) Store Y Location = 0xb8 00080d24: 3402000c ori r2,r0,0x000c 00080d28: afa20018 sw r2,0x0018(r29) Store Image Width = 0x0c 00080d2c: 34020009 ori r2,r0,0x0009 00080d30: afa2001c sw r2,0x001c(r29) Store Image Height = 0x09 00080d34: 0c01ed3b jal 0x0007b4ec Store Display Data 00080d38: afa00020 sw r0,0x0020(r29) Store Y Location Byte 2? = 0 00080d3c: 02402021 addu r4,r18,r0 r4 = Load Numerical? Display Pointer 2 00080d40: 00002821 addu r5,r0,r0 Section Counter = 0 00080d44: 2406fff2 addiu r6,r0,0xfff2 X Shift = -0x0e 00080d48: 2407ffe0 addiu r7,r0,0xffe0 Y Shift = -0x20 00080d4c: 8fa20028 lw r2,0x0028(r29) Load Number's 1's Digit 00080d50: 34030030 ori r3,r0,0x0030 00080d54: afa30014 sw r3,0x0014(r29) Store Y Location = 0x30 00080d58: 34030008 ori r3,r0,0x0008 00080d5c: afa30018 sw r3,0x0018(r29) Store Image Width = 0x08 00080d60: 34030010 ori r3,r0,0x0010 00080d64: afa3001c sw r3,0x001c(r29) Store Image Height = 0x10 00080d68: afa00020 sw r0,0x0020(r29) Store Y Location Byte 2? = 0 00080d6c: 000210c0 sll r2,r2,0x03 Number * 8 00080d70: 244200a8 addiu r2,r2,0x00a8 Number * 8 + 0xa8 00080d74: 00021400 sll r2,r2,0x10 00080d78: 00021403 sra r2,r2,0x10 00080d7c: 080203bf j 0x00080efc 00080d80: afa20010 sw r2,0x0010(r29) Store X Location = Number * 8 + 0xa8