26 lines
413 B
C++
26 lines
413 B
C++
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdint.h>
|
||
|
#include <fstream>
|
||
|
#include "instructions.h"
|
||
|
#include "vm.h"
|
||
|
#include "debug.h"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
int main() {
|
||
|
ifstream vmbytecode;
|
||
|
VM * vm;
|
||
|
uint8_t * data;
|
||
|
|
||
|
|
||
|
/*
|
||
|
if (vmbytecode != NULL) {
|
||
|
fread()
|
||
|
} else {
|
||
|
fprintf(stderr, "Couldn't open bytecode!\n");
|
||
|
return 1;
|
||
|
}
|
||
|
*/
|
||
|
return 0;
|
||
|
}
|