Question: The LC-3 does not have a bitwise OR instruction, so we need to write code that will perform that operation. Which of the following snippets

The LC-3 does not have a bitwise OR instruction, so we need to write code that will perform that operation. Which of the following snippets of LC-3 assembly code would reproduce an instruction of the format: OR R3, R1, R2 ; i. e. write the bitwise OR of {R1, R2} into R3 NOT R1, R1 NOT R2, R2 AND R3, R1, R2 NOT R3, R3 NOT R1, R1 NOT R2, R2 AND R3, R1, R2 NOT R1, R1 NOT R2, R2 NOT R1, R1 NOT R2, R2 AND R3, R1, R2 AND R3, R1, R2 NOT R3, R3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
