Questions tagged [mips64]
118 questions
0
votes
1 answer
how to write float value in file in MARS MIPS simulator?
I am doing a project of Unit Converter in MARS MIPS simulator. I also need to store the results of conversions in a file. The result of conversion is a float which i need to store. I am using the…

wasif
- 1
- 1
0
votes
1 answer
MIPS while loop
I am working on a while loop for a mips program that generates the odds of winning the lottery. Here is what I have so far. Could you advise if you think this will work? Using an example of 59 picks with 3 balls.
Load 59 into $t0
Load 3 into…

Cfs0004
- 85
- 2
- 14
0
votes
0 answers
Storing up to 32 int into an array MIPS
I am trying to store numbers of type int into an Array in MIPS this is what I have so far, but obviously since I do not have enough registers to do it this way it is not efficient. In the ends I am pretty much sorting the array. Any help?
.data …

wade aston
- 105
- 3
- 14
0
votes
1 answer
Store Strings in MIPS
I will be short.
I am making a program in MIPS which intake Strings of 15 chars from user.
I am unable to save the string on stack.
Note the I am using a 2D Matrix [20][15] where 20 are string and each string have 15 character.
Please guide me. I…

user4618280
- 3
- 1
- 5
0
votes
1 answer
crosscompile can't find header files for net-snmp (i686/mips64)
I'm currently trying to cross compile onto mips64 using a shared object library, when I run the following command:
toby@cbmFinal:~/x-tools/mips64-n64-linux-gnu/bin$ ./mips64-n64-linux-gnu-gcc -I…

toocou
- 11
- 2
0
votes
0 answers
Crosscompiling with a shared object library
Bit of background: I have some C code I need to crosscompile onto a mips64-linux target from an i686-linux host, I only have a shared object library on the target (cross compiling the libraries on the host proved a challenge).
Is it possible and how…

toocou
- 11
- 2
0
votes
2 answers
Why do I get a syntax error when I try to cross compile libperl for mips64?
I'm trying to cross compile net-snmp for mips64, and in order to do that I need the libperl library. I tried to configure libperl for mips64 using the following command:
./Configure…

toocou
- 11
- 2
0
votes
1 answer
MIPS forwarding implementation (tough)
I think I understand the first part
(i). I at least have answers for this. I am not sure about where this implementation would fail though, for part ii? Part ii has me completely stumped. Does anyone know situations where this would fail?
If you…

user3023741
- 1
- 1
0
votes
1 answer
MIPS: How to print an integer(neg or pos) as a character string?
addi $t0,$t0,4
How can i print this $t0 as a character string? Is there a syscall method for that?

Halil Türkoğlu
- 13
- 2
0
votes
1 answer
MIPS-64 supported operating system
Is any operating system available for mips64 (with complete source code) which can run on QEMU as guest?
thank you

marry
- 307
- 2
- 7
- 20
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
0
votes
1 answer
MIPS Assembly - sw, add, sub, etc
I'm attempting to calculate the span of 10 numbers, but I'm stuck before I can begin. I am able to load the set into memory using my LW commands, but after than NOTHING is working. When I do a dump after execution NOTHING works. The 10 values are…

Brandon Smith
- 85
- 1
- 10
0
votes
1 answer
control+c signal in qemu
Can anyone please help me to understand how qemu handle control+c signal? And in which file? (or some useful links to understand it)
I want to make route (like call graph). Actually this signal is not working on my mips guest (but working on malta…

marry
- 307
- 2
- 7
- 20
0
votes
1 answer
What is wrong with the following instructions?
Stuck on a question while looking over my past exam papers. The question reads 'What, if anything, is wrong with the following instructions?'
.text
dadd r2,r0,10
j r3
dsub r4,r1,N(r0)

user2694640
- 1
- 1
0
votes
1 answer
Read value from Dcache (L1) vs global variable
Part of Dcache (L1) can be used as local memory on the cavium octeon architecture (base on the mips64).
I want to know which is faster;reading a value from this memory (Dcache) or from normal global variable (.data)?

ShadowStar
- 45
- 1
- 8