Escolar Documentos
Profissional Documentos
Cultura Documentos
ISPH
Exercicio 1.
Questes (F/V)
1.
2.
3.
4.
6.
Exercicio 2
Resposta
lw $t0, 36($s3)
add $t0, $s5, $t0
sw $t0, 12($s3)
#
#
#
$t0 B[9]
$t0 $s5 + B[9]
B[3] a + B[9]
a) lw $31,4($2)
b)
sw $17,12($18)
c)
Banco de Registradores
n. registrador
dados
0
1
2
3
.
15
16
17
18
.
30
31
90166000
00000008
00000004
00000018
00000014
0000000b
1234aedf
00000000
78002345
456789ee
00004000
endereo
dados
00000000h
00000004h
00000008h
0000000ch
00000010h
00000014h
00000018h
0000001ch
90166000
ff666e30
0000a000
00000000
1234aedf
00000000
00000000
00000000
...
...
fffffffch 0000000b
Exercicio 4
a) C= A+B
b) D = A-B
Exercicio 3