看板 Grad-ProbAsk 關於我們 聯絡資訊
In MIPS assembly,write an assembly language version of the following C code segment: intA[100],B[100]; for(i=1;i<100;i++) { A[i]= A[i-1]+B[i]; } At the beginning of this code segment,the only values in registers are the base address of arrays A and B in registers $a0 and $a1. Avoid the use of multiplication instructions-they are unnecessary. 小弟有點不知道這題要怎麼寫 希望有高手可以幫我解!!! 自己MIPS程度很低 希望幫解><" -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.136.149.162
qazwsxee:用組語寫下列的c程式~A跟B的基礎位址在$a0與$a1 10/17 02:57
qazwsxee:避免使用~不必要的"多元應用指令"(複合指令)~就是叫你用 10/17 02:58
qazwsxee:最簡易的那些指令去做 10/17 02:58
a124136906:恩恩~~謝謝大大幫我解除疑惑><" 10/17 13:56