flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 08 Mar 2010, 10:21
"ab" is a single token, "a*" are two separate tokens. The ` symbol works on a single token. Thus in first case you get '"'#'ab'#'"' => '"ab"', and in second case you get '"'#'a'*#'"' => '"a'*'"' (because # cannot concatenate name token with a quoted token), which is a multiplication of two quoted values.
Read more about tokenization here: http://flatassembler.net/docs.php?article=ufasm (in section "Tokenization of source and line makers"). |
|||
![]() |
|
ouadji 08 Mar 2010, 10:59
thank you for your reply. I begin to understand ! but, why "ab" is a single token, and "a*" are two separate tokens ? Why this difference of interpretation between <ab> and <a*> ? |
|||
![]() |
|
Tomasz Grysztar 08 Mar 2010, 11:04
ouadji wrote: why "ab" is a single token, and "a*" are two separate tokens ? ![]() "Jokes" aside, please read the section 1.2.1 of fasm's manual; second paragraph, to be precise. |
|||
![]() |
|
ouadji 08 Mar 2010, 11:23
Quote:
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.