Suppose $t0 stores the base address of word array A and $s0 is associated with h, plz convert A[240] = A[240+h] to MIPS assembly code. Thank you.
HI
here is some code
ld $v0, $s0 .plus. 240 xplg st $s0, $v0
this is code for another cpu processor. not c51. not arm. not mips. not pic. very easy to convert to mips.
That's your homework. So you do it! Who knows, maybe a miracle will happen and you'll actually learn something in the process.
For starters it might be important to figure out the difference between a MIPS and any of the CPUs this company makes tools for...
View all questions in Keil forum