Low Level Control Structures
Chapter 7
Statement Labels
stmtLbl:
.
.
.
mov rcx, offset stmtLbl2
.
.
.
lea rax, stmtLbl
.
.
.
stmtLbl2:Using Local Symbols in Procedures
Initializing Arrays with Label Addresses
Trampolines
Conditional Move Instructions




Implementing Common Control Structures in MASM
Complex if Statements Using Complete Boolean Evaluation
Short-Circuit Boolean Evaluation
Switch Statement
if/else Implementation of switch
Indirect Jump switch Implementation
Noncontiguous Jump Table Entries and Range Limiting
Sparse Jump Tables
State Machines and Indirect Jumps
Loops
While loops
Do-While loops
forever/endfor Loops
for Loops
The break and continue Statements


Registers in loops
Loop Performance Improvements
Last updated