Hello, I need assistance with computer organization in MARIE program from questi
ID: 3707657 • Letter: H
Question
Hello, I need assistance with computer organization in MARIE program from question 4-7 please. 1000000000000Halt d. 0110 000000000111 out ut e0001 0000000011101 oad oda 4a. Give two functionally different reasons why two RITN commands canot cannot be executed in parallel. b. Here is a rewriting of the RTN for the add command adding a parallel instruction execution. MAR ?X MBR M[MAR]; ACAC + MBR Of your two reasons given in 4a., which one(s) prevent the parallel execution from occurring? Continued on BackExplanation / Answer
Solution 4(a):
The register operations cannot be executed in parallel if there is no conflict in the use of resources. Two reasons could be.
solution 4(b):
In the given example the two instructions are doing simultaneous transfer on the same register MAR. Instruction 1 is writing and instruction 2 is loading the contents from register MAR at the same time.
Solution 5:
Solution 6
1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 0 --- FFF4
+ 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 --- 0018
---------------------------------------------------------------
0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 --- 000C
After 5th bit from left there will be carry which will make all the susequent ones to zeros.
Hence the final result will be 000C
Solution 7
INPUT
STORE X
INPUT
STORE Y
INPUT
STORE Z
LOAD X --- AC <- X
ADD Y --- AC <- AC + Y
SUBT Z --- AC <- AC - Z
OUTPUT --- outputing the result
Thanks,
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.