Beginner assembly should you put value into register before push?

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-03-25T00:58:16Z Indexed on 2010/03/25 1:03 UTC
Read the original article Hit count: 397

Filed under:
|
|

Which one is better/faster/preferred

1:

mov eax, 5

push eax

mov eax, [someAddress]

push eax

2:

push 5

push [someAddress]

© Stack Overflow or respective owner

Related posts about beginner

Related posts about assembly