home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / ZAURUS / PILISDK / LCCP001.ZIP / lcc.inc < prev    next >
Text File  |  1996-12-05  |  1KB  |  97 lines

  1. ;
  2. ; C runtime support for PILI
  3. ;
  4.  
  5. ;
  6. ; virtual register definitions
  7. ;
  8. ; 32 general purpose registers r0 .. r31
  9. ;
  10. ;    r0:        function return value
  11. ;    r31:    frame pointer
  12. ;
  13.  
  14. r0    equ    128
  15. r1    equ    129
  16. r2    equ    130
  17. r3    equ    131
  18. r4    equ    132
  19. r5    equ    133
  20. r6    equ    134
  21. r7    equ    135
  22. r8    equ    136
  23. r9    equ    137
  24. r10    equ    138
  25. r11    equ    139
  26. r12    equ    140
  27. r13    equ    141
  28. r14    equ    142
  29. r15    equ    143
  30. r16    equ    144
  31. r17    equ    145
  32. r18    equ    146
  33. r19    equ    147
  34. r20    equ    148
  35. r21    equ    149
  36. r22    equ    150
  37. r23    equ    151
  38. r24    equ    152
  39. r25    equ    153
  40. r26    equ    154
  41. r27    equ    155
  42. r28    equ    156
  43. r29    equ    157
  44. r30    equ    158
  45. r31    equ    159
  46.  
  47. fp    equ    159
  48.  
  49. ;
  50. ;    16 floating point registers f0 .. f15
  51. ;
  52. ;    f0:        function return value
  53. ;
  54.  
  55. f0    equ    160
  56. f1    equ    161
  57. f2    equ    162
  58. f3    equ    163
  59. f4    equ    164
  60. f5    equ    165
  61. f6    equ    166
  62. f7    equ    167
  63. f8    equ    168
  64. f9    equ    169
  65. f10    equ    170
  66. f11    equ    171
  67. f12    equ    172
  68. f13    equ    173
  69. f14    equ    174
  70. f15    equ    175
  71.  
  72. ;
  73. ; special-purpose registers
  74. ;
  75.  
  76. lcctmp    equ    176
  77.  
  78. ; define and initialize registers to hold constant values
  79.  
  80. ; small integers
  81. lccm4    equ    180
  82. lccm2    equ    181
  83. lccm1    equ    182
  84. lcc0    equ    183
  85. lcc1    equ    184
  86. lcc2    equ    185
  87. lcc4    equ    186
  88.  
  89.     RLD32 lccm4,-4
  90.     RLD32 lccm2,-2
  91.     RLD32 lccm1,-1
  92.     XOR    lcc0,lcc0
  93.     RLD32 lcc1,1
  94.     RLD32 lcc2,2
  95.     RLD32 lcc4,4
  96.  
  97.     end