Chapter 7 Flashcards
Uses of Registers
Used as scratchpad for executing program and stores info on status of CPU
Special Purpose Registers
- Program Counter Register (PC)
- Instruction Register (IR)
- Memory Address Register (MAR)
- Memory Data Register (MDR)
- Status Registers
DRAM (Dynamic RAM) Vs SRAM (Static RAM)
DRAM are common, cheap, less power, and less heat while SRAM are faster and more expensive compared to DRAM
Bus
Physical connection that makes it possible to transfer data from on location
Parallel
High throughput because of all bits of word transmitted simultaneously
Serial
1 bit transmitted at a time and single data line pair
What are the 4 kinds of signals?
1) Data
2) Addressing
3) Control Signals
4) Power
How to calculate width of register in bits?
2^k, K is the width of register in bits
Memory Address Register (MAR)
holds the address of a memory location
Memory Data Register (MDR)
Sometimes known as memory buffer register, hold data value
Why are there two different registers (MAR and MDR) associated with memory? Also the significance to LMC
In a Memory Address Register (MAR) for example an 8-bit memory address would have a width of 256 bits calculated by 2k, but in a MDR it is basically a group of cells and the group of cells is 1 bit. In a little man computer, there are 100 bits (0 to 100). MAR is needed to get the addresses and a MDR is needed to perform a transfer between the MDR and the memory.