#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
void display_help(char cCommand) {
  switch (cCommand) {
  default:
    printf("A 2 Pass Assembler for SIC\n\n");
    printf("%.80s", "sicasm is a Simple 2 Pass Assembler for SIC, it Assembles "
                    "given SIC Assembly\n");
    printf("%.80s", "into correspinding Object. Currently it dosen't Support "
                    "the SIC/XE Instruction\n");
    printf("%.80s", "Set. The assembled Object code can be run in SICvm.\n");
    printf("%.80s", "(Based on Leland L.Beck's SIC in \"System Software\")\n");
    printf("%.80s", "\nUSAGE:\tsicasm [OPTIONS]... file...\n\n");
    printf("OPTIONS:\n");
    printf("%-20.20s%-.60s", "  -o <file>", "Place the output into <file>\n");
    printf("%-20.20s%-.60s", "  -b",
           "Indicates that after the Assembly, Strip the Object code\n");
    printf("%-20.20s%-.60s", " ",
           "into Bootstrap Format for SICvm and place it in the Default\n");
    printf("%-20.20s%-.60s", " ", "Device \"DEV00\"\n");
    printf("%-20.20s%-.60s", "  -l",
           "Indicates that after the Assembly, Strip the Object code\n");
    printf("%-20.20s%-.60s", " ",
           "into Loader Format for SICvm and place it in the Default\n");
    printf("%-20.20s%-.60s", " ", "Device \"DEVF1\"\n");
    printf("%-20.20s%-.60s", "  -d <devicename>",
           "Place the Object Code into <devicename>\n");
    printf("%-20.20s%-.60s", " ",
           "1) Device Names are of the Format DEVxx where xx is any\n");
    printf("%-20.20s%-.60s", " ",
           "   Hexadecimal Number ranging from '00' to 'FF'\n");
    printf("%-20.20s%-.60s", " ",
           "2) Devices DEV00, DEVF1, DEVF0, DEVA0 are reserved and\n");
    printf("%-20.20s%-.60s", " ", "   and should not be used.\n");
    printf("%-20.20s%-.60s", "  -O[\"file\"]",
           "Indicate the location of external OPTAB\n");
    printf("%-20.20s%-.60s", " ", "1) \"file\" is Optional.\n");
    printf("%-20.20s%-.60s", " ",
           "2) If no \"file\" is supplied, by default \"optab.txt\"\n");
    printf("%-20.20s%-.60s", " ", "   will be taken as the external OPTAB.\n");
    printf("%-20.20s%-.60s", " ",
           "3) \"file\" if supplied should be enclosed in \"\".\n");
    printf("%-20.20s%-.60s", " ",
           "4) \"file\" and O should not have any space in between\n");
    printf("%-20.20s%-.60s", " ", "   for example -O\"optab.txt\".\n");
    printf("%-20.20s%-.60s", " ",
           "5) If -O is omitted then the Internal OPTAB will be used.\n");
    printf("%-20.20s%-.60s", "  -V", "Gives a more verbose Assembly Output\n");
    printf("%-20.20s%-.60s", "  -v",
           "Displays the version of the Assembler.\n");
    printf("%-20.20s%-.60s", "  -h", "Display this help\n");
    printf("%.80s", "\nArguments of Options enclosed in \"<>\" (like \"-o "
                    "<file>\") are mandatory\n");
    printf("%.80s", "others (like \"-O [file]\") are optional\n");
    printf("%.80s", "\nReport Bugs to (fragger_fox@users.sourceforge.net).\n");
    break;
  }
}


x86 assembly (clang, -O0):
<display_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %dil,%al
mov    %al,-0x1(%rbp)
lea    0xedb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeea(%rip),%rdi
lea    0xee9(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed5(%rip),%rdi
lea    0xf22(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec0(%rip),%rdi
lea    0xf5d(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeab(%rip),%rdi
lea    0xf7d(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe96(%rip),%rdi
lea    0xf9d(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb1(%rip),%rdi
lea    0xfb9(%rip),%rsi
lea    0xfbe(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
lea    0xfc7(%rip),%rsi
lea    0xfc5(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf79(%rip),%rdi
lea    0xfea(%rip),%rsi
lea    0xfe5(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5d(%rip),%rdi
lea    0xfce(%rip),%rsi
lea    0x1006(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf41(%rip),%rdi
lea    0x1001(%rip),%rsi
lea    0xf71(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
lea    0xf96(%rip),%rsi
lea    0xfe3(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf09(%rip),%rdi
lea    0xf7a(%rip),%rsi
lea    0x1001(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
lea    0xffc(%rip),%rsi
lea    0x1007(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed1(%rip),%rdi
lea    0xf42(%rip),%rsi
lea    0x1014(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb5(%rip),%rdi
lea    0xf26(%rip),%rsi
lea    0x1031(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe99(%rip),%rdi
lea    0xf0a(%rip),%rsi
lea    0x1046(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe7d(%rip),%rdi
lea    0xeee(%rip),%rsi
lea    0x1062(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe61(%rip),%rdi
lea    0x1069(%rip),%rsi
lea    0x106f(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe45(%rip),%rdi
lea    0xeb6(%rip),%rsi
lea    0x107c(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe29(%rip),%rdi
lea    0xe9a(%rip),%rsi
lea    0x1078(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe0d(%rip),%rdi
lea    0xe7e(%rip),%rsi
lea    0x1091(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdf1(%rip),%rdi
lea    0xe62(%rip),%rsi
lea    0x109e(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdd5(%rip),%rdi
lea    0xe46(%rip),%rsi
lea    0x10b3(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb9(%rip),%rdi
lea    0xe2a(%rip),%rsi
lea    0x10cd(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd9d(%rip),%rdi
lea    0xe0e(%rip),%rsi
lea    0x10d0(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd81(%rip),%rdi
lea    0x10f6(%rip),%rsi
lea    0x10f4(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd65(%rip),%rdi
lea    0x1105(%rip),%rsi
lea    0x1103(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd49(%rip),%rdi
lea    0x1116(%rip),%rsi
lea    0x1114(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbef(%rip),%rdi
lea    0x1112(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbda(%rip),%rdi
lea    0x1146(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbc5(%rip),%rdi
lea    0x1159(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_help>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0x1498(%rip),%rdi
call   1030 <puts@plt>
lea    0xec5(%rip),%r14
lea    0xec4(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf01(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf40(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf64(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf88(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x144c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf91(%rip),%rbx
lea    0xf99(%rip),%rsi
lea    0xf9e(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfab(%rip),%rsi
lea    0xfa9(%rip),%r12
mov    %rbx,%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfcf(%rip),%r15
lea    0xfca(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xff3(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfef(%rip),%rsi
mov    %rbx,%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfe0(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1006(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1002(%rip),%rsi
lea    0x100d(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1025(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x104a(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1067(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x108b(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1093(%rip),%rsi
lea    0x1099(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10b1(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10b5(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10d6(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10eb(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1108(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x112a(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1135(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x115c(%rip),%rsi
lea    0x115a(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x116f(%rip),%rsi
lea    0x116d(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1184(%rip),%rsi
lea    0x1182(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1184(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x11bc(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x11d3(%rip),%rsi
mov    %r14,%rdi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [29 x i8] c"A 2 Pass Assembler for SIC\0A\0A\00"
@.str.1 = [6 x i8] c"%.80s\00"
@.str.2 = [78 x i8] c"sicasm is a Simple 2 Pass Assembler for SIC, it Assembles given SIC Assembly\0A\00"
@.str.3 = [80 x i8] c"into correspinding Object. Currently it dosen't Support the SIC/XE Instruction\0A\00"
@.str.4 = [53 x i8] c"Set. The assembled Object code can be run in SICvm.\0A\00"
@.str.5 = [53 x i8] c"(Based on Leland L.Beck's SIC in \22System Software\22)\0A\00"
@.str.6 = [38 x i8] c"\0AUSAGE:\09sicasm [OPTIONS]... file...\0A\0A\00"
@.str.7 = [10 x i8] c"OPTIONS:\0A\00"
@.str.8 = [15 x i8] c"%-20.20s%-.60s\00"
@.str.9 = [12 x i8] c" -o <file>\00"
@.str.10 = [30 x i8] c"Place the output into <file>\0A\00"
@.str.11 = [5 x i8] c" -b\00"
@.str.12 = [58 x i8] c"Indicates that after the Assembly, Strip the Object code\0A\00"
@.str.13 = [2 x i8] c" \00"
@.str.14 = [61 x i8] c"into Bootstrap Format for SICvm and place it in the Default\0A\00"
@.str.15 = [16 x i8] c"Device \22DEV00\22\0A\00"
@.str.16 = [5 x i8] c" -l\00"
@.str.17 = [58 x i8] c"into Loader Format for SICvm and place it in the Default\0A\00"
@.str.18 = [16 x i8] c"Device \22DEVF1\22\0A\00"
@.str.19 = [18 x i8] c" -d <devicename>\00"
@.str.20 = [41 x i8] c"Place the Object Code into <devicename>\0A\00"
@.str.21 = [57 x i8] c"1) Device Names are of the Format DEVxx where xx is any\0A\00"
@.str.22 = [49 x i8] c" Hexadecimal Number ranging from '00' to 'FF'\0A\00"
@.str.23 = [56 x i8] c"2) Devices DEV00, DEVF1, DEVF0, DEVA0 are reserved and\0A\00"
@.str.24 = [28 x i8] c" and should not be used.\0A\00"
@.str.25 = [13 x i8] c" -O[\22file\22]\00"
@.str.26 = [41 x i8] c"Indicate the location of external OPTAB\0A\00"
@.str.27 = [24 x i8] c"1) \22file\22 is Optional.\0A\00"
@.str.28 = [53 x i8] c"2) If no \22file\22 is supplied, by default \22optab.txt\22\0A\00"
@.str.29 = [41 x i8] c" will be taken as the external OPTAB.\0A\00"
@.str.30 = [49 x i8] c"3) \22file\22 if supplied should be enclosed in \22\22.\0A\00"
@.str.31 = [54 x i8] c"4) \22file\22 and O should not have any space in between\0A\00"
@.str.32 = [31 x i8] c" for example -O\22optab.txt\22.\0A\00"
@.str.33 = [59 x i8] c"5) If -O is omitted then the Internal OPTAB will be used.\0A\00"
@.str.34 = [5 x i8] c" -V\00"
@.str.35 = [38 x i8] c"Gives a more verbose Assembly Output\0A\00"
@.str.36 = [5 x i8] c" -v\00"
@.str.37 = [40 x i8] c"Displays the version of the Assembler.\0A\00"
@.str.38 = [5 x i8] c" -h\00"
@.str.39 = [19 x i8] c"Display this help\0A\00"
@.str.40 = [73 x i8] c"\0AArguments of Options enclosed in \22<>\22 (like \22-o <file>\22) are mandatory\0A\00"
@.str.41 = [40 x i8] c"others (like \22-O [file]\22) are optional\0A\00"
@.str.42 = [54 x i8] c"\0AReport Bugs to (fragger_fox@users.sourceforge.net).\0A\00"
define void @display_help(i8 signext %0) {
%2 = alloca i8
store i8 %0, i8* %2
%3 = load i8, i8* %2
%4 = sext i8 %3 to i32
switch i32 %4, label %5 [
]
5: ; preds = %1
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.12, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.20, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.21, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.22, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.23, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.26, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.27, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.28, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.29, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.30, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.31, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.32, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.33, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.35, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.37, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.39, i64 0, i64 0))
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.40, i64 0, i64 0))
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.41, i64 0, i64 0))
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.42, i64 0, i64 0))
br label %39
39: ; preds = %5
ret void
}

LLVM IR (-O2):
@.str.1 = [6 x i8] c"%.80s\00"
@.str.2 = [78 x i8] c"sicasm is a Simple 2 Pass Assembler for SIC, it Assembles given SIC Assembly\0A\00"
@.str.3 = [80 x i8] c"into correspinding Object. Currently it dosen't Support the SIC/XE Instruction\0A\00"
@.str.4 = [53 x i8] c"Set. The assembled Object code can be run in SICvm.\0A\00"
@.str.5 = [53 x i8] c"(Based on Leland L.Beck's SIC in \22System Software\22)\0A\00"
@.str.6 = [38 x i8] c"\0AUSAGE:\09sicasm [OPTIONS]... file...\0A\0A\00"
@.str.8 = [15 x i8] c"%-20.20s%-.60s\00"
@.str.9 = [12 x i8] c" -o <file>\00"
@.str.10 = [30 x i8] c"Place the output into <file>\0A\00"
@.str.11 = [5 x i8] c" -b\00"
@.str.12 = [58 x i8] c"Indicates that after the Assembly, Strip the Object code\0A\00"
@.str.13 = [2 x i8] c" \00"
@.str.14 = [61 x i8] c"into Bootstrap Format for SICvm and place it in the Default\0A\00"
@.str.15 = [16 x i8] c"Device \22DEV00\22\0A\00"
@.str.16 = [5 x i8] c" -l\00"
@.str.17 = [58 x i8] c"into Loader Format for SICvm and place it in the Default\0A\00"
@.str.18 = [16 x i8] c"Device \22DEVF1\22\0A\00"
@.str.19 = [18 x i8] c" -d <devicename>\00"
@.str.20 = [41 x i8] c"Place the Object Code into <devicename>\0A\00"
@.str.21 = [57 x i8] c"1) Device Names are of the Format DEVxx where xx is any\0A\00"
@.str.22 = [49 x i8] c" Hexadecimal Number ranging from '00' to 'FF'\0A\00"
@.str.23 = [56 x i8] c"2) Devices DEV00, DEVF1, DEVF0, DEVA0 are reserved and\0A\00"
@.str.24 = [28 x i8] c" and should not be used.\0A\00"
@.str.25 = [13 x i8] c" -O[\22file\22]\00"
@.str.26 = [41 x i8] c"Indicate the location of external OPTAB\0A\00"
@.str.27 = [24 x i8] c"1) \22file\22 is Optional.\0A\00"
@.str.28 = [53 x i8] c"2) If no \22file\22 is supplied, by default \22optab.txt\22\0A\00"
@.str.29 = [41 x i8] c" will be taken as the external OPTAB.\0A\00"
@.str.30 = [49 x i8] c"3) \22file\22 if supplied should be enclosed in \22\22.\0A\00"
@.str.31 = [54 x i8] c"4) \22file\22 and O should not have any space in between\0A\00"
@.str.32 = [31 x i8] c" for example -O\22optab.txt\22.\0A\00"
@.str.33 = [59 x i8] c"5) If -O is omitted then the Internal OPTAB will be used.\0A\00"
@.str.34 = [5 x i8] c" -V\00"
@.str.35 = [38 x i8] c"Gives a more verbose Assembly Output\0A\00"
@.str.36 = [5 x i8] c" -v\00"
@.str.37 = [40 x i8] c"Displays the version of the Assembler.\0A\00"
@.str.38 = [5 x i8] c" -h\00"
@.str.39 = [19 x i8] c"Display this help\0A\00"
@.str.40 = [73 x i8] c"\0AArguments of Options enclosed in \22<>\22 (like \22-o <file>\22) are mandatory\0A\00"
@.str.41 = [40 x i8] c"others (like \22-O [file]\22) are optional\0A\00"
@.str.42 = [54 x i8] c"\0AReport Bugs to (fragger_fox@users.sourceforge.net).\0A\00"
@str = [28 x i8] c"A 2 Pass Assembler for SIC\0A\00"
@str.43 = [9 x i8] c"OPTIONS:\00"
define void @display_help(i8 signext %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.43, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.12, i64 0, i64 0))
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.14, i64 0, i64 0))
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.15, i64 0, i64 0))
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.17, i64 0, i64 0))
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0))
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.20, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.21, i64 0, i64 0))
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.22, i64 0, i64 0))
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.23, i64 0, i64 0))
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0))
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.26, i64 0, i64 0))
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.27, i64 0, i64 0))
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.28, i64 0, i64 0))
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.29, i64 0, i64 0))
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.30, i64 0, i64 0))
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.31, i64 0, i64 0))
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.32, i64 0, i64 0))
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.33, i64 0, i64 0))
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.35, i64 0, i64 0))
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.37, i64 0, i64 0))
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.39, i64 0, i64 0))
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.40, i64 0, i64 0))
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.41, i64 0, i64 0))
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.42, i64 0, i64 0))
ret void
}