1.1.1 structure and function of the processor Flashcards
(35 cards)
what does the ALU do
completes all the arithmetic and logical operations
what is a register
small memory cells that operate at high speeds
what is the CU
a part of the processor that directs operations of the CPU.
Directs flow of data between the
CPU and other devices.
It sends control signals to other parts of the CPU. e.g read or write signals to memory
Sends memory read and write requests to main memory on the control bus, as well as other command and control signals such as bus requests, bus grants, interrupt requests, etc.
What does the PC do
Holds the address of the next instruction to be executed.
• This could be:
the next instruction in a sequence of instructions; or
the address to jump to if the current instruction is a
command to jump or branch - this would be copied from the current Instruction register.
what does the MAR do
This holds the address of the memory location from which data; or an instruction
is to be fetched or data is to be written.
• Sends these address to memory down the address bus.
what does the MDR do
temporarily stores the data that has been read or data that needs to be written
All data to and from memory must travel down the data bus and pass through the MDR.
what does the CIR
holds the current instruction being executed
divided up into the operand and opcode
The contents of the MDR are copied to the CIR if it is an instruction.
what is a bus
a set of parallel wires connecting two or more components together.
what is a systems bus
the collection of the data bus, address bus and control bus is called the system bus
what is the width of the bus
the number of parallel wires it has
what is a data bus
a bidirectional bus used to transport data and instructions between components
Carries the binary 1s and Os that make up the actual information being transmitted around the CPU/computer.
what is a control bus
the bi-directional bus used to transmit control signals between internal and external components
Craig n dave
Carries command and control signals to and from every other component of the CPU/computer.
what is the address bus used for
used to transfer the memory address specifying where data is to be sent and retrieved from
Craig n dave
Carries memory addresses that identify where the data is being read from or written to.
what does adding a wire to the address bus do to the number of addressable locations.
it doubles number of addressable locations
what does bus request indicate
indicates a device is requesting access to the data bus
what does a bus grant indicate
indicates the CPU has granted access to the data bus
what does memory write do
causes the data in 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 control signal indicate
indicates that a device is requesting access to the CPU
what is the clock control signal for
it is used to synchronize instructions
what is assembly language
assembly language is a programming language where mnemonics are used to represent instructions
what is opcode
opcode is used to determine the type of instruction and what hardware to use to execute it.
what is operand
the operand is the address of where the operation is preformed
what occurs during the fetch phase
The Program Counter (PC) holds the address of the next instruction to be fetched.
This address is copied into the Memory Address Register (MAR).
The address bus carries this address to main memory (RAM).
The control unit sends a read signal to memory.
The instruction stored at that memory address is sent via the data bus to the Memory Data Register (MDR).
The instruction is then copied from the MDR to the Current Instruction Register (CIR).
The Program Counter is incremented by 1 to point to the next instruction in memory.