flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > push ecx+1 trashes ebx? |
Author |
|
LocoDelAssembly 29 Apr 2009, 21:38
Code: 00401001 60 PUSHAD 00401002 51 PUSH ECX 00401003 6A 01 PUSH 1 00401005 83C4 04 ADD ESP,4 00401008 61 POPAD "push ECX+1" is not the equivalent of push ecx/lea ecx,[ecx+1]/xchg ecx, [esp] but push ecx/push +1 instead. push and pop supports an arbitrary number of operands without comma separation |
|||
29 Apr 2009, 21:38 |
|
Azu 29 Apr 2009, 21:44
Thanks ^^ that explains a lot.
|
|||
29 Apr 2009, 21:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.