diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-13 18:00:17 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-13 18:00:17 +1100 |
| commit | 98cef5e9a772602d42acfcf233838c760424db9a (patch) | |
| tree | 5277fa1d7cc0a69a0f166fcbf10fd320f345f049 /comp1521/smips/smips.h | |
initial commit
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 |
