- Switch cases are compiled into different styles, depending on the compiler, optimization settings, and case values
- may look like nested if..else if..else if..else..
- may use a jump table array
- For a jump table, the case is translated into an index within the table and multipled by the size of a pointer.
mov edx, [ebp+var_18]