#include <bytecode.h>
Public Member Functions | |
| STAILQ_ENTRY (yasm_bytecode) link | |
| Bytecodes are stored as a singly linked list, with tail insertion. | |
Data Fields | |
| const yasm_bytecode_callback * | callback |
| The bytecode callback structure for this bytecode. | |
| yasm_section * | section |
| Pointer to section containing bytecode; NULL if not part of a section. | |
| yasm_expr * | multiple |
| Number of times bytecode is repeated. | |
| unsigned long | len |
| Total length of entire bytecode (not including multiple copies). | |
| long | mult_int |
| Number of copies, integer version. | |
| unsigned long | line |
| Line number where bytecode was defined. | |
| unsigned long | offset |
| Offset of bytecode from beginning of its section. | |
| unsigned long | bc_index |
| Unique integer index of bytecode. | |
| yasm_symrec ** | symrecs |
| NULL-terminated array of labels that point to this bytecode (as the bytecode previous to the label). | |
| void * | contents |
| Implementation-specific data (type identified by callback). | |
Definition at line 176 of file bytecode.h.
| yasm_bytecode::STAILQ_ENTRY | ( | yasm_bytecode | ) |
Bytecodes are stored as a singly linked list, with tail insertion.
The bytecode callback structure for this bytecode.
May be NULL during partial initialization.
Definition at line 185 of file bytecode.h.
Number of times bytecode is repeated.
NULL=1 (to save space in the common case).
Definition at line 195 of file bytecode.h.
| unsigned long yasm_bytecode::len |
Total length of entire bytecode (not including multiple copies).
Definition at line 198 of file bytecode.h.
| unsigned long yasm_bytecode::line |
| unsigned long yasm_bytecode::offset |
Offset of bytecode from beginning of its section.
0-based, ~0UL (e.g. all 1 bits) if unknown.
Definition at line 209 of file bytecode.h.
| unsigned long yasm_bytecode::bc_index |
Unique integer index of bytecode.
Used during optimization.
Definition at line 212 of file bytecode.h.
NULL-terminated array of labels that point to this bytecode (as the bytecode previous to the label).
NULL if no labels point here.
Definition at line 217 of file bytecode.h.
| void* yasm_bytecode::contents |
Implementation-specific data (type identified by callback).
Definition at line 220 of file bytecode.h.
1.5.2