# as_reg_compat.h

Go to the documentation of this file.

    00001 /*
    00002  * PSP Software Development Kit - http://www.pspdev.org
    00003  * -----------------------------------------------------------------------
    00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
    00005  *
    00006  * as_reg_compat.h - Register name mapping.
    00007  *
    00008  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
    00009  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
    00010  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
    00011  *
    00012  * $Id: as_reg_compat.h 540 2005-07-08 19:35:10Z warren $
    00013  */
    00014 #ifndef __AS_REG_COMPAT_H__
    00015 #define __AS_REG_COMPAT_H__
    00016
    00017 /* register defines for the GNU assembler */
    00018
    00019 #define zero    0
    00020 #define at      1
    00021 #define v0      2
    00022 #define v1      3
    00023 #define a0      4
    00024 #define a1      5
    00025 #define a2      6
    00026 #define a3      7
    00027 #define t0      8
    00028 #define t1      9
    00029 #define t2      10
    00030 #define t3      11
    00031 #define t4      12
    00032 #define t5      13
    00033 #define t6      14
    00034 #define t7      15
    00035 #define s0      16
    00036 #define s1      17
    00037 #define s2      18
    00038 #define s3      19
    00039 #define s4      20
    00040 #define s5      21
    00041 #define s6      22
    00042 #define s7      23
    00043 #define t8      24
    00044 #define t9      25
    00045 #define k0      26
    00046 #define k1      27
    00047 #define gp      28
    00048 #define sp      29
    00049 #define fp      30
    00050 #define ra      31
    00051
    00052 #endif