Computer Science, asked by venkat45131, 10 months ago

What could be the value of the register $t1 after executing the instruction SLL $t1,$t0,1 if the value of $t0=1010 0110 1100 0001 0000 0000 0000 0001

Answers

Answered by mariospartan
7

Answer:

The value of $t0=1010 0110 1100 0001 0000 0000 0000 0001 = 0100 1101 1000 0010 0000 0000 0000 0010

Explanation:

A shift left logical the value of a single bit moves to the left position. The zeros are replaced by low order bits and the higher bits are removed from the series.

The shifting of a single bit two times is equivalent to the shifting of a single bit by twice a position. The position is not affected if the number is shifted by zero position. When shifting the value N-bit pattern left by N more than one position of the bit changes.

Similar questions