flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Help with 'defined', please - 2 |
Author |
|
jbojarczuk 18 Jan 2007, 17:36
I am sorry, but I am just not beeing able to use the screen for replying. IE6 keeps giving an error. Therefore, I will post the source code here.
Again, I would like to post properly, but I am not able to.
|
|||||||||||
18 Jan 2007, 17:36 |
|
Tomasz Grysztar 18 Jan 2007, 19:48
When the assembly process is interrupted by an error (like in the case above), the display from the last [partially] performed pass is dumped to output. The values from intermediate passes may not (and usually will not) reflect the true solution values, which can not get resolved in such case because of an error.
For more details see section 2.2.6 of the manual. flat assembler manual, section 2.2.6 wrote: Only the messages created with the display directive during the last performed pass get actually displayed. In case when the assembly has been stopped due to an error, these messages may reflect the predicted values that are not yet resolved correctly. |
|||
18 Jan 2007, 19:48 |
|
jbojarczuk 19 Jan 2007, 13:25
Thanks a lot!!!!
I appreciate all of you guys' time. Finally managed to understand and nail the problem... I solved it with an additional label. I will be putting the solution here so that any other fasm user may use it further on (I know this is in the manual, but I just wasn't able to grasp it. I swear that I did read it). Code:
if defined TESTE
public TESTE
else
if define GARBAGE
extrn TESTE
end if
end if
GARBAGE:
|
|||
19 Jan 2007, 13:25 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.