Structure and function of the processor Flashcards
define hardware
the physical components which make up a computer system
define register
an area of very fast memory inside the CPU itself which temporarily stores small amounts of binary data
all arithmetic, logical, or shift operations take place in registers
define CPU
central processing unit
has a number of different components which enable it to carry out its task of executing instructions
define motherboard
the main system board which connects all the hardware components
define register exam answer
- temporary storage/memory location
- inside the CPU
- used for a single specific purpose
- faster access speed than RAM/secondary storage
what is the purpose of the control unit (CU)?
direct the operations of the CPU:
- controlling and coordinating the activities of the CPU
- managing the flow of data between the CPU and other devices
- accepting the next instruction
- decoding instructions
- storing the resulting data back in memory
what is the purpose of the arithmetic logic unit (ALU)?
completes all of the arithmetical and logical operations.
A: all mathematical operations such as addition and subtraction on fixed or floating point numbers
L: boolean logic operations such as AND, OR, NOT, and XOR
also, shift operations on bits
what is the purpose of the program counter (PC)?
holds the address of the next instruction to be executed
what is the purpose of the accumulator (ACC)?
temporary storage for data being processed during calculations/stores the result
- for I/O in processor, it acts as a buffer (holds data that is on its way to somewhere else)/gateway
what is the purpose of the memory address register (MAR)?
holds the address of a location that is to be read from or written to
what is the purpose of the memory data register (MDR)?
temporarily stores data that has been read or data that needs to be written
- acts as a buffer (memory designed to hold data that is on its way to somewhere else)
what is the purpose of the current instruction register (CIR)?
holds the current instruction being executed, divided up into operand and opcode
what is the width of a bus?
the number of parallel wires the bus has.
the width of the bus is directly proportional to the number of bits that can be transferred simultaneously at any given time
buses are typically 8, 16, 32 or 64 wires wide
define bus
a set of parallel wires which connect two or more components inside the CPU
- data bus
- address bus
- control bus
^collectively called system bus
what is the data bus?
a bi-directional bus used for transporting data and instructions between components