Top "Mips" questions

MIPS is a RISC instruction set architecture (ISA).

the functions (procedures) in MIPS

I'm new in MIPS language and I don't understand how the functions (procedures) in the MIPS assembly language work. Here …

function mips procedure
MIPS: relevant use for a stack pointer ($sp) and the stack

Currently I'm studying for my computer organization midterm, and I'm trying to fully understand the stack pointer and the stack. …

assembly mips
Printing newline in MIPS

I'm using MARS MIPS simulator and I want to print a newline in my program. .data space: .asciiz "\n" .text …

mips system-calls
Jump instruction in MIPS Assembly

Here is some MIPS assembly code I wrote to test the jump instruction: addi $a0, $0, 1 j next next: j skip1 …

assembly mips
What is the difference between unconditional branch and unconditional jump (instructions in MIPS)?

You may look into Wikipedia or short summary for students. Everybody says that there are two instructions for the same …

assembly mips
Assembly language (MIPS) difference betweent addi and add

I'm trying to understand the difference between using addi and add, does both do the same thing? e.g addi $…

assembly mips
MIPS assembly language - temporary register vs saved registers

So far I have been using registers $s0-$s9 and same way as registers $t0-$t9. I have …

assembly mips
MIPS assembly: how to declare integer values in the .data section?

I'm trying to get my feet wet with MIPS assembly language using the MARS simulator. My main problem now is …

assembly mips
MIPS Assembly - lui $t0, 4097?

Can someone explain me how does lui works, what does "4097" stand for, what does adding 8 to $t0 mean? .data 0x10010000 …

assembly mips
Convert String of ASCII digits to int in MIPS/Assembler

Im writing some MIPS code to take a string of ASCII digits and convert the string into an integer. The …

arrays string int mips atoi