Top "Mips32" questions

Use this tag for questions related to the 32 bits version of the MIPS architecture instruction set.

MIPS assembly for a simple for loop

I need to translate this C code to MIPS assembly. Here is the C code: int tmp = 0; for (int j = 0; …

assembly mips mips32
Multiplication using Logical shifts in MIPS assembly

Can someone please give me pointers on how I can go about making a code that multiplies using shifts in …

assembly mips bit-shift multiplication mips32
what does .space do in mips?

I got this problem for an assignment in which we have put these number in an array and add them …

arrays assembly mips mips32
Why do we Sign Extend in load word instruction?

I am learning MIPS 32 bit. I wanted to ask that why do we Sign Extend the 16 bit offset (in Single …

mips isa mips32
implementing a processor ( mips single cycle )

i have a mini project , in this project i need to implement a MIPS single cycle processor by Verilog. here …

verilog computer-architecture mips32
Reversing a string in MIPS Assembly

I'm trying to prompt the user for the length of a string, allocate space for that string, then print it …

string assembly mips mips32 spim
What is the difference using NOP and stalls in MIPS

What difference does it make to use NOP instead of stall. Both happen to do the same task in case …

mips32
Assembly MIPS - How do I store an integer from the user into memory?

So, I have no idea how assembly works or what I'm doing. I thought I did, but of course I …

assembly mips mips32 spim
MIPS architecture syscall instruction

What is the role of syscall instruction in MIPS?

mips mips32 mips64
How to Display String array in MIPS

This is a very beginner program in MIPS programming in which I am trying to take input from user and …

string assembly mips mips32 pcspim