Notes Chapter 3 Flashcards
Where is the CPU located?
The CPU hides on the motherboard below a heat sink and often a fan assembly as well
External data bus EDB
A collection of wires that connects a processor to other devices on a motherboard
Register
Small amount of high speed memory contained within the CPU
General purpose registers
AX, BX, CX, and DX
Code books
Are called microprocessors machine language (1s and 0s) —- lines of code
CPU clock speed
A CPUs clock speed is its max speed not the speed it should run at
Where is program stored?
On the hard drive
What is an “ if “ statement called?
A branch
Random access memory (RAM)
Enables a CPU to jump to any line of stored code as needed
Graph from bit to quad word
- any individual 1 or 0 = bit
- 4 bits =-0.5 bytes a nibble
- 8 bits =1 byte
- 16 bits=a word
-32 bits = a double word
-64 bits =a paragraph or quad word
An if statement is called a
Branch
RAM spreadsheet analogy
Let’s look at RAM as an excel spreadsheet.
Each cell in the spreadsheet can only store a 1 or a 0. Each cell is called a bit.
Each row is 8 bits across to match the EDB of the 8088. Each row of 8 bits is called a byte.
The terms used to talk about quantities of bits
Any individual 1 or 0 = a bit
4 bits = a nibble
8 bits = a byte
16 bits = a word
32 bits = a double word
64 bits = a paragraph or quad word
Memory control chip (MCC)
Contains special circuitry so it can grab the content of any line of RAM and place the data or command on the EDB. This enables the CPU to act on code.
The power of 2 different names
1 kilo = 2^10 =1,024 (K)
1 kilobyte = 1,024 bytes (KB)
1 mega = 2^20 =1,048,576 (M)
1 megabyte = 1,048,576 bytes (MB)
1 giga = 2^30 =1,073,741,824 (G)
1 gigabyte = 1,073,741,824 bytes (GB)
1 tera = 2^40 = 1,099,511,627,776 (T)
1 terabyte = 1,099,511,627,776 bytes (TB)
Exam tip for x86-64
Exam objectives reverse the numbers for x86-64, so you’ll see them as x64/x86.
Exabyte EB
Higher than giga and Tera. For 64 bit computing.
What is the primary benefit of 64 bit computing?
It supports more than 4 GB of memory, the limit with 32 bit processing
X86
X86 CPUs from the early days. The 90s
X64
Helped with marketing in its early stages. Since you couldn’t return software after you bought it.
X86-64
x86 is the same as 32 bit. Now it’s x86 bit vs X64
To get a command form the data bus, do the calculation, and then send the answer back out onto the data bus, a CPU takes at least four steps (each of these steps are called a stage)
Fetch - get the data from the EDB
Decode - figure out what type of command needs to be executed
Execute - perform the calculation
Write - send the data back onto the EDB
Pipelining stages
Discrete circuits inside the CPU handle each of these stages. — today the circuits are organized in a conveyer belt fashion called a pipeline.
Pipeline stalls
When a stage hits a complex command that requires more than one clock cycle, forcing the pipeline to stop.