The IDA Pro Book - Chapter 20 Examples
Compiled Borland switch example:
borland_switch.exe
Compiled Microsoft switch example:
microsoft_switch.exe
Compiled GCC switch example:
gcc_switch.exe