translate the pseudocode into MIPS assembly language -


1). for ( t0 = ´a´; t0 <= ´z´; t0++) mem[a0++] = t0;

2). t0 = 2147483647 - 2147483648;

for first one, kind of confuse how translate mem[a0++], beginner of mips, second, can't find out key point,just think can't simple,

anyone can explain please?

one more question, different between mult , multu, can example please?

1.

addi $t8 $zero 'z' addi $t0 $zero 'a' loop:      sw   $t0 0($a0)     addi $a0 $a0 1     addi $t0 $t0 1     ble  $t0 $t8 loop 

2.

addi $t0 $zero -1


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -