int main(int argc, char *argv[]) {
  char c = 'a';
  short s = 32767;
  unsigned short us = 65535;
  int i = 0x7fffffff;
  unsigned int ui = 0xffffffff;
  long l = i;
  unsigned long ul = ui;
  long long ll = 0x7fffffffffffffff;
  unsigned long long ull = 0xffffffffffffffff;
  float f = 1234567890.123456789;
  float f1 = 1234.56789;
  double d = 1234567890.123456789;
  char str[] = "Welcome to furzoom";
  unsigned int count;
  printf("|%-20d|\n", i);
  printf("|%+20d|\n", i);
  printf("|% d|\n", i);
  printf("|%#20d|\n", i);
  printf("|%#20X|\n", i);
  printf("|%020d|\n", i);
  printf("--------------\n");
  printf("|%10.3f|\n", f);
  printf("|%10.3f|\n", f1);
  printf("|%.10s|\n", str);
  printf("|%20.10s|\n", str);
  printf("|%*.*s|\n", 10, 5, str);
  printf("--------------\n");
  printf("|%hhc|\n", c);
  printf("|%hd|\n", s);
  printf("|%ld|\n", l);
  printf("|%lld|\n", ll);
  printf("--------------\n");
  printf("|%lld|%n\n", ll, &count);
  printf("|%u|\n", count);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movb   $0x61,-0x11(%rbp)
movw   $0x7fff,-0x14(%rbp)
movw   $0xffff,-0x16(%rbp)
movl   $0x7fffffff,-0x1c(%rbp)
movl   $0xffffffff,-0x20(%rbp)
movslq -0x1c(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%eax
mov    %rax,-0x30(%rbp)
movabs $0x7fffffffffffffff,%rax
ff ff 7f
mov    %rax,-0x38(%rbp)
movq   $0xffffffffffffffff,-0x40(%rbp)
ff
movss  0xe98(%rip),%xmm0
movss  %xmm0,-0x44(%rbp)
movss  0xe87(%rip),%xmm0
movss  %xmm0,-0x48(%rbp)
movsd  0xe72(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0xe76(%rip),%rax
mov    %rax,-0x70(%rbp)
mov    0xe73(%rip),%rax
mov    %rax,-0x68(%rbp)
mov    0xe70(%rip),%ax
mov    %ax,-0x60(%rbp)
mov    0xe68(%rip),%al
mov    %al,-0x5e(%rbp)
mov    -0x1c(%rbp),%esi
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xe54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xe4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xe32(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe2d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x44(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe26(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x48(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe0f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    -0x70(%rbp),%rsi
lea    0xe07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x70(%rbp),%rsi
lea    0xdfe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x70(%rbp),%rcx
lea    0xdf7(%rip),%rdi
mov    $0xa,%esi
mov    $0x5,%edx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x11(%rbp),%esi
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movswl -0x14(%rbp),%esi
lea    0xdcc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rsi
lea    0xdc1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%rsi
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd5b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%rsi
lea    0xd9e(%rip),%rdi
lea    -0x74(%rbp),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x74(%rbp),%esi
lea    0xd93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x28,%rsp
movaps 0xee2(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movl   $0x6d6f6f,0x1f(%rsp)
lea    0xee1(%rip),%rdi
mov    $0x7fffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed7(%rip),%rdi
mov    $0x7fffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xecd(%rip),%rdi
mov    $0x7fffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec1(%rip),%rdi
mov    $0x7fffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb7(%rip),%rdi
mov    $0x7fffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xead(%rip),%rdi
mov    $0x7fffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef8(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xe94(%rip),%rbx
movsd  0xe35(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe2b(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe73(%rip),%rdi
lea    0x10(%rsp),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe66(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe60(%rip),%rdi
mov    $0xa,%esi
mov    $0x5,%edx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xe46(%rip),%rdi
mov    $0x61,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe3b(%rip),%rdi
mov    $0x7fff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe2f(%rip),%rdi
mov    $0x7fffffff,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe23(%rip),%rdi
movabs $0x7fffffffffffffff,%rbx
ff ff 7f
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xe08(%rip),%rdi
lea    0xc(%rsp),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rsp),%esi
lea    0xdf8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__const.main.str = [19 x i8] c"Welcome to furzoom\00"
@.str = [9 x i8] c"|%-20d|\0A\00"
@.str.1 = [9 x i8] c"|%+20d|\0A\00"
@.str.2 = [7 x i8] c"|% d|\0A\00"
@.str.3 = [9 x i8] c"|%d|\0A\00"
@.str.4 = [9 x i8] c"|%X|\0A\00"
@.str.5 = [9 x i8] c"|%020d|\0A\00"
@.str.6 = [16 x i8] c"--------------\0A\00"
@.str.7 = [10 x i8] c"|%10.3f|\0A\00"
@.str.8 = [9 x i8] c"|%.10s|\0A\00"
@.str.9 = [11 x i8] c"|%20.10s|\0A\00"
@.str.10 = [9 x i8] c"|%*.*s|\0A\00"
@.str.11 = [8 x i8] c"|%hhc|\0A\00"
@.str.12 = [7 x i8] c"|%hd|\0A\00"
@.str.13 = [7 x i8] c"|%ld|\0A\00"
@.str.14 = [8 x i8] c"|%lld|\0A\00"
@.str.15 = [10 x i8] c"|%lld|%n\0A\00"
@.str.16 = [6 x i8] c"|%u|\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8
%7 = alloca i16
%8 = alloca i16
%9 = alloca i32
%10 = alloca i32
%11 = alloca i64
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
%15 = alloca float
%16 = alloca float
%17 = alloca double
%18 = alloca [19 x i8]
%19 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8 97, i8* %6
store i16 32767, i16* %7
store i16 -1, i16* %8
store i32 2147483647, i32* %9
store i32 -1, i32* %10
%20 = load i32, i32* %9
%21 = sext i32 %20 to i64
store i64 %21, i64* %11
%22 = load i32, i32* %10
%23 = zext i32 %22 to i64
store i64 %23, i64* %12
store i64 9223372036854775807, i64* %13
store i64 -1, i64* %14
store float 0x41D26580C0000000, float* %15
store float 0x40934A4580000000, float* %16
store double 0x41D26580B487E6B7, double* %17
%24 = bitcast [19 x i8]* %18 to i8*
%25 = load i32, i32* %9
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %25)
%27 = load i32, i32* %9
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %27)
%29 = load i32, i32* %9
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %29)
%31 = load i32, i32* %9
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 %31)
%33 = load i32, i32* %9
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %33)
%35 = load i32, i32* %9
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %35)
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
%38 = load float, float* %15
%39 = fpext float %38 to double
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double %39)
%41 = load float, float* %16
%42 = fpext float %41 to double
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double %42)
%44 = getelementptr inbounds [19 x i8], [19 x i8]* %18, i64 0, i64 0
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* %44)
%46 = getelementptr inbounds [19 x i8], [19 x i8]* %18, i64 0, i64 0
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i8* %46)
%48 = getelementptr inbounds [19 x i8], [19 x i8]* %18, i64 0, i64 0
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i32 10, i32 5, i8* %48)
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
%51 = load i8, i8* %6
%52 = sext i8 %51 to i32
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i32 %52)
%54 = load i16, i16* %7
%55 = sext i16 %54 to i32
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i32 %55)
%57 = load i64, i64* %11
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i64 %57)
%59 = load i64, i64* %13
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i64 %59)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
%62 = load i64, i64* %13
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i64 %62, i32* %19)
%64 = load i32, i32* %19
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i32 %64)
ret i32 0
}

