Macros | |
| #define | LF 0x0A |
| #define | MAX_TOKEN_LENGTH 1024 |
| #define | MAX_TOKENS 100 |
Enumerations | |
| enum | segtype { NOSEG, DATASEG, TEXTSEG } |
| enum | tokenstat { NOT_WHITESPACE, WHITESPACE, TOKEN_AVAILABLE, LINE_DONE, FILE_DONE, PARSED_OKAY } |
Functions | |
| void | datasegstart (void) |
| void | emit_0_or_1_operandsl (void) |
| void | emit_1_or_2_operandsl (void) |
| void | emit_1_or_2_operandsl_vartext (char *str0, char *str1) |
| void | emit_multiple_data (void) |
| void | emitanoperand (int tnum, char *type, int notdata) |
| void | emitdata (void) |
| void | emitexterndef (void) |
| void | emitonecalldata (void) |
| void | emitonedata (void) |
| void | emitonejumpdata (void) |
| void | emitoneoperandb (void) |
| void | emitoneoperandl (void) |
| void | emitoneoperandw (void) |
| void | emittwooperandsb (void) |
| void | emittwooperandsl (void) |
| void | emittwooperandsw (void) |
| void | errorexit (void) |
| int | gettoken (void) |
| int | main () |
| void | nooperands (void) |
| tokenstat | parseline (void) |
| void | special_fdivl (void) |
| void | special_fdivpl (void) |
| void | special_fdivrl (void) |
| void | special_fdivrpl (void) |
| void | special_fsubl (void) |
| void | special_fsubpl (void) |
| void | special_fsubrl (void) |
| void | special_fsubrpl (void) |
| void | textsegstart (void) |
| tokenstat | whitespace (int c) |
Variables | |
| segtype | currentseg = NOSEG |
| int | linein |
| int | lineout |
| int | numparse = sizeof (parsedata) / sizeof (parsedata[0]) |
| int | numregs = sizeof (reglist) / sizeof (reglist[0]) |
| parsefield | parsedata [] |
| regdesc | reglist [] |
| char * | token |
| int | tokennum |
| char | tokens [MAX_TOKENS][MAX_TOKEN_LENGTH+1] |
| #define LF 0x0A |
| #define MAX_TOKEN_LENGTH 1024 |
| #define MAX_TOKENS 100 |
| enum segtype |
| enum tokenstat |
| void datasegstart | ( | void | ) |
| void emit_0_or_1_operandsl | ( | void | ) |
| void emit_1_or_2_operandsl | ( | void | ) |
| void emit_1_or_2_operandsl_vartext | ( | char * | str0, |
| char * | str1 | ||
| ) |
| void emit_multiple_data | ( | void | ) |
| void emitdata | ( | void | ) |
| void emitexterndef | ( | void | ) |
| void emitonecalldata | ( | void | ) |
| void emitonedata | ( | void | ) |
| void emitonejumpdata | ( | void | ) |
| void emitoneoperandb | ( | void | ) |
| void emitoneoperandl | ( | void | ) |
| void emitoneoperandw | ( | void | ) |
| void emittwooperandsb | ( | void | ) |
| void emittwooperandsl | ( | void | ) |
| void emittwooperandsw | ( | void | ) |
| void errorexit | ( | void | ) |
| int gettoken | ( | void | ) |
| int main | ( | ) |
| void nooperands | ( | void | ) |
| tokenstat parseline | ( | void | ) |
| void special_fdivl | ( | void | ) |
| void special_fdivpl | ( | void | ) |
| void special_fdivrl | ( | void | ) |
| void special_fdivrpl | ( | void | ) |
| void special_fsubl | ( | void | ) |
| void special_fsubpl | ( | void | ) |
| void special_fsubrl | ( | void | ) |
| void special_fsubrpl | ( | void | ) |
| void textsegstart | ( | void | ) |
| int linein |
| int lineout |
| parsefield parsedata[] |
| regdesc reglist[] |
| char* token |
| int tokennum |
| char tokens[MAX_TOKENS][MAX_TOKEN_LENGTH+1] |