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