uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
include
common
allegrex.h
1
/* Copyright (C) The uOFW team
2
See the file COPYING for copying permission.
3
*/
4
5
#ifndef COMMON_INCLUDED
6
# error "Only include common_imp.h or common_header.h!"
7
#endif
8
9
/*
10
* Some macros for Allegrex (MIPS generally) opcodes
11
*/
12
13
#define ALLEGREX_MAKE_SYSCALL(n) (0x03FFFFFF & (((u32)(n) << 6) | 0x0000000C))
14
#define ALLEGREX_MAKE_J(f) (0x08000000 | ((u32)(f) & 0x0FFFFFFC))
15
#define ALLEGREX_MAKE_JR_RA (0x03E00008)
16
#define ALLEGREX_MAKE_NOP (0x00000000)
17
Generated on Sat May 10 2025 16:45:52 for uOFW by
1.9.8