Midterm 2 - Terms pg. 2 Flashcards
How to represent non-integer values?
(-1)^s * (1 + F) * 2 ^E
Von nueman:
- processor with ALU and regs
- Control unit: contains instruction reg and program counter
- Memory: stores data/instructions
- External mass storage
- Input/output mechanisms
Harvard:
separate instruction/data memory
Datapath:
Elements that process data and addresses in CPU
Datapath, 5 things?
- Program Counter
- Instruction Fetch
- Instruction Decode
- Instruction Execute
- Increment Program Counter OR use target address
- Program Counter:
Current instruction to be executed
- Instruction Fetch:
Memory read from address at Program Counter
- Instruction Decode:
Determine opcode function, regs, immediate, etc.
- Instruction Execute:
ALU Calculation, memory addressing, branching to targets
- Increment PC:
Increment Program Counter or use target address
Stored Program Computer:
Manchester baby & EDVAC
Memory stores both data AND instructions.
Manchester baby & EDVAC
Small ALU:
determines which operand has the larger exponent and by how much
A floating-point value represented in IEEE 754 is typically an approximation.
True
False
TRUE
Intermediate calculations of floating-point numbers append two extra bits to improve rounding accuracy.
True
False
TRUE
The first extra bit is called the guard digit, and the rightmost extra bit is called the round digit.
ulp is a measure of accuracy in floating point numbers.
True
False
TRUE