Top "Mips" questions

MIPS is a RISC instruction set architecture (ISA).

Storing values in HI and LO registers of MIPS

I am writing certain code in MIPS and I've come to the point where the requirement is to store the …

assembly mips cpu-registers spim
Is there a way to use gcc to convert C to MIPS?

I completed a C to MIPS conversion for a class, and I want to check it against the assembly. I …

c gcc compilation mips cross-compiling
Why is x86 ugly? Why is it considered inferior when compared to others?

Recently I've been reading some SO archives and encountered statements against the x86 architecture. Why do we need different CPU …

assembly x86 mips x86-64 cpu-architecture
Mips: Computing the sum of two inputs

It seems very simple but I think my program won't compile because I'm overwriting the $v0 register? Thanks in advance …

assembly mips
MIPS Assembly - Arrays?

I am absolutely brand new to assembly programming and am trying to implement the following function (in C) in MIPS: …

c arrays assembly mips qtspim
Understanding Assembly MIPS .ALIGN and Memory Addressing

I'm taking this course, and I'm really struggling understanding the directive .align concept. Here's an example, which I couldn't understand: …

assembly mips
Why doesn't there exists a subi opcode for MIPS?

I am very new to Assembly language. I was reading about MIPS architecture and came to know that you have …

assembly mips cpu-architecture instructions instruction-set
MIPS fetch address not aligned on word boundary, used .align 4, still no go

any ideas? Why I am getting: Runtime exception at 0x00400020: fetch address not aligned on word boundary 0x00000007 Problem line …

mips alignment
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