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
PLEASE HELP MEE! the table below shows y, the average speed of a cyclist in miles per hour, and x, the time in hours that it tak
Alla [95]
By definition it is known that speed equals the distance between time.
 Therefore, according to the definition, the last two options are the possible answers:
 Let's evaluate the third option:
 y = (3/2) * (1 / x)
 x = 12
 y = (3/2) * (1/12) = 3/24 = 1/8
 The table is not fulfilled
 Let's evaluate the fourth option:
 y = (96 / x)
 x = 12
 y = (96/12) = 8
 Yes, the table is met.
 answer:
 y = (96 / x)
3 0
3 years ago
Read 2 more answers
Can someone help me with the First question ?
miskamm [114]

Answer:

Step-by-step explanation:

#1.

228 ÷ 6 = 38 in

#2.

186 ÷ 3 = 62 ft

#3.

360 ÷ 8 = 45 yd

#4.

119 ÷ 7 = 17 ft

I hope I helped you.

5 0
3 years ago
Read 2 more answers
PLZ ANSWER APSP IM IN THE TEST RN!!!
olchik [2.2K]

Answer:

x = 38

y = 25

Step-by-step explanation:

To find x, you do

(2x + 5) = (3x - 33)

Subtract 2x from both sides to isolate x on one side, you get:

5 = (x - 33)

Add 33 to both sides to separate the normal number from the x, you get:

38 = x

From there, you plug x into one of the equations

2(38) + 5

The answer's 81, meaning that angle is 81 degrees. Using supplementary angles, you can find that angle ACD = 99, which you can use to find angle BCE. You'll get this equation:

(4y - 1) = 99

Add one to both sides to get rid of it, you get:

4y = 100

Divide by four, to get the y all alone:

y = 25

I hope this helped!

8 0
3 years ago
Read 2 more answers
emily just hired a new employee to work in your bakeshop . in one hour the empolyee burned 750 choclat chip cookies . if this re
Ivan
You planned on making 5000 cookies
4 0
3 years ago
Please help!!! Will give brainly!! 50 points
lara31 [8.8K]

(x,\ y)\to(x-6,\ y-4)\\\\A(3,\ -5)\to A'(3-6,\ -5-4)\to A'(-3,\ -9)\\\\B(6,\ 2)\to B'(6-6,\ 2-4)\to B'(0,\ -2)\\\\C(2,\ 5)\to C'(2-6,\ 5-4)\to C'(-4,\ 1)

5 0
3 years ago
Other questions:
  • The size of a TV is determined by the length of the diagonal of the TV. A 42" TV means the length from one corner to the other i
    15·1 answer
  • Round 9245 to the nearest hundred
    10·1 answer
  • 980\35??????help please lol I know this is easy
    8·1 answer
  • Solve the system of equations.
    12·1 answer
  • Find the volume of the composite solid. Round your answer to the nearest tenth.
    7·1 answer
  • Fred purchased a piece of artwork for 6200, and it is expected to increase in value by 5% per year. Write a function y to repres
    6·1 answer
  • What is the slope of a line perpendicular to the line y = - 1/4 - 1
    15·1 answer
  • Question #10 Evaluate the expression: 18-3(1+4)
    6·2 answers
  • A bakery will make 5,400 graham crackers. The graham crackers are packaged in boxes of 60. How many boxes of graham crackers wil
    5·2 answers
  • Solve the system of linear equations using any method you choose:<br> -6x + 3y = 18<br> 10x - y = 4
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!