r16/emu/main.c
2024-04-25 09:47:01 +00:00

26 lines
482 B
C

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include "../lib/carg-parse/carg-parse.h"
#include "./cpu_const.h"
#include "./cpu.h"
int main(int argc, char **argv)
{
printf("R16 " R16 "\n" R16_STANDARD "\n(c) " R16_AUTHOR "\n");
carg_parse_data* args = carg_parse(argc, argv);
carg_parse_free(args);
return 0;
}
void ErrorHandle(int exitCode, char *exitMessage)
{
fprintf(stderr, "%s", exitMessage);
exit(exitCode);
}