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
16.The least common denominator of 1/2, 1/8, and 1/10 isO A. 10.OB. 80.C. 40.D. 16.nMark for review Awill be biabliabted on the
tangare [24]

Given

The numbers, 1/2, 1/8, and 1/10.

To find: The least common denominator.

Explanation:

It is given that,

1/2, 1/8, and 1/10 .

Then,

Therefore, the LCM is,

\begin{gathered} LCM=2\times2\times2\times5 \\ =40 \end{gathered}

Hence, the least common denominator is 40.

6 0
1 year ago
Please help me with this question:)!
Georgia [21]

Answer:

i think so option b is the correct option.

Step-by-step explanation:

because 3+7=10 not 11.

6 0
3 years ago
Draw the meaning of bar diagram
gladu [14]
Draw a bar and draw little squares inside the box not the bar and then shade the boxes this will represent the number
8 0
4 years ago
find the number of running and passing plays using substitution method 110 plays 3 yards per run 7 yards per pass total yards 37
Zinaida [17]

Let x be the number of running plays

Y  be the number of passing plays

Since the total plays is 110

 X + y = 110

And total yard is 378

3x + 7y = 378

Using the first equation

X = 110 – y and substitute to the 2nd equation

3(110 – y) + 7y = 378

And solve for y

Y = 12

Substitute to eqution 1

X = 110 – 12 = 98

7 0
3 years ago
2x+8y=34 <br><br> 10y+2x=40 solve for y and x
KiRa [710]

Answer:

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • Adding -6 is the same as?
    9·1 answer
  • An epidemic has hit Clinton City. Its population is declining 22% every hour. In just 4 hours, there are only 35,542 people left
    12·1 answer
  • . Which table does NOT show y as a function of x?
    12·1 answer
  • The region bounded by y = e−x2, y = 0, x = 0, and x = b (b &gt; 0) is revolved about the y-axis. (Round your answers to three de
    8·1 answer
  • Help ! please ! with 13, 14, 15, 16, 17, 18, 19, 20, 21,
    14·1 answer
  • (09.07 LC) In a study of 250 adults, the mean heart rate was 70 beats per minute. Assume the population of heart rates is known
    13·1 answer
  • Xsquare multiply by 6x =0
    15·1 answer
  • The shape of normal distirbution is
    5·2 answers
  • Brainliest, thanks, 5 star Rating, and extra points for 1st or 2nd person who answers... don't worry I look through the answers
    9·1 answer
  • Find the area in hectares of a rectangular farmland 1km by 1/2km​
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!