Store Combined Bit Value Pointer

From Final Fantasy Hacktics Wiki
Revision as of 19:13, 7 December 2024 by Glain (talk | contribs) (Created page with " # ROUTINE: STORE COMBINED BIT VALUE POINTER # Stores the pointer to a bit value that may span several bytes. The value can be combined via Get Combined Bit Valu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 #   ROUTINE: STORE COMBINED BIT VALUE POINTER
 #       Stores the pointer to a bit value that may span several bytes.  The value can be combined via Get Combined Bit Value From Stored Pointer.
 #       Parameters:
 #           r4 = (bitValuePointer) Pointer to value that contains bits to combine into a single value
 
 8012b1b4: 34020001 ori r2,r0,0x0001
 8012b1b8: 3c018019 lui r1,0x8019
 8012b1bc: a022e47c sb r2,-0x1b84(r1)                #   shouldResetReadBitIndex = true
 8012b1c0: 3c01801d lui r1,0x801d
 8012b1c4: ac24a6f0 sw r4,-0x5910(r1)                #   storedPtr = bitValuePointer
 8012b1c8: 03e00008 jr r31
 8012b1cc: 00000000 nop