Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
mips.h
Go to the documentation of this file.
1
#ifndef _MIPS_H_
2
#define _MIPS_H_
3
4
#define JAL 0x03
5
#define ADDIU 0x09
6
#define LUI 0x0F
7
#define LW 0x23
8
#define LOWER(x) ((x) & 0xFFFF)
9
#define UPPER(x) ((x) >> 16)
10
#define OPCODE(x) ((x) >> 26)
11
#define GET_RS(x) ((x >> 0x15) & 0x1F)
12
#define GET_RT(x) (UPPER(x) & 0x1F)
13
14
#endif
include
mips.h
Generated by
1.10.0