The processor Flashcards
Explain the role of a processor
The processor or central processing unit is the internal hardware component of the computer that is responsible for processing data and executing the instructions of programs.
Explain the role of the ALU
It is responsible for performing arithmetic calculations and logical operations.
Explain the role of the control unit
The control unit is in charge of organising the sequence in which program instructions are executed, followed by decoding the instructions.
Explain the role of the clock
The system clock generates regular clock pulses by emitting a signal that continuously oscillates between a low (0) and a high (1) state.
Explain the role of general purpose registers
They keep the results of the intermediate calculations that are produced as part of a larger computation.
Explain the role of the program counter
Holds the address of the next instruction to be executed by the processor.
Explain the role of the current instruction register
Holds the current instruction that the processor is executing.
Explain the role of the memory address register
Temporarily holds the address of the memory location (in main memory) that the processor needs to access, either to read from or write to.
Explain the role of the memory buffer register
Temporarily holds the data values or instructions that are read from or written to the main memory.
Explain the role of the status register
Used to store information about the result of the last instruction that the ALU executed.
Explain the role of the accumulator
Stores the result of any calculation processed by the ALU.
What is an instruction set?
the complete set of all the instructions in machine code that can be recognized and executed by a CPU.
What can instructions consist of?
instructions consist of an opcode and
one or more operands (value, memory address
or register).
What happens in an immediate addressing mode?
The operand is treated as data.
What happens in a direct addressing mode?
the operand is treated as a memory address where data is stored.