flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > symbol table |
Author |
|
Tomasz Grysztar 07 Mar 2004, 21:20
These are codes for internal fasm's format of parsed source. For example AH symbol is represented in such source by two bytes - first 10h (it identifies the register symbol), second 14h (the high nibble is identificator of registers group - 1 means 8-bit general register, the low nibble is number of the register).
In parsed source all symbols that begin with the byte in range 10h-1Fh are two-bytes long, first byte identifies the group of symbols, second byte is the identificator of symbol inside the specific group. For example when first byte is 11h, symbol is one of the size operators, and the second byte represent the size itself (1 - byte, 2 - word, etc). Currently the first byte determines one of the following groups: Assembly language symbols (first byte 10h-17h):
Formatter-specific symbols (first byte 18h-1Fh):
Bytes of value 20h or greater usually represent the expression operators, like "+", "eq", etc. - these symbols are of one byte length. Byte 28h (code of left parenthesis) marks the beginning of numerical expression, byte 5Bh (code of left square bracket) marks the beginning of address expression - these parts of parsed source have various length, and have their own internal format (which can be the topic of some other post). When first byte is below 10h, it means one of the elementary assembler commands. Currently only the following values are used:
|
|||
07 Mar 2004, 21:20 |
|
Tomasz Grysztar 11 Feb 2013, 07:31
In flat assembler 1.71 there is a new elementary command added:
|
|||
11 Feb 2013, 07:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.