I have a code from a function
subl $24, %esp
movl 8(%ebp), %eax
cmpl 12(%ebp), %eax
Before the code is just an 'ENTER' command, then an if statement will appear to return 1 if ebp> eax or 0 if it is less. I assume cmpl means comparison, but I cannot say what the specific values are. Can someone tell me what is going on?
source
share