etisserant@0: /* etisserant@0: This file is part of CanFestival, a library implementing CanOpen Stack. etisserant@0: etisserant@0: Copyright (C): Edouard TISSERANT and Francis DUPIN etisserant@0: etisserant@0: See COPYING file for copyrights details. etisserant@0: etisserant@0: This library is free software; you can redistribute it and/or etisserant@0: modify it under the terms of the GNU Lesser General Public etisserant@0: License as published by the Free Software Foundation; either etisserant@0: version 2.1 of the License, or (at your option) any later version. etisserant@0: etisserant@0: This library is distributed in the hope that it will be useful, etisserant@0: but WITHOUT ANY WARRANTY; without even the implied warranty of etisserant@0: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU etisserant@0: Lesser General Public License for more details. etisserant@0: etisserant@0: You should have received a copy of the GNU Lesser General Public etisserant@0: License along with this library; if not, write to the Free Software etisserant@0: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA etisserant@0: */ etisserant@0: etisserant@0: /* Regs - Software registers used by GCC etisserant@0: Copyright (C) 2000 Free Software Foundation, Inc. etisserant@0: Written by Stephane Carrez (stcarrez@worldnet.fr) etisserant@0: etisserant@0: This file is free software; you can redistribute it and/or modify it etisserant@0: under the terms of the GNU General Public License as published by the etisserant@0: Free Software Foundation; either version 2, or (at your option) any etisserant@0: later version. etisserant@0: etisserant@0: In addition to the permissions in the GNU General Public License, the etisserant@0: Free Software Foundation gives you unlimited permission to link the etisserant@0: compiled version of this file with other programs, and to distribute etisserant@0: those programs without any restriction coming from the use of this etisserant@0: file. (The General Public License restrictions do apply in other etisserant@0: respects; for example, they cover modification of the file, and etisserant@0: distribution when not linked into another program.) etisserant@0: etisserant@0: This file is distributed in the hope that it will be useful, but etisserant@0: WITHOUT ANY WARRANTY; without even the implied warranty of etisserant@0: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU etisserant@0: General Public License for more details. etisserant@0: etisserant@0: You should have received a copy of the GNU General Public License etisserant@0: along with this program; see the file COPYING. If not, write to etisserant@0: the Free Software Foundation, 59 Temple Place - Suite 330, etisserant@0: Boston, MA 02111-1307, USA. */ etisserant@0: etisserant@0: #ifndef _M68HC11_REGS_H etisserant@0: #define _M68HC11_REGS_H etisserant@0: etisserant@0: /* Include this file if you want to have access to the soft registers etisserant@0: used by GCC. The soft registers are memory location. They have etisserant@0: special names that cannot conflict with C or C++ variables. etisserant@0: The extern definition below map those special names to etisserant@0: some usable names in C and C++. */ etisserant@0: etisserant@0: extern unsigned short __tmp __asm__("_.tmp"); etisserant@0: extern unsigned short __z __asm__("_.z"); etisserant@0: extern unsigned short __xy __asm__("_.xy"); etisserant@0: extern unsigned short __frame __asm__("_.frame"); etisserant@0: extern unsigned short __d1 __asm__("_.d1"); etisserant@0: extern unsigned short __d2 __asm__("_.d2"); etisserant@0: extern unsigned short __d3 __asm__("_.d3"); etisserant@0: extern unsigned short __d4 __asm__("_.d4"); etisserant@0: extern unsigned short __d5 __asm__("_.d5"); etisserant@0: extern unsigned short __d6 __asm__("_.d6"); etisserant@0: extern unsigned short __d7 __asm__("_.d7"); etisserant@0: extern unsigned short __d8 __asm__("_.d8"); etisserant@0: extern unsigned short __d9 __asm__("_.d9"); etisserant@0: extern unsigned short __d10 __asm__("_.d10"); etisserant@0: extern unsigned short __d11 __asm__("_.d11"); etisserant@0: extern unsigned short __d12 __asm__("_.d12"); etisserant@0: extern unsigned short __d13 __asm__("_.d13"); etisserant@0: extern unsigned short __d14 __asm__("_.d14"); etisserant@0: extern unsigned short __d15 __asm__("_.d15"); etisserant@0: extern unsigned short __d16 __asm__("_.d16"); etisserant@0: extern unsigned short __d17 __asm__("_.d17"); etisserant@0: extern unsigned short __d18 __asm__("_.d18"); etisserant@0: extern unsigned short __d19 __asm__("_.d19"); etisserant@0: extern unsigned short __d20 __asm__("_.d20"); etisserant@0: extern unsigned short __d21 __asm__("_.d21"); etisserant@0: extern unsigned short __d22 __asm__("_.d22"); etisserant@0: extern unsigned short __d23 __asm__("_.d23"); etisserant@0: extern unsigned short __d24 __asm__("_.d24"); etisserant@0: extern unsigned short __d25 __asm__("_.d25"); etisserant@0: extern unsigned short __d26 __asm__("_.d26"); etisserant@0: extern unsigned short __d27 __asm__("_.d27"); etisserant@0: extern unsigned short __d28 __asm__("_.d28"); etisserant@0: extern unsigned short __d29 __asm__("_.d29"); etisserant@0: extern unsigned short __d30 __asm__("_.d30"); etisserant@0: extern unsigned short __d31 __asm__("_.d31"); etisserant@0: extern unsigned short __d32 __asm__("_.d32"); etisserant@0: etisserant@0: #endif