fpmodule.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. NetWinder Floating Point Emulator
  3. (c) Rebel.com, 1998-1999
  4. Direct questions, comments to Scott Bambrough <scottb@netwinder.org>
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. 27/03/03 Ian Molton Clean up CONFIG_CPU
  17. */
  18. #ifndef __FPMODULE_H__
  19. #define __FPMODULE_H__
  20. #define REG_ORIG_R0 17
  21. #define REG_CPSR 16
  22. #define REG_PC 15
  23. #define REG_LR 14
  24. #define REG_SP 13
  25. #define REG_IP 12
  26. #define REG_FP 11
  27. #define REG_R10 10
  28. #define REG_R9 9
  29. #define REG_R9 9
  30. #define REG_R8 8
  31. #define REG_R7 7
  32. #define REG_R6 6
  33. #define REG_R5 5
  34. #define REG_R4 4
  35. #define REG_R3 3
  36. #define REG_R2 2
  37. #define REG_R1 1
  38. #define REG_R0 0
  39. #endif