Initial commit
This commit is contained in:
17
main.cpp
Normal file
17
main.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "emulator.h"
|
||||
#include <iostream>
|
||||
|
||||
// I'm too lazy to write these every time
|
||||
using in = Instruction;
|
||||
using it = InstType;
|
||||
|
||||
int main() {
|
||||
std::cout << "Starting VM..." << std::endl;
|
||||
|
||||
Memory memory({
|
||||
in()
|
||||
});
|
||||
|
||||
Emulator emulator(memory);
|
||||
emulator.start();
|
||||
}
|
||||
Reference in New Issue
Block a user