Computer Science - The characteristics of contemporary processors, input, output and storage devices Flashcards
(40 cards)
What is the processor also known as?
- The Processor is also known as the CPU
What is the processor responsible for?
- It is the internal hardware component of the computer that is responsible for executing specific instructions
- It is made up of several components, each with a specific role.
What is the processor made of?
- It is made up of several components, each with a specific role. These components are The Arithmetic logic unit, the control unit, as well as various registers.
What is the Arithmetic and Logic unit responsible for?
- Responsible for arithmetic calculations and logical operations
What Operations does the Arithmetic Logic Unit carry out?
- These operations include:
○ Addition, Subtraction, multiplication,
division
○ Logical bitwise operations, such as AND,
OR, NOT and XOR
○ Comparisons between values, such as
greater than, less than, equal to
○ Shifting binary patterns to the left or right
What is the control unit in charge of?
- in charge of organising the sequence in which programme instructions are executed
What does it mean when the control unit decodes an instruction?
- Decoding an instruction means that the opcode and operand of an instruction are analysed to determine what needs to be done to execute the instruction
What is the control unit responsible for?
- It is responsible for directing the operations of all the other components of the processor
- It is responsible for using signals to enable data to be read, decoding every instruction that the processor will execute, organising the sequence of micro-operations that need to be performed in order to carry out an instruction and controls signals to determine the operation the ALU will carry out at each instance
What does it mean when the control unit decodes an instruction?
- Decoding an instruction means that the opcode and operand of an instruction are analysed to determine what needs to be done to execute the instruction
What is the control unit responsible for?
- also in charge of decoding the instructions
What is the system clock?
- The system clock generates regular pulses to synchronise the operations of the processor components
What are the two types of pulses?
A ‘rising edge’ is a change from a low state to a high state
A ‘falling edge is a change from a high starte to a low state
What is the clock period
The time taken between two sequential rising edges is called the clock period
What does one clock period correspond to?
One clock period corresponds to one clock cycle
How many clock cycles are required for a single operation?
- a single operation of the processor typically requires a number of clock cycles
What is the clock rate?
- The clock rate, clock frequency or clock speed is calculated as the number of clock cycles that can be completed in a single second
What is the clock speed measured in?
- The clock speed is measured in Hz, but is usually displayed in MHz or GHz
Where are the registers located and why are they located there?
- Located within the processor to provide extremely fast access
What are Registers used for?
- used to temporarily store and access the results of operations
What are the two classifications of registers
- can be general-purpose of dedicated
What are dedicated registers used for?
- dedicated registers are processor based registers that can only be used for a specific purpose, for example the fetch decode execute cycle
What are some examples of dedicated registers? What do they do?
- Some examples of dedicated registers are:
○ Program Counter (PC) - Holds the address of the next instruction to be executed by the processor
○ Current instruction register (CIR) - Holds the current instruction that the processor is executing
○ Status register (SR) - Used to store information about the result of the last instruction that the ALU executed
○ Memory Address Register (MAR) - Temporarily holds the address of the memory location that the processor needs to access
○ Memory Data register (MDR) - also known as the Memory buffer register, it temporarily holds the data that are read from or written to the main memory
○ Accumulator - Stores the result of any calculation processed by the ALU. The processor accesses other general purpose registers where temporary values are stored while calculations are completed.
What happens every time a processor carries out an instruction?
Every time the processor carries out an instruction, it goes through three main stages
What are the three stages of the FDE cycle and what happens during these stages?
These stages are where is fetches the instruction, decodes the instruction, and executes the instruction