2024-04-19 09:05:10 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "../lib/carg-parse/carg-parse.h"
|
|
|
|
#include "./cpu_const.h"
|
2024-04-19 12:39:59 +00:00
|
|
|
#include "./cpu.h"
|
2024-04-19 09:05:10 +00:00
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
2024-04-22 11:08:57 +00:00
|
|
|
printf("R16 " R16 "\n" R16_STANDARD "\n(c) " R16_AUTHOR "\n");
|
|
|
|
|
2024-04-19 09:05:10 +00:00
|
|
|
carg_parse_data* args = carg_parse(argc, argv);
|
|
|
|
|
|
|
|
carg_parse_free(args);
|
2024-04-22 11:08:57 +00:00
|
|
|
|
|
|
|
return 0;
|
2024-04-19 09:05:10 +00:00
|
|
|
}
|
2024-04-25 09:47:01 +00:00
|
|
|
|
|
|
|
void ErrorHandle(int exitCode, char *exitMessage)
|
|
|
|
{
|
|
|
|
fprintf(stderr, "%s", exitMessage);
|
|
|
|
|
|
|
|
exit(exitCode);
|
|
|
|
}
|