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