+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2008
    Posts
    150
    Points
    276,855.02
    Rep Power
    194

    Default Incrementing/Decrementing Pointers

    Code:
    lui t0, $First half of pointer +0880
    lw t0, $Second half of pointer(t0)
    lw t2, $Offset(t0)
    addiu t2, t2, $Amount to increment by(ffff for decrement)
    sw t2, $Offset(t0)
    jr ra
    use this if u want to increment/decrement a undma'ed code
    took this straight out of SonniE's auto increment
    Guide written by DFZ
    Last edited by DFZ; 03-19-2009 at 12:36 AM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts