1/8
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Floating-Point Operands:
Single precision = 4B
Double precision = 8B
A floating-point number consists of:
Floating-point representation: Floating Point Number=Mantissa×2Exponent
Example: 0.625=5×2−3
Types of Control Flow Changes:
Conditional branches
Jumps
Procedure calls
Procedure returns
PC-Relative Addressing calculation: Target Address=PC+Offset
Register-Indirect Jumps:
Target address is stored in a register.
Useful when:
Target address is unknown at compile time (will be loaded in later)
Return functions, case statements
Target too far for PC displacement
Methods for branches:
Compare and branch
Condition register
Condition code
Compare and Branch:
Performs a comparison.
Branch decision depends on comparison result.
No need for register use but more work per instruction.
Condition Register:
Performs a comparison.
Result saved in register.
Branch occurs if register contains: 0or1
Simple but wasteful.
Condition Code (CC):
Uses bits stored in a special purpose Condition Code (CC) register.
Has special properti