|
||
| Binary symbol table formats | ||
The GoLogic software supports the following
binary symbol table file formats produced by assemblers and compilers...
Note: Remember to set the compiler/assembler
options to include debug information in the output file. This is usually
found under the "link" options. There are usually separate options for
symbols and line number information. |
||
| Text symbol table files | ||
Text symbol table files must follow these
formatting rules...
Here is an example symbol-first file for a 12-bit channel group...
Here is an example address-first file for a 12-bit channel group...
For very large text symbol table files, the following header lines can be placed at the start of the file to minimize the time required to read the file...
|
||
| Text bit-mask files | ||
A text bit-mask file is a special type of text
symbol table. Symbol names are associated with masks which can match many
values. This makes them more useful for channel groups representing a status
bus. For example...
The above example is for a 12-bit channel group. The symbol name "HelloWorld" matches all values 0xF00 through 0xF0F. Ordinary text symbol table files match a single value to each symbol name. The text bit-mask file matches multiple values to each symbol name. To create a text bit-mask file, use the following header line at the start of the text file...
All lines that follow the "BitMasks" flag are assumed to define a symbol name and mask. No other header lines can be used with the "BitMasks" flag. Text bit-mask files follow these rules...
Here is an example text bit-mask file for a 16-bit channel group...
|
||
| Symbol colors | ||
An optional color attribute can be added to each
line in text symbol table files and text bit-mask files. Here is an example using a binary mask ...
The symbolic name "HelloWorld" is displayed in blue, which is one of the standard color names supported by the GoLogic software (listed below). The symbolic name "Welcome2" is displayed using a custom hexadecimal RGB (red/green/blue) value "0xC1C13C" which is sort of a mustard yellow. The GoLogic software recognizes the following standard color names. The hexadecimal RGB value for each color is provided next to the name in parenthesis as examples for creating custom colors...
Custom RGB color values are 24-bit unsigned
integers. Each component color (red, green, and blue) are represented by
8-bits. The color order within each value is RRGGBB. Zero is the absence of
a color while 0xFF is each color's maximum value. Therefore, pure red is
0xFF0000, pure green is 0x00FF00, and pure blue is 0x0000FF. |
||
| Copyright and trademark information | ||
| Contents |