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
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
MIPS "Invalid language element:" on symbol names like 1try_msg
.data
Initial_msg: .asciiz "\nLet's play a guessing game. \nFind out the number between 1 and 10 that I generated. \nEnter 0 to give up\n\n"
Bigger_msg: .asciiz "\nMy number...
Ramish Masood
Votes: 0
Answers: 0
What is the name of the default code model used by gcc for MIPS 64?
gcc for MIPS 64 is using a complex method to locate and invoke a function not present in the compilation unit. What is the name of this code model (and where is it documented)? I searched but did no...
Erik Eidt
Votes: 0
Answers: 1