No string output in MIPS assembly code. I tried looking this up for sometime now and I can't seem to find a proper answer. The code below implements b ...
No string output in MIPS assembly code. I tried looking this up for sometime now and I can't seem to find a proper answer. The code below implements b ...
I've read through some Q&As about this error on here, but I still don't understand what it means. I have a code in which I try to calculate p(n, r ...
For our coursework we had to write code in MARS to calculate the memory address of a given coordinate. I wrote this code to calculate the memory ad ...
I have been given an exercise for my course and could use some help with it. We have to turn a pixel (row x column) into its memory address and print ...
I am trying to compile some C code with the intention of executing it on a Mips Linux o32 embedded system. I have simple C code, and compiled it wi ...
I wrote this code to check if something is a prime number or not. However, every time I run it with any input like 3, 4, 5 or 6 it gives --Prime-- ...
I'm sure I've done the math correct for both factoring and amicability, but it doesn't print past the range and I don't know why. Is my math incorrect ...
This MIPS simulator will read in a text file consisting of LC3100 machine code instructions (represented as decimal values), and execute the program, ...
I am writing a MIPS code for quicksort, and as a part of it, I need to write a main function that will first take an integer input from the user, N, w ...
Write a MIPS assembly language program that prompts the user to input 3 integers and then prints out the average of the 3 numbers (integer division is ...
I am trying to write a program in mips that creates a word array of memory addresses. Array: .word 0x10010008,0x1001000C, 0x1001000D, 0x10010007, 0x1 ...
So i'm new to the assembly language and mips . Im trying to use a procedure (or function). I checked with debug the values are ok but the problem come ...
Knowing my PC address is 0x00402000, what is it's value after a: beq $t0 $t0 64? How can I calculate this? ...
I'm a CS student at university, and I'm supposed to develop a MIPS assembly language program for an exam, but I do have a hard time designing it, espe ...
so i have a little program in mars assembly which gets the greatest common divisor: The result will be saved in register 2. Now my second task is, ...
I am attempting to convert the number 0x20014924 to a binary number. I am getting an unexpected binary readout: 0000 0001 0011 0001 0110 0111 0100 11 ...
I am trying to find out where I am going wrong with my MIPS code. I am tasked with translating the following C code: I have been given the followi ...
I am trying to optimize the following block of mips code and am struggling to find ways to reduce overall instructions or other ways of optimization. ...
I am trying to build a basic Mips program that takes a hardcoded string and converts lowercase chars to uppercase and vice-versa. I have managed to ma ...
I'm trying to implement a mips cpu and using a counter to mark down the cycles of execution of the benchmark programes. you can see from the gif abo ...