ppc_asm.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /* Symbolic names for the registers. The only portable way to write asm
  2. code is to use number but this produces really unreadable code.
  3. Therefore these symbolic names. */
  4. /* Integer registers. */
  5. #define r0 0
  6. #define r1 1
  7. #define r2 2
  8. #define r3 3
  9. #define r4 4
  10. #define r5 5
  11. #define r6 6
  12. #define r7 7
  13. #define r8 8
  14. #define r9 9
  15. #define r10 10
  16. #define r11 11
  17. #define r12 12
  18. #define r13 13
  19. #define r14 14
  20. #define r15 15
  21. #define r16 16
  22. #define r17 17
  23. #define r18 18
  24. #define r19 19
  25. #define r20 20
  26. #define r21 21
  27. #define r22 22
  28. #define r23 23
  29. #define r24 24
  30. #define r25 25
  31. #define r26 26
  32. #define r27 27
  33. #define r28 28
  34. #define r29 29
  35. #define r30 30
  36. #define r31 31
  37. /* Floating-point registers. */
  38. #define fp0 0
  39. #define fp1 1
  40. #define fp2 2
  41. #define fp3 3
  42. #define fp4 4
  43. #define fp5 5
  44. #define fp6 6
  45. #define fp7 7
  46. #define fp8 8
  47. #define fp9 9
  48. #define fp10 10
  49. #define fp11 11
  50. #define fp12 12
  51. #define fp13 13
  52. #define fp14 14
  53. #define fp15 15
  54. #define fp16 16
  55. #define fp17 17
  56. #define fp18 18
  57. #define fp19 19
  58. #define fp20 20
  59. #define fp21 21
  60. #define fp22 22
  61. #define fp23 23
  62. #define fp24 24
  63. #define fp25 25
  64. #define fp26 26
  65. #define fp27 27
  66. #define fp28 28
  67. #define fp29 29
  68. #define fp30 30
  69. #define fp31 31
  70. /* Condition code registers. */
  71. #define cr0 0
  72. #define cr1 1
  73. #define cr2 2
  74. #define cr3 3
  75. #define cr4 4
  76. #define cr5 5
  77. #define cr6 6
  78. #define cr7 7