[Semester 1] Memory Management Flashcards
Random Access Memory (RAM)
Programs and data the CPU needs during execution
Read-Only Memory (ROM)
Data that can’t be changed
Volatile
Data is lost when the machine is turned off
Auxiliary
Backup storage
What happens if the CPU requests data that isn’t in the cache?
The CPU requests the data from memory; the data is then moved to the cache
Instructions are patterns of…
Bits
Instructions can include…
Register(s) used and memory location/address
True or false: Only one instruction can be carried out at a time
False! Instructions are carried out concurrently (multiple at once)
Fetch
Instructions are fetched from the memory address; the address is then stored in the program counter then the instruction register
Decode
Instructions are translated/decoded in the instruction register
Execute
The control unit passes the instructions to the relevant component to be executed