LLVM IR (-O2):
@__const.main.str = [19 x i8] c"Welcome to furzoom\00"
@.str = [9 x i8] c"|%-20d|\0A\00"
@.str.1 = [9 x i8] c"|%+20d|\0A\00"
@.str.2 = [7 x i8] c"|% d|\0A\00"
@.str.3 = [9 x i8] c"|%d|\0A\00"
@.str.4 = [9 x i8] c"|%X|\0A\00"
@.str.5 = [9 x i8] c"|%020d|\0A\00"
@.str.7 = [10 x i8] c"|%10.3f|\0A\00"
@.str.8 = [9 x i8] c"|%.10s|\0A\00"
@.str.9 = [11 x i8] c"|%20.10s|\0A\00"
@.str.10 = [9 x i8] c"|%*.*s|\0A\00"
@.str.11 = [8 x i8] c"|%hhc|\0A\00"
@.str.12 = [7 x i8] c"|%hd|\0A\00"
@.str.13 = [7 x i8] c"|%ld|\0A\00"
@.str.14 = [8 x i8] c"|%lld|\0A\00"
@.str.15 = [10 x i8] c"|%lld|%n\0A\00"
@.str.16 = [6 x i8] c"|%u|\0A\00"
@str.18 = [15 x i8] c"--------------\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [19 x i8]
%4 = alloca i32
%5 = getelementptr inbounds [19 x i8], [19 x i8]* %3, i64 0, i64 0
%6 = bitcast i32* %4 to i8*
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 2147483647)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 2147483647)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 2147483647)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 2147483647)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 2147483647)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 2147483647)
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.18, i64 0, i64 0))
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double 0x41D26580C0000000)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double 0x40934A4580000000)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* %5)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i8* %5)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i32 10, i32 5, i8* %5)
%19 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.18, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i32 97)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i32 32767)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), i64 2147483647)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i64 9223372036854775807)
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.18, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i64 9223372036854775807, i32* %4)
%26 = load i32, i32* %4
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0), i32 %26)
ret i32 0
}