// File: /workspace/github_c_makefile_star2_O2/simh[P]simtools/crossassemblers/macro11/macro11.c
// Function: print_help
static void print_help(
    void)
{
    printf("\n");
    print_version(stdout);
    printf("\n");
    printf("Usage:\n");
    printf("  macro11 [-o <file>] [-l [<file>]] \n");
    printf("          [-h] [-v][-e <option>] [-d <option>]\n");
    printf("          [-ysl <num>] [-yus] \n");
    printf("          [-m <file>] [-p <directory>] [-x]\n");
    printf("          <inputfile> [<inputfile> ...]\n");
    printf("\n");
    printf("Arguments:\n");
    printf("<inputfile>  MACRO11 source file(s) to assemble\n");
    printf("\n");
    printf("Options:\n");
    printf("-d  disable <option> (see below)\n");
    printf("-e  enable <option> (see below)\n");
    printf("-h  print this help\n");
    printf("-l  gives the listing file name (.LST)\n");
    printf("    -l - enables listing to stdout.\n");
    printf("-m  load RT-11 compatible macro library from which\n");
    printf("    .MCALLed macros can be found.\n");
    printf("    Multiple allowed.\n");
    printf("-o  gives the object file name (.OBJ)\n");
    printf("-p  gives the name of a directory in which .MCALLed macros may be found.\n");
    printf("    Sets environment variable \"MCALL\".\n");
    printf("-I  gives the name of a directory in which .included files may be found.\n");
    printf("    Sets environment variable \"INCLUDE\".\n");

    printf("-v  print version\n");
    printf("    Violates DEC standard, but sometimes needed\n");
    printf("-x  invokes macro11 to expand the contents of the registered macro \n");
    printf("    libraries (see -m) into individual .MAC files in the current\n");
    printf("    directory.  No assembly of input is done.\n");
    printf("    This must be the last command line option!\n");
    printf("-ysl Syntax extension: change length of symbols from \n");
    printf("     default = %d to larger values, max %d.\n", SYMMAX_DEFAULT, SYMMAX_MAX);
    printf("-yus Syntax extension: allow underscore \"_\" in symbols.\n");
    printf("-yl1 Extension: list the first pass too, not only the second.\n");
    printf("\n");
    printf("Options for -e and -d are:\n");
    printf("AMA (off) - absolute addressing (versus PC-relative)\n");
    printf("            See .ENABL AMA, .DSABL AMA\n");
    printf("GBL (on)  - treat unresolved symbols as globals, linker must resolve.\n");
    printf("            If disabled, unresolved globals are errors.\n");
    printf("            See .ENABL GBL, .DSABL GBL\n");
    printf("ME  (on)  - list macro expansion (no func)\n");
    printf("BEX (on)  - show binary (no func)\n");
    printf("MD  (on)  - list macro/rept definition\n");
    printf("\n");
}

// Assembly:
pushq %rbx
pushq $0xa
popq %rbx
movl %ebx, %edi
callq 0x2060
movq 0x1230b(%rip), %rax     # 0x14fb8
movq (%rax), %rdi
callq 0x2ecd
movl %ebx, %edi
callq 0x2060
leaq 0xb6ad(%rip), %rdi      # 0xe370
callq 0x20a0
leaq 0xb6a8(%rip), %rdi      # 0xe377
callq 0x20a0
leaq 0xb6c1(%rip), %rdi      # 0xe39c
callq 0x20a0
leaq 0xb6e4(%rip), %rdi      # 0xe3cb
callq 0x20a0
leaq 0xb6f7(%rip), %rdi      # 0xe3ea
callq 0x20a0
leaq 0xb717(%rip), %rdi      # 0xe416
callq 0x20a0
movl %ebx, %edi
callq 0x2060
leaq 0xb72c(%rip), %rdi      # 0xe43e
callq 0x20a0
leaq 0xb72b(%rip), %rdi      # 0xe449
callq 0x20a0
movl %ebx, %edi
callq 0x2060
leaq 0xb748(%rip), %rdi      # 0xe479
callq 0x20a0
leaq 0xb745(%rip), %rdi      # 0xe482
callq 0x20a0
leaq 0xb75a(%rip), %rdi      # 0xe4a3
callq 0x20a0
leaq 0xb76e(%rip), %rdi      # 0xe4c3
callq 0x20a0
leaq 0xb776(%rip), %rdi      # 0xe4d7
callq 0x20a0
leaq 0xb791(%rip), %rdi      # 0xe4fe
callq 0x20a0
leaq 0xb7a9(%rip), %rdi      # 0xe522
callq 0x20a0
leaq 0xb7d0(%rip), %rdi      # 0xe555
callq 0x20a0
leaq 0xb7e6(%rip), %rdi      # 0xe577
callq 0x20a0
leaq 0xb7f0(%rip), %rdi      # 0xe58d
callq 0x20a0
leaq 0xb80a(%rip), %rdi      # 0xe5b3
callq 0x20a0
leaq 0xb847(%rip), %rdi      # 0xe5fc
callq 0x20a0
leaq 0xb862(%rip), %rdi      # 0xe623
callq 0x20a0
leaq 0xb89f(%rip), %rdi      # 0xe66c
callq 0x20a0
leaq 0xb8bc(%rip), %rdi      # 0xe695
callq 0x20a0
leaq 0xb8c2(%rip), %rdi      # 0xe6a7
callq 0x20a0
leaq 0xb8e6(%rip), %rdi      # 0xe6d7
callq 0x20a0
leaq 0xb91e(%rip), %rdi      # 0xe71b
callq 0x20a0
leaq 0xb953(%rip), %rdi      # 0xe75c
callq 0x20a0
leaq 0xb975(%rip), %rdi      # 0xe78a
callq 0x20a0
leaq 0xb998(%rip), %rdi      # 0xe7b9
callq 0x20a0
leaq 0xb44b(%rip), %rdi      # 0xe278
pushq $0x6
popq %rsi
pushq $0x40
popq %rdx
xorl %eax, %eax
callq 0x2100
leaq 0xb9ae(%rip), %rdi      # 0xe7ef
callq 0x20a0
leaq 0xb9da(%rip), %rdi      # 0xe827
callq 0x20a0
movl %ebx, %edi
callq 0x2060
leaq 0xba05(%rip), %rdi      # 0xe865
callq 0x20a0
leaq 0xba14(%rip), %rdi      # 0xe880
callq 0x20a0
leaq 0xba3d(%rip), %rdi      # 0xe8b5
callq 0x20a0
leaq 0xba58(%rip), %rdi      # 0xe8dc
callq 0x20a0
leaq 0xba92(%rip), %rdi      # 0xe922
callq 0x20a0
leaq 0xbabe(%rip), %rdi      # 0xe95a
callq 0x20a0
leaq 0xbad9(%rip), %rdi      # 0xe981
callq 0x20a0
leaq 0xbaf8(%rip), %rdi      # 0xe9ac
callq 0x20a0
leaq 0xbb0e(%rip), %rdi      # 0xe9ce
callq 0x20a0
movl %ebx, %edi
popq %rbx
jmp 0x2060