mars-simulator
Accessing one character in a string
I am using something like SPIMS or MARS with syscall functions. I am reading in a string (and it works because I can print it out) as follows:[详细]
2023-04-08 22:27 分类:问答How to load memory address without using pseudo-instructions?
I\'m trying to learn MIPS assembly language by myself using MARS simulator. For didactic reasons I\'m limiting myself to not using pseudo-instructions.[详细]
2023-04-02 03:43 分类:问答Reading an integer into a local variable in MIPS
How can I read an integer into a local varia开发者_如何学Pythonble in MIPS? The problem asks me to use the concept of assigning integer variables as local variables. (A question from my text book.)li[详细]
2023-03-25 15:08 分类:问答MIPS: How to sort
I need your help with this problem of sorting in MIPS assembly : how to write a MIPS program to read a text file containing only decimal integers and sort them in descending order.[详细]
2023-02-19 22:28 分类:问答Looking for instruction that flips/reverses bytes in a word
I need to flip/reverse the bytes in a 4-byte word, for the purpose of displaying it 开发者_开发百科on LED display.[详细]
2023-02-11 05:31 分类:问答invalid program counter value: 0
I\'m currently working with assembly language under the MIPS processor. I\'m currently using MARS simulator and for reasons unknown I get the following error message after every run:[详细]
2022-12-30 17:48 分类:问答reading the file name from user input in MIPS assembly
I\'m writing a MIPS assembly code that will ask the user for the file name and it will produce some statistics about the content of the file.[详细]
2022-12-25 20:53 分类:问答Creating (and accessing) an array in MIPS
I\'m trying to create an array in MIPS Assembly, and then add all the elements together.Ho开发者_StackOverflowwever, when I try to assemble the following, it says[详细]
2022-12-21 15:00 分类:问答