A is a 7-bit vector equal to “1001101”. Perform A sla 3.
A is a 7-bit vector equal to “1001101”. Perform A sla 3. Correct Answer 1101111
The operator sla performs shift left arithmetic, remaining bits are filled with the rightmost bit. A is shifted arithmetically to the left by 3 bits, remaining bits are filled with the rightmost bit.
মোঃ আরিফুল ইসলাম
Feb 20, 2025