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
Insert parentheses on the left side of the equation to make the statement true for all values of p
lukranit [14]
7+5(p-p)=7 
because 7+5p-5p=7
cross our the 5p because 5p-5p is 0
7=7
~JZ
Hope it helps!
3 0
3 years ago
Mya's dog weighs 42.8 pounds. Lydia's dog weighs 2.9
expeople1 [14]

Answer:

124.12 pounds

Step-by-step explanation:

42.8 x 2.9

= 124.12

= 124.12 pounds

7 0
3 years ago
Lesson 1 Exit Ticket
Jobisdone [24]

Answer:

.

Step-by-step explanation:

7 0
2 years ago
I need help with this one
Aleksandr [31]

Answer:

58 degrees

Step-by-step explanation:

The little square in the corner signals a right angle/a 90 degree angle. If x and 32 add up to 90, then x is 58.

7 0
2 years ago
ASAP!! Please help me. I will not accept nonsense answers, but will mark as BRAINLIEST if you answer is correctly with solutions
stiv31 [10]

Answer:

last option

Step-by-step explanation:

It will take 200 / 5 = 40 months for Sara's phone to lose all its value, therefore, the domain is 0 ≤ t ≤ 40 because you can't have negative months. Since negative money is not a thing, the range has to be 0 ≤ V(t) ≤ 200 because it stops at 0 and starts at 200.

8 0
3 years ago
Other questions:
  • NEEDs HELP<br><br> AB ⊥ AC<br><br> true or false<br> idk i think it's false
    9·1 answer
  • Rick shared his bag of grapes with his friends. He gave 2/10 of the bag to Melissa and 4/10 of the bag to Ryan. What fraction of
    7·1 answer
  • A company has three divisions and three conference rooms for meetings. To keep track of the use of their facilities, for each me
    9·1 answer
  • You own a car wash with three of your friends. Your total profit in the first month was $438. In two months, each of you had mad
    12·1 answer
  • The length of a rectangular-shaped deck 5 meters longer than its width. If the area of the deck is 66^2 what is the length in me
    5·1 answer
  • In a cohort of 35 graduating students, there are three different prizes to be awarded. If no student can receive more than one p
    12·1 answer
  • Help me plz with this I need help
    12·1 answer
  • I need help on the question . I have in math
    8·1 answer
  • Please help just need to finish this class and I graduate thanos in advance
    12·1 answer
  • When considering order of operations (PEMDAS), addition will ALWAYS come before subtraction.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!