































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
































.file "example.c" .globl _global .data .align 4 _global: .long 11 .def ___main .section .rdata,"dr" LC0: .ascii "Outside, global = %d\12\0" .text .globl _main .def _main _main: pushl %ebp movl %esp, %ebp subl $24, %esp andl $-16, %esp movl $0, %eax addl $15, %eax addl $15, %eax shrl $4, %eax sall $4, %eax movl %eax, -4(%ebp) movl -4(%ebp), %eax call __alloca call ___main movl $33, _global movl $55, _global movl _global, %eax movl %eax, 4(%esp) movl $LC0, (%esp) call _printf leave ret .def _printf