PSP Coding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PSP Coding


 
HomeLatest imagesSearchRegisterLog in

 

 [Video Tutorial] How to Write a Subroutine

Go down 
2 posters
AuthorMessage
SXYxJeff

SXYxJeff


Posts : 47
Points : 55
Reputation : 0
Join date : 2010-09-29

[Video Tutorial] How to Write a Subroutine Empty
PostSubject: [Video Tutorial] How to Write a Subroutine   [Video Tutorial] How to Write a Subroutine I_icon_minitimeSat Oct 16, 2010 2:09 pm



j $first line of your sub
lui t0 $1/2 of your code +0880 (+1 if 2/2 is > than 8000)
lui t1 $1/2 of the codes value (+1 if 2/2 is > than 8000)
addiu t1 t1 $2/2 of the codes value
sw t1 $2/2 of your codes address(t0)
jr ra

I know i messed up but i felt to lazy to make a new one just to fix that error so ignore it Razz
Back to top Go down
-LeetGamer-
Admin



Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 30

[Video Tutorial] How to Write a Subroutine Empty
PostSubject: Re: [Video Tutorial] How to Write a Subroutine   [Video Tutorial] How to Write a Subroutine I_icon_minitimeSat Oct 16, 2010 3:32 pm

Surprised I made one of these the other day Smile
Back to top Go down
 
[Video Tutorial] How to Write a Subroutine
Back to top 
Page 1 of 1
 Similar topics
-
» How to Write a two code Subroutine!
» [Video Tutorial] MIPS Coding
» Basic Jokering Tutorial
» [HELP] ADDRESSES IN 1 SUBROUTINE.
» DML Subroutine Writer Generator

Permissions in this forum:You cannot reply to topics in this forum
PSP Coding :: PSP Section :: PSP Coding Tutorials :: MIPS-
Jump to: