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]
3 years ago
13

Please help me answer question B!

Mathematics
1 answer:
skelet666 [1.2K]3 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
Ducklings cost $15 each. Chicks cost $12 each. You have $60 to spend on poultry
max2010maxim [7]

Answer:

If your question is how much money you have after you purchase a duckling and a chick, your answer would be $33. It seems to me like you posted the question without finishing it. I'm guessing you were about to mention how many ducklings and chicks you were going to buy and how much money you would have leftover for the poultry.

Step-by-step explanation:

To solve your problem you must add what you're buying and then subtract from your original amount.

For example: if you want <em>one duckling</em> and <em>one chick</em> and you would like to know how much money you have leftover to buy poultry. $15 + $12= $27 dollars in all. Then, you will subtract $27 dollars from $60, this way you know how much money you will have left in order to buy the poultry. $60 - $27= $33.

8 0
3 years ago
Which expression is equivalent to 0.1(2x + 3)
kotykmax [81]

Answer:

0.2x + 0.3

Step-by-step explanation:

<u>Step 1:  Distribute</u>

0.1(2x + 3)

0.2x + 0.3

Answer:  0.2x + 0.3

8 0
4 years ago
Element X decays radioactively with a half life of 13 minutes. If there are 830 grams of Element X, how long, to the nearest ten
Nonamiya [84]

Answer:

26.92 min

if I'm not wrong!

4 0
3 years ago
Use the following figure to find the value of x <br>(plz help)​
masha68 [24]
X-6=1/3x( solve equation)
x-1/3x=6
0.7x=6
x=6/0.7
x=8.5 ( i guess its like this)
7 0
3 years ago
A CD store sold 3,467 CDs in 7 days. about the same number of CDs were sold each day. About how many CDs did the store sell each
sergey [27]
The store sold 495 CDs
8 0
3 years ago
Other questions:
  • What is the value of x?
    7·1 answer
  • What is the step by step process for this problem 2.5÷0.05 ?
    11·1 answer
  • I need the percentage of the shaded area.
    10·1 answer
  • 7 days 4 hours – 4 days 7 hours = Days ____ Hours ____
    6·2 answers
  • Rhea saved three parts of her salary and spent one part of t to rent an apartment. she spent $765 on rent, calculate Rhea's earn
    6·2 answers
  • What is the sine cosine and tangent of 360 degrees
    10·1 answer
  • N th term of quadratic sequence 3, 11 , 25, 45
    8·1 answer
  • Is this graph proportional
    14·1 answer
  • What is the answer of this ratio What's the equivalent number :24 and 5:3 ??? <br><br> help!!
    13·1 answer
  • (7 + X) x 8 - 4 x X = 56
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!