39 Topics

Member Avatar for
Member Avatar for desertblown

I am writting a program in PCSPIM and I need help with taking user input and adding it to an existing string in my data declaration. I only need this little tidbit. Thanks :)

Member Avatar for desertblown
0
120
Member Avatar for kwins

I am a beginner in MIPS and we're given this assignment to write a programs in MIPS to convert binary string to decimal i do some research and I found some helpful information: TO convert a binary number to decimal Let X be a binary number, n digits in length, …

0
282
Member Avatar for matrixcool

I'm stuck here ! I hava a txt file that contains only integers , I opened the file and read its contents into an array of characters. [CODE] li $v0, 13 # system call for open file la $a0, file # output file name li $a1, 0 # Open for …

Member Avatar for rubberman
0
3K
Member Avatar for rotexhawk

Hello, I am trying to compare two characters of different strings but it quits the loop. I know i am accessing the right chars caz i have tested it with print multiple times. [CODE].data mainNumPhrases: .word 4 mainPhrases: .word mainPhrase1 .word mainPhrase2 .word mainPhrase3 .word mainPhrase4 mainPhrase1: .asciiz "abcdefghijklmnopqrstuvwxyz" mainPhrase2: …

0
144
Member Avatar for Jtibs

Hello, I am trying to write a MIPS program that uses a function call to return the index of the smallest character within an array. I have my code set up in a way I thought would be correct, but when I try to test it seems to not even …

0
127
Member Avatar for gujuplayer

I am not understanding how to convert a 2d array from c to Mips assembly. Like if you had int array[5][2]={{1,1},{2,2},{3,3},{4,4},{5,5}} how would you convert that to Mips assembly and access it like x=array[i][0] & y=array[i][0]?

0
88
Member Avatar for Jtibs

Hello, I'm looking for some help regarding a MIPS program I have to code. I am very new to MIPS and to these forums so if I am doing something wrong in terms of posting a thread please inform me of it. It has an array of integer values stored …

0
85
Member Avatar for dansnyderECE

I'm trying to replace some MIPS II instructions using MIPS I - namely the branch likely instructions. I'm having difficulty deciding how to do this. Assume that the branch delay slot is implemented. First off, a branch likely is an instruction that when taken, executes the delay slot instruction whereas …

Member Avatar for dansnyderECE
0
123
Member Avatar for dansnyderECE

I'm trying to compile a c# file and generate an asm or s file to be disassembled and run in PSIM. Whenever I try to do this I get errors. I am attempting to compile to mipsI-linux. I think I've determined that my cross compiler that was given to me …

0
67

The End.