ppc_regs.h

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 109 行

H
109
字号
/****************************************************************************
*
*                            Open Watcom Project
*
*    Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
*  ========================================================================
*
*    This file contains Original Code and/or Modifications of Original
*    Code as defined in and that are subject to the Sybase Open Watcom
*    Public License version 1.0 (the 'License'). You may not use this file
*    except in compliance with the License. BY USING THIS FILE YOU AGREE TO
*    ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
*    provided with the Original Code and Modifications, and is also
*    available at www.sybase.com/developer/opensource.
*
*    The Original Code and all software distributed under the License are
*    distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
*    EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
*    ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
*    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
*    NON-INFRINGEMENT. Please see the License for the specific language
*    governing rights and limitations under the License.
*
*  ========================================================================
*
* Description:  WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
*               DESCRIBE IT HERE!
*
****************************************************************************/


#ifndef WF77_PPC_REGISTER_FORMATS
#define WF77_PPC_REGISTER_FORMATS

#define t0      r0

#define sp      r1
#define rtoc    r2

#define a0      r3
#define a1      r4
#define a2      r5
#define a3      r6
#define a4      r7
#define a5      r8

#define a6      r9
#define a7      r10

#define t1      r11
#define t2      r12

#define rnot    r13     // do not use

#define s0      r14
#define s1      r15
#define s2      r16
#define s3      r17
#define s4      r18
#define s5      r19
#define s6      r20
#define s7      r21
#define s8      r22
#define s9      r23
#define s10     r24
#define s11     r25
#define s12     r26
#define s13     r27
#define s14     r28
#define s15     r29
#define s16     r30
#define s17     r31

// #define f0   $f0
// #define f1   $f1
// #define f2   $f2
// #define f3   $f3
// #define f4   $f4
// #define f5   $f5
// #define f6   $f6
// #define f7   $f7
// #define f8   $f8
// #define f9   $f9
// #define f10  $f10
// #define f11  $f11
// #define f12  $f12
// #define f13  $f13
// #define f14  $f14
// #define f15  $f15
// #define f16  $f16
// #define f17  $f17
// #define f18  $f18
// #define f19  $f19
// #define f20  $f20
// #define f21  $f21
// #define f22  $f22
// #define f23  $f23
// #define f24  $f24
// #define f25  $f25
// #define f26  $f26
// #define f27  $f27
// #define f28  $f28
// #define f29  $f29
// #define f30  $f30
// #define f31  $f31

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?