T.I.M | Toolchain Documentation
|
Main source file for the assembler. Contains main function and argument parser. More...
Functions | |
void | usage (int argc, char **argv) |
prints usage instructions for the program. More... | |
void | parse_cmd_args (int argc, char **argv, asm_context *cxt) |
Parses the command line arguments passed to the program into a program_context object. More... | |
int | main (int argc, char **argv) |
Main entry point for the application. More... | |
Main source file for the assembler. Contains main function and argument parser.
int main | ( | int | argc, |
char ** | argv | ||
) |
Main entry point for the application.
References ASCII, asm_calculate_addresses(), asm_emit_instructions(), asm_hash_table_new(), asm_lex_input_file(), asm_parse_token_stream(), BINARY, error, fatal, log, parse_cmd_args(), and usage().
void parse_cmd_args | ( | int | argc, |
char ** | argv, | ||
asm_context * | cxt | ||
) |
void usage | ( | int | argc, |
char ** | argv | ||
) |
prints usage instructions for the program.
References tprintf.
Referenced by main(), and parse_cmd_args().