Unit 1 Pg Online Flashcards
(74 cards)
What is the fetch-execute cycle?
Processors operate in defined stages to carry out program instructions repeatedly.
What is the accumulator in a processor?
A general purpose register used to temporarily store results of calculations.
What does the Arithmetic-Logic Unit (ALU) do?
Performs arithmetic, logical, and shift operations on data.
List the arithmetic operations performed by the ALU.
- Add
- Subtract
- Multiply
- Divide
What logical operations does the ALU perform?
- AND
- OR
- NOT
- XOR
What are shift operations in the context of the ALU?
Move bits to the left or right within a register.
What does the control signal ‘Memory read’ do?
Causes data from the addressed location in RAM to be placed on the data bus.
What is the function of the control signal ‘Memory write’?
Causes data on the data bus to be written into the addressed location in RAM.
What does the control signal ‘Bus request’ indicate?
Indicates that a device is requesting use of the data bus.
What does the control signal ‘Bus grant’ signify?
Indicates that the CPU has granted access to the data bus.
What is the role of the clock in a processor?
Used to synchronize operations.
What is a bus in computer architecture?
A series of connectors that transfer signals between internal components.
How many lines do buses typically consist of?
8, 16, 32, or 64 lines.
What is the function of the Control Unit in a processor?
Coordinates the activity of all other components.
What are the main components of the Central Processing Unit (CPU)?
- Control Unit
- Buses
- Arithmetic-Logic Unit (ALU)
- Dedicated registers
What is the purpose of dedicated registers in a processor?
To hold various pieces of information required for executing instructions.
What does the Program Counter (PC) hold?
The memory address of the next instruction to be executed.
What is stored in the Current Instruction Register (CIR)?
The current instruction, split into opcode and operand.
What is the role of the Memory Address Register (MAR)?
Holds the address in memory where data is fetched or stored.
What does the Memory Data Register (MDR) temporarily hold?
Data moving between the processor and main memory.
Fill in the blank: The _______ is used to hold intermediate results of an instruction.
Accumulator
What happens during the fetch stage of the fetch-execute cycle?
The address of the next instruction is copied from the PC to the MAR.
What is the sequence of steps involved in the fetch stage?
- Copy address from PC to MAR
- Copy instruction to MDR
- Increment PC
- Copy MDR to CIR
What occurs during the decode stage of the fetch-execute cycle?
The instruction in the CIR is decoded and split into operand and opcode.