Questions about writing and running MIPS64 programs using the free EduMIPS64 simulator (www.edumips.org).
Questions tagged [edumips64]
6 questions
1
vote
1 answer
How do I access each word in Assembly?
Given:
.data
arr: .word 2,5,1,3,4
len: .word 5
sum: .word 0
How would I access each word in "arr" such as 2, 3 and 4?
Eventually, what I would like to do is find a sum of all of the values in "arr", but I'm having difficulty iterating through…

twoxmachine
- 517
- 2
- 7
- 16
0
votes
1 answer
How can I open edumips.jar?
I want to run edumips.jar. Whenever I try to open, Java control panel is opened.
When I execute:
strong text
It is first time to download java and excecute .jar file.
What I want:
Please tell me what I'm doing wrong...

marks jun
- 25
- 4
0
votes
1 answer
Printing a value entered by user using syscall 3 and syscall 5 EduMIPS64
I trying to read an input from user and print it.
In the beginning, I print a request to the user, the user enter a value and I want to print it.
.data
params_sys5: .space …

Asaf
- 107
- 1
- 12
0
votes
1 answer
Trying to understand the SYSCALL 5 example, the order of the literals % placeholder is confusing
I'm learning MIPS64 and using EduMIPS64 simulator.
I understand the instructions of the following example, I tried to execute it cycle after cycle but I don't get how the compiler knows which number or string matches to corresponding placeholder and…

Asaf
- 107
- 1
- 12
0
votes
1 answer
How to print an array, or a formatted string in EDUMIPS64 simulator?
The documentation for this program is extremely limited. There's almost nothing i can draw from in order to do that. Along with the PDF of the program there's only this:
.data
format_str: .asciiz "%dth of %s:\n%s version %i.%i is being…

KeyC0de
- 4,728
- 8
- 44
- 68
0
votes
2 answers
Porting a simple MIPS32 program to MIPS64
I am having some difficulty porting the following MIPS32 assembly program to a 64-bit equivalent.
The main issue that I am facing is the following line:
bgtz $s2, loop ; Branch from "loop" on "$s2" greater than zero.
I am not sure why this line…

Mr. Polywhirl
- 42,981
- 12
- 84
- 132