I think this is the assembly:
prog.s
Code:
.file "prog.c"
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "activedirections[0] = %i\n"
.LC1:
.string "holder = %i\n"
.text
.globl main
.type main, @function
main:
.LFB2:
pushq %rbx
.LCFI0:
movl $4, %edi
call malloc
xorl %esi, %esi
movq %rax, %rbx
movl $1, (%rax)
movl $.LC0, %edi
xorl %eax, %eax
call printf
movl (%rbx), %esi
movl $.LC0, %edi
xorl %eax, %eax
call printf
xorl %esi, %esi
movl $.LC1, %edi
xorl %eax, %eax
call printf
movq %rbx, %rdi
call free
popq %rbx
ret
.LFE2:
.size main, .-main
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0x0
.byte 0x1
.string "zR"
.uleb128 0x1
.sleb128 -8
.byte 0x10
.uleb128 0x1
.byte 0x3
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE1:
.LSFDE1:
.long .LEFDE1-.LASFDE1
.LASFDE1:
.long .LASFDE1-.Lframe1
.long .LFB2
.long .LFE2-.LFB2
.uleb128 0x0
.byte 0x4
.long .LCFI0-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x83
.uleb128 0x2
.align 8
.LEFDE1:
.ident "GCC: (Debian 4.3.2-1.1) 4.3.2"
.section .note.GNU-stack,"",@progbits