Question: QUESTION 5: You are functioning as the microprocessor. An instruction comes in that says (in plain English): Step 1: Read the logical value in address
QUESTION 5: You are functioning as the microprocessor. An instruction comes in that says (in plain English): Step 1: Read the logical value in address 245 and copy it into register R1. Step 2: Read the logical value at memory address 249 and copy it into register R2. Step 3: Move the logical values contained in registers R1 and R2 into the ALU, and perform a Boolean OR operation against them. Step 4: Put the result into Register R3. Step 5: Move the logical value in register 3 to memory location 248. IMPORTANT: Remember the values stored in the memory addresses referenced by this instruction represent Boolean logical values! The result will likewise represent a logical (Boolean) value. Again, the context of the problem determines what the patterns of 0 and 1 stored in memory actually "mean." Show all work.
Memory Address Contents 1 6C3 245 246 247 248 249 250 0 6B R2: (a) What is inside registers R1 and R2 after Step 2 completes? R1: (b) What is inside register R3 after step 4 completes? Show your work below! R3: (c) Update the memory contents table above to show what the memory will look like after Step 5 completes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
