python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
MIPS function syscall printing random number/memory address instead of parameter
I'm new to MIPS and I'm trying to write a very basic function that takes 4 numbers (so 4 parameters) and adds them together. I'm doing it so 3 of the numbers are hard-coded in memory and the 4th numbe...
TorusWithSprinkles
Votes: 0
Answers: 0
Recursive Fibonacci MIPS
I started to read MIPS to understand better how my C++ and C code works under the computer skin. I started with a recursive function, a Fibonacci function.
The C code is:
int fib(int n) {
if(n == 0) {...
Pedro R.
Votes: 0
Answers: 1
MIPS (assembly) Print function not working as expected
I'm learning MIPS and trying to understand function calls and stuff. I wrote this basic 'printValue' function to print the value of a variable defined in Global memory, but it's printing 0 instead (it...
TorusWithSprinkles
Votes: 0
Answers: 0
How does MIPS assembler manage label address?
How does MIPS's assembler labels and J type instruction work?
I am currently making a MIPS simulator using C++ and came into a big question. How exactly does MIPS assembler manage label's and their ad...
Gooday2die
Votes: 0
Answers: 1