You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
416 B
19 lines
416 B
package main;
|
|
import configuration.Configuration;
|
|
import generic.Misc;
|
|
import generic.Statistics;
|
|
import generic.Simulator;
|
|
|
|
public class Main {
|
|
|
|
public static void main(String[] args) {
|
|
if(args.length != 2)
|
|
{
|
|
Misc.printErrorAndExit("usage: java -jar <path-to-jar-file> <path-to-assembly-program> <path-to-object-file>\n");
|
|
}
|
|
|
|
Simulator.setupSimulation(args[0]);
|
|
Simulator.assemble(args[1]);
|
|
}
|
|
|
|
}
|
|
|