Consider byte: x = 1001_1101 . Do the following operations: Answer in this forma
ID: 3588649 • Letter: C
Question
Consider byte: x = 1001_1101. Do the following operations:
Answer in this format bbbb_bbbb c, where bbbb_bbbb is the value of x after the operation, c stands for carry. Leave only one space between them. Make sure you enterc after the number, not before. If there is no carry, just type bbbb_bbbb., do not enterc.
Answer each question independently., namely, x = 1001_1101, is before each question.
shl (1, x) =
shr (1, x) =
sar (1, x) =
rol (1, x) =
ror (1, x) =
rcl (1, x) =
rcr (1, x) =
Explanation / Answer
shl(1,x) = 0011_1010 1
shr(1,x) = 0100_1110
sar(1,x) = 1100_1110
rol(1,x) = 0011_1011
ror(1,x) = 1100_1110
rcl(1,x) = 0011_1011 1
rcr(1,x) = 1100_1110 1