1.1 The characteristics of contemporary processors, input, output, and storage devices Flashcards
control unit
part of processor that controls activity of all other components
. directs flow of data between CPU and other devices
. carries out next instruction
. sends memory read and write requests to main memory on control bus and other command and control signals
. makes extensive use of the status registers and clock
. coordinates and communicates with all parts of the CPU
Buses
consists of a series of connectors that transfer signals between internal components. consists of 8,16,32,64 lines
system bus
consists of three separate buses carrying control signals, addresses and data
control signals include:
memory read
memory write
bus request
bus grant
clock
Memory read
causes data from the addressed location in RAM to be placed in a data bus
Memory write
causes data on data bus to be written into the addressed location in RAM
Bus request
indicates that a device is requesting use of data bus
Bus grant
shows CPU has granted access to the data bus
Clock
Used to synchronise operations
Arithmetic logic unit (ALU)
the problem solving part of the processor. Performs arithmetic, logical and shift operations on data
Program counter (PC)
holds the address of the next instruction to be executed
. could be next instruction in a sequence
. could be address to jump or branch - this would be copied from CIR
Has a very close relationship with the MAR. at the start of new FDE cycle the address held in PC is copied to MAR
Memory address register (MAR)
holds the address memory location from where data or an instruction is to be fetched or where data is to be written
sends these address to memory down the address bus
Memory data register (MDR)
used to temporarily store the data which is read from, or written to memory
can be knows as memory buffer register (MBR) and nicknamed gateway to the processor
all data to and from memory must travel down data bus and pass through the MDR
current instruction register (CIR)
holds current instruction being carried out
contents of MDR are copied to CIR if it’s an instruction
contains opcode and operand of current instruction
instruction = opcode + operand
Accumulator
One of the general-purpose registers that a CPU has
Stores data and control information
Results of calculations carried by ALU can be stored here