Menu
Forum
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Gallery
New media
New comments
Search media
Members
Registered members
Current visitors
Classifieds Member Feedback
SHOP
Shop Head Units
Shop Amplifiers
Shop Speakers
Shop Subwoofers
Shop eBay Car Audio
Log in / Register
Forum
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
Log in / Join
What’s new
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Menu
Reply to thread
Forum
Off-topic Discussion
The Lounge
Help, Programming HW, MIPS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="low00ranger" data-source="post: 5313151" data-attributes="member: 563341"><p>Man, I can't remember much of the assembly language stuff. It shouldn't be hard, you're doing the same logical process with a different algorithm. You have an integer as input and depending on the value of the integer, you want to perform one of 4 operations on the integer and return your output similar to what your fibonacci routine does. Unfortunately assembly doesn't read well and its been 6 years since I've done this so you'd have to clear up a couple things before I can fully realize what the program is doing. I can read C and Java any day but not assembly.</p><p></p><p>ble $a0, 1 , fib_done</p><p></p><p>Is this doing a less-than-or-equal-to-1 comparison to $a0, and jumping to fib_done if true?</p><p></p><p>jal fibonacci</p><p></p><p>What does this line do?</p><p></p><p>For the Perrin sequence are you wanting to modify the fibonacci number and return that as output, are you calculating the Perrin number on the same input integer and having that output in addition tot he fibonacci number, or what?</p></blockquote><p></p>
[QUOTE="low00ranger, post: 5313151, member: 563341"] Man, I can't remember much of the assembly language stuff. It shouldn't be hard, you're doing the same logical process with a different algorithm. You have an integer as input and depending on the value of the integer, you want to perform one of 4 operations on the integer and return your output similar to what your fibonacci routine does. Unfortunately assembly doesn't read well and its been 6 years since I've done this so you'd have to clear up a couple things before I can fully realize what the program is doing. I can read C and Java any day but not assembly. ble $a0, 1 , fib_done Is this doing a less-than-or-equal-to-1 comparison to $a0, and jumping to fib_done if true? jal fibonacci What does this line do? For the Perrin sequence are you wanting to modify the fibonacci number and return that as output, are you calculating the Perrin number on the same input integer and having that output in addition tot he fibonacci number, or what? [/QUOTE]
Insert quotes…
Verification
Post reply
Forum
Off-topic Discussion
The Lounge
Help, Programming HW, MIPS
Top
Menu
What's new
Forum list