| 228 | |
| 229 | |
| 230 | def show_help(): |
| 231 | print("========================") |
| 232 | print("decomp_switch.py") |
| 233 | print("========================") |
| 234 | print("Usage:") |
| 235 | print("1. decomp_switch.py my_asm.s") |
| 236 | print(" - Run with path to assembly file") |
| 237 | print("2. decomp_switch.py") |
| 238 | print(" - Run, then paste contents of assembly file") |
| 239 | print("[IMPORTANT]") |
| 240 | print("- Assembly MUST be in doldisasm format") |
| 241 | print("- Assembly must begin at switch (compare instruction), and must end after") |
| 242 | print(" the last instruction of the binary search comparisons.") |
| 243 | |
| 244 | |
| 245 | def main(): |