gipu/cpp/emulator.cpp

16 lines
303 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 21:10:58 +01:00
VM vm((uint8_t*)"\x00\x00\x50\x50\x03\x10\x00\x00\x02\x04\x10\x00\x04\x04\x01\x00\x13", 107);
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
}