01 Instruction Sets Characteristics and Addressing Modes
01 Instruction Sets Characteristics and Addressing Modes
Instruction Sets:
Characteristics and Functions
Addressing Modes
Different
Shift
Instructions
S is sign bit
Systems Control and Execution Flow
• The execution flow captures the order of
evaluation/execution of each instruction
– Sequential
– Branch
– Loop
– Procedure or Function call
Branch
• Skip, e.g., increment and skip if zero:
ISZ Reg1, cf. jumping out from loop
• Branch instructions: BRZ X (branch to X if
result is zero), BRP X (positive), BRN X
(negative), BRE X,R1,R2 (equal)
• Procedure (economy and modularity): call
and return
Branch Instruction
Nested Procedure Calls
fig_01_20
fig_01_22