P07 AddPrims

From Final Fantasy Hacktics Wiki
(Redirected from 00023bf0 - 00023c28)
Jump to navigation Jump to search

00023bf0: 3c0700ff lui r7,0x00ff
00023bf4: 34e7ffff ori r7,r7,0xffff          prim address bitmask
00023bf8: 3c08ff00 lui r8,0xff00             prim func. bitmask
00023bfc: 8cc30000 lw r3,0x0000(r6)
00023c00: 8c820000 lw r2,0x0000(r4)
00023c04: 00681824 and r3,r3,r8
00023c08: 00471024 and r2,r2,r7
00023c0c: 00621825 or r3,r3,r2
00023c10: acc30000 sw r3,0x0000(r6)
00023c14: 8c820000 lw r2,0x0000(r4)          this page has the same notes as P06 AddPrim because they're... identical?
00023c18: 00a72824 and r5,r5,r7
00023c1c: 00481024 and r2,r2,r8
00023c20: 00451025 or r2,r2,r5               only difference is p2 (r5) contains the start point of a list of primatives to be added to the main primative loop.
00023c24: 03e00008 jr r31
00023c28: ac820000 sw r2,0x0000(r4)