flat assembler
Message board for the users of flat assembler.
Index
> Main > push ecx edi ebx |
Author |
|
Dimas 05 Sep 2010, 11:28
push ecx edi ebx
This construction worked without any macro. Where it defined? |
|||
05 Sep 2010, 11:28 |
|
Tomasz Grysztar 05 Sep 2010, 12:13
fasm manual, section 2.1.1:
Quote: If more operands follow in the same line (separated only with spaces, not commas), compiler will assemble chain of the push instructions with these operands. That is another piece of TASM's heritage. |
|||
05 Sep 2010, 12:13 |
|
Tomasz Grysztar 05 Sep 2010, 12:17
ouadji wrote: This is defined intrinsically in PREPROCE.INC and X86_64.INC |
|||
05 Sep 2010, 12:17 |
|
ouadji 05 Sep 2010, 12:21
ok, only X86_64.INC thank you Tomasz |
|||
05 Sep 2010, 12:21 |
|
ouadji 05 Sep 2010, 12:31
|
|||
05 Sep 2010, 12:31 |
|
Dimas 05 Sep 2010, 12:31
I read manual many times...
It must be done once more... and once again... and more and more... Thanks! |
|||
05 Sep 2010, 12:31 |
|
Tomasz Grysztar 05 Sep 2010, 12:48
ouadji: no, it is not. It is result of parser. Also, it follows just the general rules of parsing, "push" instruction is not treated specially by it.
|
|||
05 Sep 2010, 12:48 |
|
ouadji 05 Sep 2010, 14:59
it's from "Parser" ... ok.
Quote:
Yes, I know that, but I thought that "preproce.inc" managed a part of pre-processing. When i'm working with the debugger, i don't always know which file the code comes from ! thank you for this clarification Tomasz. |
|||
05 Sep 2010, 14:59 |
|
Tomasz Grysztar 05 Sep 2010, 15:08
ouadji wrote: Yes, I know that, but I thought that "preproce.inc" managed a part of pre-processing. It also contains links to few more thread about fasm's internals, however some of that information is not up to date, because fasm was expanded in many areas since then. |
|||
05 Sep 2010, 15:08 |
|
ouadji 05 Sep 2010, 15:49
yes indeed, this topic is very interresting. Thank you very much Tomasz. |
|||
05 Sep 2010, 15:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.