Why pop takes a parameter in assembly?

Posted by Mask on Stack Overflow See other posts from Stack Overflow or by Mask
Published on 2010-03-31T15:14:12Z Indexed on 2010/03/31 15:43 UTC
Read the original article Hit count: 335

Filed under:
|
popl   %ebp

It seems the %ebp is unnecessary because the pop operation of stack doesn't need a parameter.

Why does it make sense?

© Stack Overflow or respective owner

Related posts about assembly

Related posts about pop