From f478e6c1223cc8370fa51d44b9244ec25be99788 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 13 Feb 2022 20:20:59 -0400 Subject: igen: Start work on writing an instruction handler generator. This will make it easier in the long run to modify instructions, add new instructions, and move the opcode tables around. --- igen/misc.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 igen/misc.h (limited to 'igen/misc.h') diff --git a/igen/misc.h b/igen/misc.h new file mode 100644 index 0000000..9216250 --- /dev/null +++ b/igen/misc.h @@ -0,0 +1,7 @@ +#ifndef MISC_H +#define MISC_H + +extern char *read_file(const char *filename, long *size); +extern char *get_line(char **str); +extern char *make_str(const char *str); +#endif -- cgit v1.2.3-13-gbd6f