This is a diagram of the LC3 Computer
I am trying to understand what is happening in the parts I highlighted. The part I had highlighted had the instruction bit sign extended to 16 bits and then passed on to the SR2 Mux. Does anyone know what instruction is being carried out here or what the role of the mux(SR2) is here?
ADD r2, R3, #4
(not necessarily provided by LC-3) would select the immediate, whileADD r2, R3, R2
would select the register operand. $\endgroup$