mips
Assembly code store byte/load byte
My task is to write an assembly code which will store the left most byte开发者_如何转开发 of $s1 in the location pointed by $t1. Here\'s what I have:[详细]
2023-02-16 01:54 分类:问答MIPS memory restrictions?
I would like to ask about memory accessing. When I execute a load word command, what memory restrictions exist? Meaning what\'s the biggest number I can use as offset or base register?[详细]
2023-02-15 21:31 分类:问答Which registers should be preserved in MIPS?
in MIPS which registers should be preserved on st开发者_JAVA技巧ack to prevent data loss. (T-S-A-V-RA REGISTERS)According to my MIPS reference sheet, the following registers are callee-saves (have to[详细]
2023-02-15 15:30 分类:问答What does this MIPS program do?
I know the program loads the address of .word 5 which is the initial value, I\'m getting confused as to what the program is actually doing. Is it comparing stacks of the word or adding.[详细]
2023-02-15 14:03 分类:问答Questions about MIPS Codes
How to wr开发者_开发技巧ite the following into MIPS instructions? $t0=$t1 if ($t6<$t7) go to Label.[详细]
2023-02-14 23:18 分类:问答MIPS storing and printing double precision numbers
I am trying to get inputs of double precision numbers stored and printed off an array. According to here, to read a double, you use $f0 with code 7[详细]
2023-02-14 21:39 分类:问答A Question about MIPS Instruction
Hey, how to perform an arithmetic right sh开发者_开发问答ift in MIPS instruction set?SLL and SLLV perform left shifts, but the question was about right shifts.[详细]
2023-02-14 15:07 分类:问答Function of eight saved registers (MIPS)
I came across this statement in my Computer Organization and Design (Patterson & Hennessy) book: $s0-$s7: eight saved 开发者_JAVA百科registers that must be preserved on a procedure call (if used[详细]
2023-02-13 11:56 分类:问答Running Android on Mips Architecture
If I have a set top box(Mips arch) with the source code(with a modified Linux kernel) which makes it run, and now I want to run Android on it, how do I proceed? Updating my kernel source by comparing[详细]
2023-02-13 03:39 分类:问答Copying elements from one array to another in MIPS assembly
I\'m new at MIPS and have been trying to copy elements from one array to another. I\'m unsure about how to go about this. It doesn\'t really matter what size the array is but lets just say for the s开[详细]
2023-02-13 01:14 分类:问答