flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > multipass assembling description request |
Author |
|
Tomasz Grysztar 30 Jun 2004, 20:56
I had once posted some kind of such description on the old forum: http://board.win32asmcommunity.net/showthread.php?s=&threadid=10640#post80063
|
|||
30 Jun 2004, 20:56 |
|
Tomasz Grysztar 30 Jun 2004, 21:12
I'm posting a copy of that post updated to cover the latest FASM releases:
FASM is a multi-pass assembler and therefore allows many kinds of forward references. You can access a label before it's defined and check whether it's used before it's actually used, because when FASM is not sure it can give you the right result on the first pass, it does the second, when all values of labels are already known. But it may happen that something (eg. opcode size) was predicted wrong and therefore some labels have changed. In such case FASM does one more pass, on so on. FASM determines that the one more pass is needed if one of the following situations happens:
|
|||
30 Jun 2004, 21:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.