gipu/cpp/emulator.cpp

17 lines
283 B
C++
Raw Normal View History

2017-05-13 18:36:46 +01:00
#include "debug.h"
2017-05-14 13:06:17 +01:00
#include "vm.h"
#include <fstream>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
2017-05-13 18:36:46 +01:00
using namespace std;
int main() {
2017-05-14 22:01:11 +01:00
uint8_t bytecode[] = "\x00\x00\x00";
VM vm(bytecode, sizeof(bytecode));
2017-05-14 21:10:58 +01:00
vm.run();
printf("\n\n");
2017-05-14 13:06:17 +01:00
vm.status();
return 0;
2017-05-13 18:36:46 +01:00
}