K
K
kaktus_psih2016-04-13 23:41:19
assembler
kaktus_psih, 2016-04-13 23:41:19

How to do disassembly?

Please help me disassemble
push %ebp
mov %esp,%ebp
mov 0x10(%ebp),%edx
mov %edx,%eax
shl $0x2,%eax
add %edx,%eax
cltd
idivl 0xc(%ebp)
mov %eax, %edx
mov 0x8(%ebp),%eax
sub %edx,%eax
mov %eax,%ecx
mov $0x34384ccb3,%edx
mov %ecx,%eax
imul %edx
sar $0x8,%edx
mov %ecx,%eax
sar $0x1f,%eax
sub %eax,%edx
mov %edx,%eax
imul $0x4e7,%eax,%eax
sub %eax,%ecx
mov %ecx,%eax
sub 0x8(%ebp),%eax
and 0xc (%ebp),%eax
pop %ebp
ret

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question