1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sammy [17]
2 years ago
13

Please help me answer question B!

Mathematics
1 answer:
skelet666 [1.2K]2 years ago
4 0

Answer:

  • The program counter holds the memory address of the next instruction to be fetched from memory
  • The memory address register holds the address of memory from which data or instructions are to be fetched
  • The memory data register holds a copy of the memory contents transferred to or from the memory at the address in the memory address register
  • The accumulator holds the result of any logic or arithmetic operation

Step-by-step explanation:

The specific contents of any of these registers at any point in time <em>depends on the architecture of the computer</em>. If we make the assumption that the only interface registers connected to memory are the memory address register (MAR) and the memory data register (MDR), then <em>all memory transfers of any kind</em> will use both of these registers.

For execution of the instructions at addresses 01 through 03, the sequence of operations may go like this.

1. (Somehow) The program counter (PC) is set to 01.

2. The contents of the PC are copied to the MAR.

3. A Memory Read operation is performed, and the contents of memory at address 01 are copied to the MDR. (Contents are the LDA #11 instruction.)

4. The MDR contents are decoded (possibly after being transferred to an instruction register), and the value 11 is placed in the Accumulator.

5. The PC is incremented to 02.

6. The contents of the PC are copied to the MAR.

7. A Memory Read operation is performed, and the contents of memory at address 02 are copied to the MDR. (Contents are the SUB 05 instruction.)

8. The MDR contents are decoded and the value 05 is placed in the MAR.

9. A Memory Read operation is performed and the contents of memory at address 05 are copied to the MDR. (Contents are the value 3.)

10. The Accumulator contents are replaced by the difference of the previous contents (11) and the value in the MDR (3). The accumulator now holds the value 11 -3 = 8.

11. The PC is incremented to 03.

12. The contents of the PC are copied to the MAR.

13. A Memory Read operation is performed, and the contents of memory at address 03 are copied to the MDR. (Contents are the STO 06 instruction.)

14. The MDR contents are decoded and the value 06 is placed in the MAR.

15. The Accumulator value is placed in the MDR, and a Memory Write operation is performed. Memory address 06 now holds the value 8.

16. The PC is incremented to 04.

17. Instruction fetch and decoding continues. This program will go "off into the weeds", since there is no Halt instruction. Results are unpredictable.

_____

Note that decoding an instruction may result in several different data transfers and/or memory and/or arithmetic operations. All of this is usually completed before the next instruction is fetched.

In modern computers, memory contents may be fetched on the speculation that they will be used. Adjustments need to be made if the program makes a jump or if executing an instruction alters the data that was prefetched.

You might be interested in
Miss Robinson and Miss Gibson recorded the hours and distance they drove their results formed ratios presented in the tables Bel
Ludmilka [50]
Where are the tables and what are the ratios?
6 0
3 years ago
I need help <br> Please hurry
Gelneren [198K]

Answer:

x=81

Step-by-step explanation:

all triangles = 180 degrees

180 - 18 = 162

162/2 = 81

81 is your answer

3 0
2 years ago
Read 2 more answers
The seventh grade class is raising money to have a class trip at the end of the year. They began the year with $1500. They now h
Nikitich [7]

Answer:

The percent of the increase for the money the class raised is 10 %

Step-by-step explanation:

Because if you divide 1500 by 10 you get 150 that means 150 is 10 % of 1500 and if you add 150 to 1500 you get 1650 so the increase of money the class raised is 10 %

I hope this helped :)

5 0
3 years ago
6 to the power of 3=216. Using exponents, write three more expressions whose value is 216.
Paraphin [41]

Answer:

i think its (2 x 2^2) (3x3^2)

Step-by-step explanation:

4 0
2 years ago
If you can buy one can of pineapple chucks for $2 then how many can you buy with $10?
Elina [12.6K]

Answer:

5

Step-by-step explanation:

Because two times 5 equals ten

8 0
2 years ago
Read 2 more answers
Other questions:
  • There are (3^2)^4 x 3^0 bacteria in a Petri dish. What is the total number of bacteria in the dish ?
    5·2 answers
  • Solve for F. <br><br> f divided by 22.3=6.6
    12·1 answer
  • What are the coordinates of the endpoints of the midsegment for △JKL that is parallel to KL¯¯¯¯¯?
    10·2 answers
  • ????A - k = w + v, for a
    13·1 answer
  • Let f(x)=(x+4)^2−3.
    8·2 answers
  • What 42 rounded to the nearest ten​
    12·1 answer
  • Which description compares the vertical asymptotes of function A and function B correctly?
    8·1 answer
  • Solve this inequality for x 81-1 1/5x &lt; 55
    11·1 answer
  • Worked a total of
    15·1 answer
  • 5. Find the surface area of the prism.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!