/*************************************************************************** * file name : assembler.c * * author : * * description : This program will assemble a .ASM file into a .OBJ file * * This program will use the "asm_parser" library to achieve * * its functionality. * * * *************************************************************************** * */ #include #include #include #include "asm_parser.h" int main(int argc, char** argv) { char* filename = NULL ; // name of ASM file char program [ROWS][COLS] ; // ASM file line-by-line char program_bin_str [ROWS][17] ; // instructions converted to a binary string unsigned short int program_bin [ROWS] ; // instructions in binary (HEX) }