Questions tagged [mips64]
118 questions
0
votes
1 answer
conflict when cross compile octeon with mips64
I use buildroot201802 for cross compile tool.
when I compile with mips64el-linux-gcc *.c -march=octeon -mips64
here is what I got:
but I do have target kernel modules file:quicksec.ko which is octeon with mips64..
I'm wondering how to solve it.

caoxuan
- 1
- 2
0
votes
0 answers
MIPS branch statements don't seem to work
I am trying to see if a variable ($a2) from my main method is greater than 0. If it is greater, $v1 should become 7 and if it is less than or equal $v1 should become 10 and the function will return the respective number. When I run the code, it…

Austin
- 41
- 2
0
votes
1 answer
There is something wrong with the output of this program MIPS(double)
I am writing a program in MIPS to convert inches into centimeters, but the result is always evaluating to zero. I don't know where I did wrong. I have written the program below. It's compiling, but not evaluating the correct result, always giving…

Sami
- 466
- 1
- 5
- 12
0
votes
1 answer
How many bits of precision does a normalized double precision IEEE Floating Point number have?
How many bits of precision does a normalized double precision IEEE Floating Point number have? Is there sort of formula
what I found was this but I feel like it is wrong:
• +2-1022 to (2-2-52) * 21023

rezy3312
- 1
- 2
0
votes
1 answer
What conditions might cause an integer subtraction or addition to overflow? I don't get the difference
I do not get the difference between addition and subtraction, I have tried to look it up but still no answer. Please explain in the simplest way.
I know when addition, exceeds the maximum size of the integer type used to store it. When an integer…

rezy3312
- 1
- 2
0
votes
1 answer
understanding asm blocks written for gcc
what does the following assembly mean in simple C (this is meant to be compiled with gcc):
asm volatile
(
"mov.d %0,%4\n\t"
"L1: bge %2,%3,L2\n\t"
"gsLQC1 $f2,$f0,0(%1)\n\t"
"gsLQC1 $f6,$f4,0(%5)\n\t"
"madd.d…

Jack
- 520
- 2
- 16
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
0 answers
Error detected on pass 2 at Winmips64
I have some assembly code which is giving me the error:
Errors detetected on pass 2
It highlights the halt command at the end in red. If I press "ok", the program opens but when I try to run it, I think it behaves differently from what I expected…

J. VR
- 23
- 5
0
votes
1 answer
Read and display 2 numbers in mips
I'm new to MIPS. I want to ask how can I take 2 numbers from user and then display those numbers. I know how to do this this for 1 number.
.data
promt: .asciiz "Enter one number: "
message: .asciiz "\nNumber1 is: "
.text
#Promt the user…

Stelios Michael
- 9
- 1
- 6
0
votes
1 answer
Mips Assembler- How to get the length of a .ascii
I am new in this community. We are programming mips in university, and I need a solution for my problem in my homework.
We have to open a .pgm file and read the so called header (in this case with p5 format and variable length x wide ). When you…

Îshtar Temûz
- 1
- 1
0
votes
1 answer
How to build boringSSL with MIPS arch?
I am trying to build the boringSSL at the master branch for my Android project. I need to build it to support MIPS and MIPS64 as well. However, the CMakeLists.txt file simply does not have definition for this arch, and I got an error when generating…

David S.
- 10,578
- 12
- 62
- 104
0
votes
0 answers
how do I implement a jump address table in MIPS64?
I have to implement a switch/case statement using a jump address table in MIPS64 to run it in winmips64. I have search around for how to do this but the solutions are for mips32 using pseudo instructions that are not supported in winmips64. This is…

Raul
- 1
0
votes
0 answers
What is the FLOPs performance of MIPS64 architecture CPUs
I've been digging for quite some time and always hit a brick wall, when I try to estimate the FLOPs of a MIPS64 CPU series, that I'm evaluating for an embedded design. Moreover I can't seem to find how many floating point operations this CPU can do…

vlex
- 131
- 12
0
votes
1 answer
How to load MIPS code correctly in winMIPS64
I tried to load the following code into winMIOS64 but it the process failed because it gave me an error in line 2, could help me to identify the problem and if there other instructions should be changed??!!
.data
m1:.asciiz "enter the…
user5483831
0
votes
3 answers
RISC Assembly Programming Language
I want to know if there are exercises of RISC assembly programming language to do?I understand the assembly language but there is nothing to implement in assembly.So I want to know if there are some resources to implement programs in assembly?

sahiuldeen
- 3
- 1