00001 /* 00002 This file is part of CanFestival, a library implementing CanOpen Stack. 00003 00004 Copyright (C): Edouard TISSERANT and Francis DUPIN 00005 00006 See COPYING file for copyrights details. 00007 00008 This library is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Lesser General Public 00010 License as published by the Free Software Foundation; either 00011 version 2.1 of the License, or (at your option) any later version. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public 00019 License along with this library; if not, write to the Free Software 00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 */ 00022 00023 /* Regs - Software registers used by GCC 00024 Copyright (C) 2000 Free Software Foundation, Inc. 00025 Written by Stephane Carrez (stcarrez@worldnet.fr) 00026 00027 This file is free software; you can redistribute it and/or modify it 00028 under the terms of the GNU General Public License as published by the 00029 Free Software Foundation; either version 2, or (at your option) any 00030 later version. 00031 00032 In addition to the permissions in the GNU General Public License, the 00033 Free Software Foundation gives you unlimited permission to link the 00034 compiled version of this file with other programs, and to distribute 00035 those programs without any restriction coming from the use of this 00036 file. (The General Public License restrictions do apply in other 00037 respects; for example, they cover modification of the file, and 00038 distribution when not linked into another program.) 00039 00040 This file is distributed in the hope that it will be useful, but 00041 WITHOUT ANY WARRANTY; without even the implied warranty of 00042 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00043 General Public License for more details. 00044 00045 You should have received a copy of the GNU General Public License 00046 along with this program; see the file COPYING. If not, write to 00047 the Free Software Foundation, 59 Temple Place - Suite 330, 00048 Boston, MA 02111-1307, USA. */ 00049 00050 #ifndef _M68HC11_REGS_H 00051 #define _M68HC11_REGS_H 00052 00053 /* Include this file if you want to have access to the soft registers 00054 used by GCC. The soft registers are memory location. They have 00055 special names that cannot conflict with C or C++ variables. 00056 The extern definition below map those special names to 00057 some usable names in C and C++. */ 00058 00059 extern unsigned short __tmp __asm__("_.tmp"); 00060 extern unsigned short __z __asm__("_.z"); 00061 extern unsigned short __xy __asm__("_.xy"); 00062 extern unsigned short __frame __asm__("_.frame"); 00063 extern unsigned short __d1 __asm__("_.d1"); 00064 extern unsigned short __d2 __asm__("_.d2"); 00065 extern unsigned short __d3 __asm__("_.d3"); 00066 extern unsigned short __d4 __asm__("_.d4"); 00067 extern unsigned short __d5 __asm__("_.d5"); 00068 extern unsigned short __d6 __asm__("_.d6"); 00069 extern unsigned short __d7 __asm__("_.d7"); 00070 extern unsigned short __d8 __asm__("_.d8"); 00071 extern unsigned short __d9 __asm__("_.d9"); 00072 extern unsigned short __d10 __asm__("_.d10"); 00073 extern unsigned short __d11 __asm__("_.d11"); 00074 extern unsigned short __d12 __asm__("_.d12"); 00075 extern unsigned short __d13 __asm__("_.d13"); 00076 extern unsigned short __d14 __asm__("_.d14"); 00077 extern unsigned short __d15 __asm__("_.d15"); 00078 extern unsigned short __d16 __asm__("_.d16"); 00079 extern unsigned short __d17 __asm__("_.d17"); 00080 extern unsigned short __d18 __asm__("_.d18"); 00081 extern unsigned short __d19 __asm__("_.d19"); 00082 extern unsigned short __d20 __asm__("_.d20"); 00083 extern unsigned short __d21 __asm__("_.d21"); 00084 extern unsigned short __d22 __asm__("_.d22"); 00085 extern unsigned short __d23 __asm__("_.d23"); 00086 extern unsigned short __d24 __asm__("_.d24"); 00087 extern unsigned short __d25 __asm__("_.d25"); 00088 extern unsigned short __d26 __asm__("_.d26"); 00089 extern unsigned short __d27 __asm__("_.d27"); 00090 extern unsigned short __d28 __asm__("_.d28"); 00091 extern unsigned short __d29 __asm__("_.d29"); 00092 extern unsigned short __d30 __asm__("_.d30"); 00093 extern unsigned short __d31 __asm__("_.d31"); 00094 extern unsigned short __d32 __asm__("_.d32"); 00095 00096 #endif