flat assembler
Message board for the users of flat assembler.
Index
> Main > How dublicated proc ? |
Author |
|
revolution 06 Feb 2023, 07:35
It isn't possible to have two labels with the same name. Which one would you choose?
Code: a1: a1: ; <---- error: symbol already defined. Code: a1: ret a1 = $ ; <--- error: symbol already defined. ret Code: a1 = $ ret call a1 ;... a1 = $ ret call a1 |
|||
06 Feb 2023, 07:35 |
|
Roman 06 Feb 2023, 07:39
Thanks.
|
|||
06 Feb 2023, 07:39 |
|
revolution 06 Feb 2023, 07:54
If you define a variable more than once then you can't forward reference.
Code: call a1 ; <--- error: symbol 'a1' out of scope. a1 = $ a1 = $ |
|||
06 Feb 2023, 07:54 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.