My Project
|
Driver for the lc3 assembler (do not modify) More...
Macros | |
#define | LC3AS_VAR |
Functions | |
int | main (int argc, char *argv[]) |
This file is a driver for the lc3 assembler and contains main(). The basic flow of the function is:
asm_init()
asm_pass_one()
asm_pass_two()
asm_term()
The program return 0
if no errors were found, non-zero otherwise.
#define LC3AS_VAR |
force instantiation of LC3AS_VAR variables in this file
int main | ( | int | argc, |
char * | argv[] | ||
) |
The entry point of the assembler. The program is invoked using:
[my]lc3as [-hex] assembly_file_name
argc | - count of arguments |
argv | - an array of arguments |