blob: e0bf3673cb67eb1d93aed35231940ae6638dbb38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdio.h>
#include <stdlib.h>
#include "emulator.h"
#include "test_loader.h"
int main(int argc, char ** argv)
{
test_loader * loader = new test_loader();
emulator * em = new emulator(loader, 1024, 256, 16);
em->run();
em->set_constants(0.5);
fprintf(stderr, "Ouput= %s\n", em->get_output_value(0)->to_string().c_str());
}
|