PSPSDK
2024-12-16
Loading...
Searching...
No Matches
as_reg_compat.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - https://github.com/pspdev
3
* -----------------------------------------------------------------------
4
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5
*
6
* as_reg_compat.h - Register name mapping.
7
*
8
* Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9
* Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10
* Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11
*
12
*/
13
#ifndef __AS_REG_COMPAT_H__
14
#define __AS_REG_COMPAT_H__
15
16
/* register defines for the GNU assembler */
17
18
#define zero 0
19
#define at 1
20
#define v0 2
21
#define v1 3
22
#define a0 4
23
#define a1 5
24
#define a2 6
25
#define a3 7
26
#define t0 8
27
#define t1 9
28
#define t2 10
29
#define t3 11
30
#define t4 12
31
#define t5 13
32
#define t6 14
33
#define t7 15
34
#define s0 16
35
#define s1 17
36
#define s2 18
37
#define s3 19
38
#define s4 20
39
#define s5 21
40
#define s6 22
41
#define s7 23
42
#define t8 24
43
#define t9 25
44
#define k0 26
45
#define k1 27
46
#define gp 28
47
#define sp 29
48
#define fp 30
49
#define ra 31
50
51
#endif
base
as_reg_compat.h
Generated on Mon Dec 16 2024 13:32:26 for PSPSDK by
1.9.8