954,479 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Assembly To C

please help with a c program for the following ASM..

x is at %ebp + 8, y is at %ebp + 12

movl 8(%ebp), %ebx
movl $0, %eax
movl $0, %ecx
.L13:
leal (%eax, %eax), %edx
movl %ebx, %eax
andl $1, %eax
orl %edx, %eax
shrl %ebx Shift right by 1
addl $1, %ecx
cmpl $32, %ecx
jne .L13
lu25
Newbie Poster
15 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: