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
Can you help me figure out the slope of this line?<br> please and thx<br> ASAP.
KonstantinChe [14]


The rise is the vertical distance between the two points, which is the difference between their y-coordinates. That makes the rise y2 − y1. The run between these two points is the difference in the x-coordinates, or x2 − x1.
8 0
3 years ago
Please help me I give a lot thanks
inna [77]

Answer:

1. 600 x 20 x 20=240000

2. Jason should say "Find the product of 4 x 5 and then add all of the remaining zeroes in the problem to your answer. This results in 400,000 x 50,000= 20,000,000,000."

Step-by-step explanation:

5 0
3 years ago
you need to make a closed top rectangular tank that is 19 inches wide, 30 inches deep and 18 inches high. how many square feet o
Maslowich

Length in feet multiplied by width in feet multiplied by height in feet divided by 27 equals cubic yards needed.

When dealing in inches: convert inches to feet by dividing by 12.

For example: pour a 25 ft. sidewalk 5 ft. wide and four inches deep.

(25’ x 5 ‘ x 0.333’) / 27 = 1.54 cubic yards

Note* we achieved 0.333 ft. by taking four inches and dividing by twelve.

Another example: yardage for an 80 ft. driveway, 24 ft. wide and 5 inches deep.

(80’ x 24’ x 0.416’) / 27 = 29.58 cubic yards

5 0
3 years ago
SOLVE THE INEQUALITY -X/7+ 4 ≥ 3X A. x ≤ 14/11 B. x ≤ 2/5 C. x ≤ 2/1 D. x ≥ –1
Mrrafil [7]

You can eliminate fractions by multiplying the whole thing by 7.

... -x +28 ≥ 21x

Now, add x to get all x-terms on the right. Then, divide by the coefficient of x.

... 28 ≥ 22x

... 28/22 ≥ x

This fraction can be reduced, so we have ...

... A. x ≤ 14/11

7 0
3 years ago
What is the midpoint of a line segment with the ends 8,-3 and -5,-9
grandymaker [24]
Midpoint = (8-5),(-3-9) / 2
= (3,-12)/2
= (3/2,-6)
7 0
4 years ago
Other questions:
  • I don't really understand this??....​
    5·1 answer
  • Traders joes sold 7981 bags of tortilla chips recently. If 1178 of these bags were fat free find the percent that were fat free.
    6·1 answer
  • The average national SAT score is 1119. If we assume a bell-shaped distribution and a standard deviation equal to 206, what perc
    11·1 answer
  • How do you distribute 2(x + 5)
    15·1 answer
  • An election with 8 candidates has a 2-stage voting process. In the first stage, voters choose 1 candidate from all 8 names on th
    14·1 answer
  • Mr. Burr and his daughter live in Corpus Christi, Texas. Mr. Burr’s employer pays 100% of his insurance premium and 50% of the p
    12·1 answer
  • I need help pleaseee!!​
    9·1 answer
  • Help with math pls thanks so much
    11·2 answers
  • I need help with this !
    7·1 answer
  • How many composite number between 1 and 50
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!