WorksheetsLogic and Shift Operations Quiz
Total questions: 10
Worksheet time: 5mins
True or False: The AND instruction performs a bitwise AND between two operands and stores the result in the source operand.
True
False
True or False: The NOT instruction inverts each bit of the operand.
True
False
True or False: In a logical shift left operation, the bits shifted out are replaced by zeros on the right.
True
False
True or False: The XOR instruction sets a bit to 1 if the bits in the operands are identical.
True
False
True or False: Arithmetic right shifts replicate the sign bit into the empty bit positions.
True
False
True or False: The OR instruction performs a bitwise AND between the operands.
True
False
True or False: A rotate operation, such as ROL, wraps bits around instead of discarding them.
True
False
True or False: The TEST instruction performs a bitwise AND between two operands and affects the status flags without altering the operands.
True
False
True or False: Logical shifts can be used to isolate specific fields within a binary word.
True
False
True or False: The SHR instruction shifts the operand left, inserting 0s into the lower bits.
True
False
