Notes CS
Notes CS
MAR - stores where we should get data from or stored into (e.g., either getting
data from mem location #1, or storing the data in the AC to the mem location of
MAR)
MDR - Stores data part of mem location, or data that is going to be written to the
memory.
Fetch stage - Check PC, MAR gets data from RAM and brings it back to MDR (after it
splits in two w/ address in MAR, and instruction in CIR)
-----------------------------------------------------------------------------------
----------
*What affects the performance of CPU?*
-----------------------------------------------------------------------------------
----------
*Sensors*
-----------------------------------------------------------------------------------
----------
*Types of storage*
Primary storage - RAM, ROM (READ-ONLY MEMORY), registers and cache (all volatile*
except for ROM and small space. But fast.)
Secondary storage - HDDs, SSDs and others that go into YOUR device (all non-
volatile and big space. But slow. Can be written on)
(Tertiary storage - Servers with data backup.)
When starting PC, everyone is not awake, except for CPU, and doesn't see the Hard
Drive (having all the components of the OS), so ROM (with bootstrap telling to do a
POST*) exists to the rest wake up.
*volatile = Disappear after the device is turned off or replaced by another program
(short term memory)
*POST = Power-on self-test