Lecture Practice Quiz 23 Write a C function equivlaent to the following assembly language function. .file "pquiz23.c" .text .globl quiz23 .type quiz23, @function quiz23: pushl %ebp movl %esp, %ebp subl $16, %esp movl $0, -4(%ebp) jmp .L2 .L3: addl $1, -4(%ebp) .L2: movl -4(%ebp), %eax addl 8(%ebp), %eax movzbl (%eax), %eax testb %al, %al jne .L3 movl -4(%ebp), %eax leave ret .size quiz23, .-quiz23 .ident "GCC: (GNU) 4.4.5 20101112 (Red Hat 4.4.5-2)" .section .note.GNU-stack,"",@progbits ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________ ____________________________________________