note 6
.docx
keyboard_arrow_up
School
The School of the Art Institute of Chicago *
*We aren’t endorsed by this school
Course
101
Subject
Computer Science
Date
May 12, 2024
Type
docx
Pages
2
Uploaded by BaronTeam21318 on coursehero.com
What does the control unit do?
The CIR contains the instruction currently being executed, the PC contains the address of the next instruction.The CU will fetch an instruction from main memory (address found in the PC)and then pass it on to the other CPU parts to execute it effectively.
What is the ALU?
The Arithmetic and Logic Unit is responsible for all arithmetic and logical calculations performed
by the CPU.
What is the program counter?
The Program Counter is used to store the address in memory of the next instruction to be executed.
What is the ACC?
The ACC can be thought of as the notepad of the CPU. This is used to hold data when performing calculations. If the ALU needs to temporarily store data as part of its calculations, the ACC is where it is stored.
What is the function of the Memory Address Register (MAR)?
The purpose of the MAR is to hold the location of data that needs to be accessed. This is address is the physical location of data (instruction) that is being stored in the computers memory.
What is the function of the Memory Data Register (MDR)?
When the CPU looks into the memory address stored in the MAR it will find data (An instruction) this instruction is then temporarily stored in the MDR before being copied into the CIR.
What is the ACC (Accumulator)?
Contains the results of any calculations performed in the ALU
How does FDE work?
Fetch:
This operation is triggered by the CPU causing the next instruction AND data to be 'fetched' from memory (RAM).
Decode:
Once the CPU has fetched the instructions and data it will then translate them into instructions understandable by the CPU
Execute:
The CPU will then execute the instructions in a logical sequence
Once the execute operation is complete, the CPU will repeat the process by returning to the 'fetch' operation.
What is a bus?
A bus is a set of parallel wires that connect two ore more components within a computer system.
What are the 3 different buses?
Address bus - This carries signals that relate to addresses between the processor and memory. It
is Uni-directional which means that data will only travel in one direction.
Control bus - This carries signals that relate to control e.g. an instruction to read data. This can be uni-directional or Bi-directional.
Data Bus - This will carry actual data between components and devices. It is bi-directional which
means data can travel in both directions.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word ofmemory.a. How many bits are needed for the opcode?b. How many bits are left for the address part of the instruction?c. What is the maximum allowable size for memory?d. What is the largest unsigned binary number that can be accommodated in one word of memory?
arrow_forward
Given the structure of the CPU in the references section provide the control signals that implements the following instruction.
SUB r3, r2, r1
arrow_forward
It is possible for the subsequent procedure to be carried out while the CPU is pausing for an interrupt. Is it essential to put off the execution for a while? Why don't we simply go ahead and do the surgery and trust ourselves to figure out the rest?
arrow_forward
Differentiate the Stack, the Data, and the Code segments. Then, you need to figure out which combination of registers was used to address the data objects in each section.
arrow_forward
Assume all of Pep/9's main memory is filled up with unary instructions. How many steps are there in each one?
B) If there are no unary instructions, how many instructions can fit in the main memory?
An equal number of unary and nonunary instructions are stored in the main memory. What is the total number of instructions?
arrow_forward
Suppose that you have a computer with a
memory unit of 24 bits per word. In this
computer, the assembly program's
instruction set consists of 198 different
operations.
All instructions have an operation code part
(opcode) and an address part (allowing for
only one address). Each instruction is stored
in one word of memory.
a. How many bits are needed for the
opcode?
b. How many bits are left for the address
part of the instruction?
c. How many additional instructions could
be added to this instruction set without
exceeding the assigned number of bits?
Discuss and show your calculations.
arrow_forward
ca you Include a screenshot of the simulation’s result (A screenshot of the MARIE Simulator window after running the program).
Use “ORG” instruction to start the program at an address equivalent to 130010.
Use the number 0 to input the new value of x.
Do not forget to change the Input and output boxes to decimal!
The following labels and directives should be included at the end of program:
X, Dec 0
Y, Dec 2
Z, Dec 5
One, Dec 1
arrow_forward
Can you describe the CPU's function and the operations it performs? What are your feelings and responses to this circumstance?
arrow_forward
A computer has a 256K word addressable memory Module with 16 bits per word. The
instruction set consists of 166 different instructions. All instructions have an operation code
part (opcode) and an address part (allowing for only one address). Each instruction is
stored in one word of memory.
Based on the above, answer the following questions:
a. How many bits are there in the main memory? (Represent it in power of 2)
b. How many bits are needed for the opcode?
c. How many bits are left for the address part of the instruction?
d. How many additional instructions can be added to the existing 166 without affecting the
assigned size of the opcode part? Justify.
arrow_forward
A digital computer has a memory unit with 24 bits per word.
The instruction set consists of
150 different operations. All instructions have an operation
code part (opcode) and an
address part (allowing for only one address, similar to Marie).
Each instruction is stored in one word of
memory.
a) How many bits are needed for the opcode?
b) How many bits are left for the address part of the
instruction?
c) What is the maximum allowable size for memory?
arrow_forward
The machine instruction cycle is:
A Fetch - process - decode.
B Fetch execute - process.
C Fetch - decode – execute.
D Fetch- execuie- decode.
arrow_forward
In a few words, describe the instruction pointer.
arrow_forward
Each instruction in this situation is given its own data, separate from the data used by any other instructions. To do this, we use a: A Multiple Input/Output B Data or Instruction Repeatedly C Distinct Information Difficulty Level: Single Inst, Single Inst, Multiple
arrow_forward
What precisely do we mean by "loop unrolling?"
What role does it play in optimising instruction execution?
arrow_forward
In an instruction cycle the execute phase includes
Select one:
a.the operation of the decoded instruction on all the operands.
b.there is no correct answer here
c.incrementing the program counter by 2 addresses.
d.the step of decoding the instruction for execution.
e.the transfer of the content of memory address pointed by the program counter.
arrow_forward
The most time - consuming operation in
a computer is:
O A. Register access
O B. The execution phase of a
register reference instruction
Memory access.
O D. The decoding phase of an
instruction cycle
arrow_forward
A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.1. a) How many bits are needed for the opcode?2. b) How many bits are left for the address part of the instruction?3. ◆c) What is the maximum allowable size for memory?4. d) What is the largest unsigned binary number that can be accommodated in one word of memory?
arrow_forward
For the instructions ADD, LDR, and JMP, write the operations that occur in each phase of the instruction cycle.
arrow_forward
a. Response time
b. Throughput
c. Execution Time
2. The register that hold the address of the current instruction being executed is called
a. Saved register
b. Global pointer
c. Stack pointer
used to identify the
d. Clock Rate
d. Program counter
arrow_forward
What exactly do we mean when we say "loop unrolling"?
How does it aid in optimising instruction execution?
arrow_forward
An instruction is stored at location 100 with its address field at location 101.The address
field has value 200. A processor register R1 contains the number 300. Evaluate the effective address if the addressing mode of the instruction is A. Direct B. Immediate C. Relative D. Register Indirect E. Index with R1 as the index Register
arrow_forward
Why is it that the CPU normally only interacts with memory?(Recall that input and output normally travel through memory, and the CPU loads and stores data from memory.)
arrow_forward
A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.Q.) How many bits are left for the address part of the instruction?
arrow_forward
Here, each instruction receives its own data independently of how other instructions get theirs. We utilize: A Multiple Data/Instruction B Multiple Data/Instruction C Singular Data Single Inst D Singe Inst Multiple
arrow_forward
A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.Q.) What is the maximum allowable size for memory?
arrow_forward
what is the instruction format of the
operation below and how the CPU
fetch this operands from memory?
Explain that. A = X-Y/Z *
arrow_forward
Microprocessor assembly code:
There are 25 1-band numbers stored in memory starting from 1000H address. Write the program that shows the numbers greater than 50 with LEDs connected to port 2 with 2s intervals
Tips: If the numbers are 01-03-55-21-51-34 ...... 66-FF 55-51 -..... 66-FF will be sent to Port 2 at 2s intervals.
It should be assumed that the numbers were pre-entered into memory with the C 1000 command.
arrow_forward
There are two "backup" instructions for each instruction in a computer instruction set design, which is called orthogonality. Tell us whether this statement is correct or incorrect.
arrow_forward
Instruction and data addresses are stored in separate registers, and the CPU uses values to access memory locations. To do this, use the above statement as a guide and list all of the registers that are used in the aforementioned processes.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Related Questions
- A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word ofmemory.a. How many bits are needed for the opcode?b. How many bits are left for the address part of the instruction?c. What is the maximum allowable size for memory?d. What is the largest unsigned binary number that can be accommodated in one word of memory?arrow_forwardGiven the structure of the CPU in the references section provide the control signals that implements the following instruction. SUB r3, r2, r1arrow_forwardIt is possible for the subsequent procedure to be carried out while the CPU is pausing for an interrupt. Is it essential to put off the execution for a while? Why don't we simply go ahead and do the surgery and trust ourselves to figure out the rest?arrow_forward
- Differentiate the Stack, the Data, and the Code segments. Then, you need to figure out which combination of registers was used to address the data objects in each section.arrow_forwardAssume all of Pep/9's main memory is filled up with unary instructions. How many steps are there in each one? B) If there are no unary instructions, how many instructions can fit in the main memory? An equal number of unary and nonunary instructions are stored in the main memory. What is the total number of instructions?arrow_forwardSuppose that you have a computer with a memory unit of 24 bits per word. In this computer, the assembly program's instruction set consists of 198 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a. How many bits are needed for the opcode? b. How many bits are left for the address part of the instruction? c. How many additional instructions could be added to this instruction set without exceeding the assigned number of bits? Discuss and show your calculations.arrow_forward
- ca you Include a screenshot of the simulation’s result (A screenshot of the MARIE Simulator window after running the program). Use “ORG” instruction to start the program at an address equivalent to 130010. Use the number 0 to input the new value of x. Do not forget to change the Input and output boxes to decimal! The following labels and directives should be included at the end of program: X, Dec 0 Y, Dec 2 Z, Dec 5 One, Dec 1arrow_forwardCan you describe the CPU's function and the operations it performs? What are your feelings and responses to this circumstance?arrow_forwardA computer has a 256K word addressable memory Module with 16 bits per word. The instruction set consists of 166 different instructions. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. Based on the above, answer the following questions: a. How many bits are there in the main memory? (Represent it in power of 2) b. How many bits are needed for the opcode? c. How many bits are left for the address part of the instruction? d. How many additional instructions can be added to the existing 166 without affecting the assigned size of the opcode part? Justify.arrow_forward
- A digital computer has a memory unit with 24 bits per word. The instruction set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address, similar to Marie). Each instruction is stored in one word of memory. a) How many bits are needed for the opcode? b) How many bits are left for the address part of the instruction? c) What is the maximum allowable size for memory?arrow_forwardThe machine instruction cycle is: A Fetch - process - decode. B Fetch execute - process. C Fetch - decode – execute. D Fetch- execuie- decode.arrow_forwardIn a few words, describe the instruction pointer.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning