User Tag List

Results 1 to 10 of 17

Thread: *NOOB PROOF* Subroutine Guide by TheEliteOne aka Jinzo X aka Crioshinx

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15
    Wu-Tang

    User Info Menu

    Re: *NOOB PROOF* Subroutine Guide by TheEliteOne aka Jinzo X aka Crioshinx

    little tip if the value of an address is an nop (0x00000000) you don't have to load the value just use the register zero.

    example:

    lui t0, $[first half]
    sw zero, $[sec. half] (t0)
    jr ra

    you could have shortened that routine like this:

    lui t0, $08a6
    lui t0, $03e0
    ori t0, t0 $0008
    sw t0, $2580 (t0)
    sw zero, $2584 (t0)
    jr ra

    and just add a hook to it. You don't have to, have two routines and use two hooks for it.
    Last edited by Lavent Sky; 11-16-2009 at 06:48 PM.
    "These cats they sentimental such with a gentle touch
    Dancin' double dutch and all sayin' nothin' much" -Black Thought

Tags for this Thread

Bookmarks

Posting Permissions

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