flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
can we say that "equ" overdefines equate and "define" redefines equate?
|
|||
![]() |
|
Tomasz Grysztar
What's the reason behing such calling?
BTW: note that fasm's EQU is basically the same thing as XDEFINE in NASM. |
|||
![]() |
|
vid
if you want to differ in text that you need to "equ"-define or "define"-define symbolic consant. but maybe it's really not needed...
|
|||
![]() |
|
UCM
aren't "div" and "shr" instruction mnemonics?
|
|||
![]() |
|
vid
i thought that too...
|
|||
![]() |
|
MazeGen
According to the context, they are either mnemonics or operators.
|
|||
![]() |
|
Tomasz Grysztar
"div" is only a mnemonic, "shr", "shl", "and", "or", "xor" and "not" are both mnemonics and operators (after TASM). There is also "mod" which is operator, but not mnemonic.
|
|||
![]() |
|
vid
so is it "mnemonics" or "mnemonic" ???
|
|||
![]() |
|
Plue
\ at the end of line or immediately before comment is a line continuation character
one mnemonic two or more mnemonics |
|||
![]() |
|
vid
Quote: when macro is used, it is "expanded" by preprocessor i still lack some proper term for this... |
|||
![]() |
|
Madis731
I think it is somewhat related to unpacking - it has an algorithm that gets defined by the macro itself. How about "extracted" by the preprocessor or maybe "translated" like in edcrypting or language-translation.
|
|||
![]() |
|
vid
nice ideas... but i think that ours Dungeon Master should decide
![]() |
|||
![]() |
|
f0dder
"macro expansion" would be the term normally used...
|
|||
![]() |
|
ChrisLeslie
I think that Tomasz should take the hint that it is a good idea to tabulate all such definitions in one place somewhere near the begining of the manual.
Good on you vid! as the FASM product will be greatly enhanced and popularised by more well defined documentation. Chris |
|||
![]() |
|
f0dder
ChrisLeslie wrote: I think that Tomasz should take the hint that it is a good idea to tabulate all such definitions in one place somewhere near the begining of the manual. Or at the end, as an appendix - I personally think that'd be better. _________________ ![]() |
|||
![]() |
|
vid
okay, for now i am calling it "expansion"
fodder: btw, WHERE is it used aside FASM? |
|||
![]() |
|
UCM
C, C++, (almost) all other assemblers
![]() |
|||
![]() |
|
f0dder
vid: masm, nasm, (other assemblers), C/C++ preprocessors all do macro expansion. Pascal doesn't
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.