diff options
Diffstat (limited to 'comp1521/smips/smips.h')
| -rw-r--r-- | comp1521/smips/smips.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/comp1521/smips/smips.h b/comp1521/smips/smips.h new file mode 100644 index 0000000..94edf90 --- /dev/null +++ b/comp1521/smips/smips.h @@ -0,0 +1,20 @@ +#ifndef SMIPS_H_ +#define SMIPS_H_ + +#include <ctype.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> + +#include "input.h" // Contains functions for input and file processing. +#include "instr.h" // Contains mips related instructions and bitmasks. + +// Definitions for printing multipliers (read print_wrapper). +#define DST 1 +#define STI 2 +#define TSI 3 +#define TI 4 +#define SYSCALL 5 + +#endif |
