Top "Mars-simulator" questions

MARS is a IDE and Simulator for programming in MIPS assembly language, created at the Missouri State University.

Reading and printing an integer in mips

My program is suppose to read an integer and print it back to the user but every time it just …

integer mips mars-simulator spim
Creating (and accessing) an array in MIPS

I'm trying to create an array in MIPS Assembly, and then add all the elements together. However, when I try …

arrays assembly mips mars-simulator
Reading files with MIPS assembly

I'm trying to write a program that reads in characters from a .dat file that correspond to different colors to …

file io mips mars-simulator
MIPS Address out of range (MARS)

I'm trying to write a simple code which save string and integer input into an array and then prints them (…

assembly mips mars-simulator
Accessing one character in a string

I am using something like SPIMS or MARS with syscall functions. I am reading in a string (and it works …

string assembly mips spim mars-simulator
invalid program counter value: 0

I'm currently working with assembly language under the MIPS processor. I'm currently using MARS simulator and for reasons unknown I …

assembly mips mars-simulator
error: "store address not aligned on word boundary"

I'm using MARS MIPS simulator and using the Digital Lab Sim. The purpose of my code is to show the …

mips mars-simulator
MIPS "la" pseudo instruciton

In MIPS, the la instruction translates into lui and ori. However, MARS Simulator does not seem to do that at …

assembly mips mars-simulator
Is mars MIPS simulator Big or Little Endian

I have to determine if the mars simulator is big or little endian as homework, this seems pretty straightforward at …

assembly mips endianness mars-simulator
Convert Binary to Decimal in MIPS, Assembly MARS

I am trying to convert binary to decimal in the MIPS language, using the MARS simulator. The program accepts a …

assembly mips base-conversion mars-simulator