aboutsummaryrefslogtreecommitdiff
path: root/comp1521/smips/smips.h
blob: 94edf9094e6b3e5adc35477a0bf05c6d995d77ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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