Can someone explain in simple terms how to write a sub for a multiple line code?
For example:
#Some Made up Code
0x00000004 0x00000000
0x00040000 0x00000000
0x00005000 0x00000000
0x00000050 0x00000000
I know the steps for writing a sub for a one line code...
Such as:
lui t0 $1stHalfAdd
lui t1 $1stHalfHex
lui t1, t1, $2ndHalfHex
sw t1, $2ndHalfAdd(t0)
Jr ra
And so on....
Can you show me sort of like I wrote it out above ^
How I would do this for multiple line codes?
I hope my question is easy to understand.
I basically want/need to know how to write a sub for a multiple line code.
Any help will be greatly appreciated and thanks!
----Edit----
If your answer helps me I will gladly donate some points.
----Added 24/5/2009 at 11:41 AM----
Thanks for the help!
I got it figured out.
But thanks for the help!
Bookmarks