reg.h 695 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #define PT_D1 0
  2. #define PT_D2 1
  3. #define PT_D3 2
  4. #define PT_D4 3
  5. #define PT_D5 4
  6. #define PT_D6 5
  7. #define PT_D7 6
  8. #define PT_A0 7
  9. #define PT_A1 8
  10. #define PT_A2 9
  11. #define PT_A3 10
  12. #define PT_A4 11
  13. #define PT_A5 12
  14. #define PT_A6 13
  15. #define PT_D0 14
  16. #define PT_USP 15
  17. #define PT_ORIG_D0 16
  18. #define PT_SR 17
  19. #define PT_PC 18
  20. #if __mcffpu__
  21. #define PT_FP0 21
  22. #define PT_FP1 23
  23. #define PT_FP2 25
  24. #define PT_FP3 27
  25. #define PT_FP4 29
  26. #define PT_FP5 31
  27. #define PT_FP6 33
  28. #define PT_FP7 35
  29. #else
  30. #define PT_FP0 21
  31. #define PT_FP1 24
  32. #define PT_FP2 27
  33. #define PT_FP3 30
  34. #define PT_FP4 33
  35. #define PT_FP5 36
  36. #define PT_FP6 39
  37. #define PT_FP7 42
  38. #endif
  39. #define PT_FPCR 45
  40. #define PT_FPSR 46
  41. #define PT_FPIAR 47