Unit 4 : CPU and Memory Flashcards
List out the major components of CPU ( 2 )
- ALU ( Arithmetic Logic Unit )
- CU ( Control Unit )
What are the subcomponents in CPU? ( 2 )
- Memory Management Unit
- I/O Interface
- Memory Management Unit - supervises instructions and data from memory
- I/O Interface - Sometimes combined with memory management unit as Bus Interface Unit
What is the usage in ALU ?
- Performs calculations and comparisons
- Logical Operation
- Math Calculation
What is the usage in CU? ( 2 )
- Access program instructions and issues commands to the ALU
- Moves data to and from CPU registers and other hardware components
- Contols the movement of data in/out of the CPU
- Controls all other component of the CPU
What is registers?
- It is a small,permanent storage locations within the CPU used for a particular purpose
What unit controls registers directly ?
- Control Unit
What are the digits registers stores
- Bits or Bytes
What are the part for fetching and decoding
- CU
What are the part for executing?
- ALU
What are the part for storing?
- Registers
- Registers are like pockets in our shirts where we store things for disposal
List out the type of registers ( 2 )
- General Purpose Registers
- Special-Purpose Registers
List out all the special-purpose registers ( 5 )
- Program Count Register ( PC )
- Instruction Register ( IR )
- Memory Address Register ( MAR )
- Memory Data Register ( MDR )
- Status Registers
What is also called Instruction Pointer?
- Program Count Register
What stores instruction fetched from memory?
- Instruction Register
What stores the address of what is to be fetched by the CPU?
- Memory Address Register ( MAR )
What stores the data that is fetched?
- Memory Data Registers ( MDR )
What stores the current content of the CPU?
- Status Registers
List out the operations of register ( 4 )
- Sotres values from other locations ( regisers and memory )
- Addition and subtraction
- Shift or rotate data
- Test contents for condtition such as zero or positive
What are the usage of registers?
- Scratchpad for currently executing program
- Holds data needed quickly or frequently
- Stores information about status of CPU and currently executing program
- Address of next program instruction
- Signals from external devices
Is it correct that each memory location has a unique address?
- Yes
Which is a two way register?
- Memory Data Register ( MDR )
What is the transfer take place?
- Between MDR and Memory