5.3 Instruction Set Architecture (P3) Flashcards
What does control flow refer to
What does explicit control flow look like in the fetch decode execute cycle of a program (setting PC to target)
What is an absolute vs relative branch (control flow)
Note for relative, PC is already incremented so x should be -1 than seems
What is an unconditional vs conditional branch (control flow)
What is the difference between compare-plus-branch and compare-then-branch (conditional explicit control flow)
What are 3 different data-sources / ways of comparing values in a conditional branch (control flow)
What is the difference between an immediate and computed branch (control flow)
Immediate is limited to size of operand, computed is not
What is branch and link in control flow (can be used for functions)
What does an if-else statement look like using instructions
What does a do while loop look like using instructions
What does a for loop look like using instructions
What does a function call look like using instructions