Hardware - Computer Architecture Flashcards
what is the role of the CPU in a computer
continuously processes instructions and data that are inputted by repeatedly carrying out the fetch-execute cycle in order to output a result
what is meant by a microprocessor
a type of integrated circuit on a single chip that processes instruction
what are the 5 key elements of Von Neumann architecture:
- data + instruction are both stored as binary digits
- data + instructions both stored in primary memory
- instructions are fetched one at a time and in order (sequentially)
- cycle continues until no more instructions are available
what components are in the CPU
- ALU (Arithmetic Logic Unit)
- Control Unit
- Clock
- Registers
- Address, Data and Control Buses
what is the function of the ALU
- carries out mathematical + logical operations on data, including:
- Mathematical = ADD, SUBSTRACT …
- binary shifts
- Logical = AND, OR , NOT
- compares values held in registers
what is the function of the accumulator (ACC)
- register in which results of operations carried out in the ALU are ** temporarily stored** for quicker retrieval
- one of several general-purpose registers
what components are in the ALU units
- MDR
- ACC
function of the CU
- coordinates all of the CPU’s actions in the fetch-decode-execute cycle and decodes instruction
- sends + receives control signals to fetch + write data
what is the function of the Clock
- Electronic unit that synchronises + regulates the speed and timings of all signals + computer functions
what is the function of Registers
- very small, very fast memory locations
- registers built into the CPU chip to temporarily store memory addresses, instructions or data
- used in the fetch-decode-execute cycle for specific purposes
what does PC stand for
Program Counter
what is the function of the Program Counter
- is a register that golds the memory address of the next instruction to be processed
what is MAR
Memory Address Register
what is the function of the MAR
- holds address (location in memory) of the current instruction / piece of data to be fetched or stored
to which component does the MAR send the address to
to the main memory down the *address bus**