1.1.1 Structure and Function of the Processor Flashcards
What does the arithmetic and logic unit do?
completes all arithmetic and logic operations
What is the control unit?
a part of the processor which coordinates operations inside the CPU, and flow between hardware
What are registers?
small memory cells that operate at high speeds
Where do all the arithmetic, logic or shift operations occur?
ALU
What does the program counter (PC) do?
holds the address of the next instruction, incremented by 1 after every instruction
In which part of the CPU do all calculations take place?
the arithmetic logic unit (ALU)
Where are intermediate arithemtic and logic results stored?
accumulator
What does the memory address register do?
holds the address of a location that is to be read from or written to
What does the memory data register do?
temporarily stores data that has just been read from or data that needs to be written
What does the current instruction register do?
holds the current instruction, divided up into opcode and operand
What is a bus?
a set of parallel wires connecting two or more components together
What is a system bus?
the collection of the data, address and control bus
What is the width of a bus?
the number of parallel wires it has
What is the data bus?
a bidirectional bus used to transport data and instructions between components
What is the control bus?
a bi-direction bus used to transmit control signals betweeen internal and external components
What is the address bus used for?
to transmit the memory address of words to the CPU, specifying where data is to be read from or written to, uni-directional
What does adding a wire to the address bus do to the number of addressable locations?
it doubles the number of addressable locations
What does the bus request indicate?
a device is requesting access to the data bus
What does bus grant indicate?
the CPU has granted access to the bus
What does memory write do?
causes the data on the data bus to be written into the addressed location
What does memory read do?
causes the data from the addressed location to be placed onto the data bus
What does the interrupt request control signal indicate?
a device is requesting access to the CPU
What is the clock control signal used for?
to synchronise instructions
What is assembly language?
a low-level programming language where mnemonics are used to represent instructions
2. cache uses harvard architecture, divided into instruction cache and data cache