[理工] [計組]-MIPS
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
推
10/17 02:57, , 1F
10/17 02:57, 1F
→
10/17 02:58, , 2F
10/17 02:58, 2F
→
10/17 02:58, , 3F
10/17 02:58, 3F
→
10/17 13:56, , 4F
10/17 13:56, 4F
討論串 (同標題文章)