mirror of
https://github.com/avinal/The-Hack-Assembler.git
synced 2026-01-10 23:28:33 +05:30
driver file
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#include "../include/code.hpp"
|
||||
#include "../include/parser.hpp"
|
||||
#include "../include/symbol_table.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char const *argv[])
|
||||
{
|
||||
std::string asmfile;
|
||||
std::string asmfile(argv[1]);
|
||||
parser pars(asmfile);
|
||||
pars.assemble();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user