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