Please help with this Assembly Language problem After the in

Please help with this Assembly Language problem:

After the instruction sit $t0, $tl, $t2 has been executed, what are possible values that will be stored in $t0? Can be any 32-bit value Only 0 Only 1 Either 0 or 1

Solution

d. Either 0 or 1

slt $t0,$t1,$t2

if $t1 < $t2, $t0 = 1 else $t0 = 0

Hence , $t0 can store either 0 or 1.

Please help with this Assembly Language problem: After the instruction sit $t0, $tl, $t2 has been executed, what are possible values that will be stored in $t0?

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site