Coding Questions and other Quandaries
(01-12-2022, 12:41 PM)Hackwiz Wrote:
  mr r12, r30 #ASM r30 holds the item address minus 0x150
  lis r11, 0x8000
  stw r12, 0x3F0 (r11)

You can get rid of the mr instruction and change the stw instruction stw r30, 0x03F0 (r11). The Destination Register's value always remains intact during a store instruction.

(01-12-2022, 12:41 PM)Hackwiz Wrote: At the beginning of the second race, There was an unexpected address (mem1) written there.
Will probably have to add a double check to that portion of the code.

But all in all, it does what I was hoping to do.
All ASM, no filler!!! Smile

andis. rD, rA, 0x1000
beq- mem1

Messages In This Thread
RE: Coding Questions and other Quandaries - by Vega - 01-12-2022, 11:22 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)