#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 pow(int, int);
int /*<<< orphan*/ printf(char *, char);
int main(int argc, char *argv[]) {
  int valor = pow(2, 8);
  printf("%d\n", valor);
  char letra = 65;
  char letra1 = letra + 32;
  printf("%c\n", letra);
  printf("%c\n", letra1);
  letra1 = letra1 + 1;
  printf("%c\n", letra1);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x2,%edi
mov    $0x8,%esi
call   1040 <pow@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
lea    0xeb5(%rip),%rdi
movsbl %al,%esi
call   1030 <printf@plt>
movb   $0x41,-0x15(%rbp)
movsbl -0x15(%rbp),%eax
add    $0x20,%eax
mov    %al,-0x16(%rbp)
lea    0xe9c(%rip),%rdi
movsbl -0x15(%rbp),%esi
call   1030 <printf@plt>
lea    0xe8c(%rip),%rdi
movsbl -0x16(%rbp),%esi
call   1030 <printf@plt>
movsbl -0x16(%rbp),%eax
add    $0x1,%eax
mov    %al,-0x16(%rbp)
lea    0xe72(%rip),%rdi
movsbl -0x16(%rbp),%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
mov    $0x2,%edi
mov    $0x8,%esi
call   1040 <pow@plt>
movsbl %al,%esi
lea    0xec6(%rip),%rdi
call   1030 <printf@plt>
lea    0xebe(%rip),%rbx
mov    %rbx,%rdi
mov    $0x41,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x61,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x62,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%d\0A\00"
@.str.1 = [4 x i8] c"%c\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32
%6 = alloca i8
%7 = alloca i8
store i32 %0, i32* %3
store i8** %1, i8*** %4
%8 = call i32 @pow(i32 2, i32 8)
store i32 %8, i32* %5
%9 = load i32, i32* %5
%10 = trunc i32 %9 to i8
%11 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8 signext %10)
store i8 65, i8* %6
%12 = load i8, i8* %6
%13 = sext i8 %12 to i32
%14 = add nsw i32 %13, 32
%15 = trunc i32 %14 to i8
store i8 %15, i8* %7
%16 = load i8, i8* %6
%17 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext %16)
%18 = load i8, i8* %7
%19 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext %18)
%20 = load i8, i8* %7
%21 = sext i8 %20 to i32
%22 = add nsw i32 %21, 1
%23 = trunc i32 %22 to i8
store i8 %23, i8* %7
%24 = load i8, i8* %7
%25 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext %24)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%d\0A\00"
@.str.1 = [4 x i8] c"%c\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @pow(i32 2, i32 8)
%4 = trunc i32 %3 to i8
%5 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8 signext %4)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext 65)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext 97)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8 signext 98)
ret i32 0
}