Question

In: Electrical Engineering

Assume $s0 = 0x00000005, compute the contents of the specified register after every step: sll $s1,...

Assume $s0 = 0x00000005, compute the contents of the specified register after every step:

sll $s1, $s0, 2 #$s1 = ?

or $s1, $s1, $s0 #$s1 = ?

andi $s1, $s1, 15 #$s1 = ?

andi $s2, $s2, 0 #$s2 = ?

nor $s2, $s2, $s1 #$s2 = ?

Solutions

Expert Solution

$s2 register value is not specified assumed as 0x5 and performed addi and nor operations.if you have any doubts regarding this ask me I will clarify .


Related Solutions

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT