Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

262 lines
5.8 KiB

  1. ;/* *************************************************************************
  2. ;** INTEL Corporation Proprietary Information
  3. ;**
  4. ;** This listing is supplied under the terms of a license
  5. ;** agreement with INTEL Corporation and may not be copied
  6. ;** nor disclosed except in accordance with the terms of
  7. ;** that agreement.
  8. ;**
  9. ;** Copyright (c) 1995 Intel Corporation.
  10. ;** All Rights Reserved.
  11. ;**
  12. ;** *************************************************************************
  13. ;*/
  14. ;////////////////////////////////////////////////////////////////////////////
  15. ;//
  16. ;// $Header: S:\h26x\src\enc\locals.inv 1.1 27 Dec 1995 15:33:02 RMCKENZX $
  17. ;// $Log: S:\h26x\src\enc\locals.inv $
  18. ;//
  19. ;// Rev 1.1 27 Dec 1995 15:33:02 RMCKENZX
  20. ;// Added copyright notice
  21. ;//
  22. ;////////////////////////////////////////////////////////////////////////////
  23. include memmodel.inc
  24. LDal macro address
  25. mov al,BYTE PTR address[esp]
  26. endm
  27. LDbl macro address
  28. mov bl,BYTE PTR address[esp]
  29. endm
  30. LDcl macro address
  31. mov cl,BYTE PTR address[esp]
  32. endm
  33. LDdl macro address
  34. mov dl,BYTE PTR address[esp]
  35. endm
  36. LDah macro address
  37. mov ah,BYTE PTR address[esp]
  38. endm
  39. LDbh macro address
  40. mov bh,BYTE PTR address[esp]
  41. endm
  42. LDch macro address
  43. mov ch,BYTE PTR address[esp]
  44. endm
  45. LDdh macro address
  46. mov dh,BYTE PTR address[esp]
  47. endm
  48. Leax macro address
  49. mov eax,DWORD PTR address[esp]
  50. endm
  51. Lebx macro address
  52. mov ebx,DWORD PTR address[esp]
  53. endm
  54. Lecx macro address
  55. mov ecx,DWORD PTR address[esp]
  56. endm
  57. Ledx macro address
  58. mov edx,DWORD PTR address[esp]
  59. endm
  60. Lesi macro address
  61. mov esi,DWORD PTR address[esp]
  62. endm
  63. Ledi macro address
  64. mov edi,DWORD PTR address[esp]
  65. endm
  66. Lebp macro address
  67. mov ebp,DWORD PTR address[esp]
  68. endm
  69. LZeax macro address
  70. movzx eax,BYTE PTR address[esp]
  71. endm
  72. LZebx macro address
  73. movzx ebx,BYTE PTR address[esp]
  74. endm
  75. LZecx macro address
  76. movzx ecx,BYTE PTR address[esp]
  77. endm
  78. LZedx macro address
  79. movzx edx,BYTE PTR address[esp]
  80. endm
  81. LZesi macro address
  82. movzx esi,BYTE PTR address[esp]
  83. endm
  84. LZedi macro address
  85. movzx edi,BYTE PTR address[esp]
  86. endm
  87. LZebp macro address
  88. movzx ebp,BYTE PTR address[esp]
  89. endm
  90. STal macro address
  91. mov BYTE PTR address[esp],al
  92. endm
  93. STbl macro address
  94. mov BYTE PTR address[esp],bl
  95. endm
  96. STcl macro address
  97. mov BYTE PTR address[esp],cl
  98. endm
  99. STdl macro address
  100. mov BYTE PTR address[esp],dl
  101. endm
  102. STah macro address
  103. mov BYTE PTR address[esp],ah
  104. endm
  105. STbh macro address
  106. mov BYTE PTR address[esp],bh
  107. endm
  108. STch macro address
  109. mov BYTE PTR address[esp],ch
  110. endm
  111. STdh macro address
  112. mov BYTE PTR address[esp],dh
  113. endm
  114. Seax macro address
  115. mov DWORD PTR address[esp],eax
  116. endm
  117. Sebx macro address
  118. mov DWORD PTR address[esp],ebx
  119. endm
  120. Secx macro address
  121. mov DWORD PTR address[esp],ecx
  122. endm
  123. Sedx macro address
  124. mov DWORD PTR address[esp],edx
  125. endm
  126. Sesi macro address
  127. mov DWORD PTR address[esp],esi
  128. endm
  129. Sedi macro address
  130. mov DWORD PTR address[esp],edi
  131. endm
  132. Sebp macro address
  133. mov DWORD PTR address[esp],ebp
  134. endm
  135. ADDeax macro address
  136. add eax,DWORD PTR address[esp]
  137. endm
  138. ADDebx macro address
  139. add ebx,DWORD PTR address[esp]
  140. endm
  141. ADDecx macro address
  142. add ecx,DWORD PTR address[esp]
  143. endm
  144. ADDedx macro address
  145. add edx,DWORD PTR address[esp]
  146. endm
  147. ADDesi macro address
  148. add esi,DWORD PTR address[esp]
  149. endm
  150. ADDedi macro address
  151. add edi,DWORD PTR address[esp]
  152. endm
  153. ADDebp macro address
  154. add ebp,DWORD PTR address[esp]
  155. endm
  156. SUBeax macro address
  157. sub eax,DWORD PTR address[esp]
  158. endm
  159. SUBebx macro address
  160. sub ebx,DWORD PTR address[esp]
  161. endm
  162. SUBecx macro address
  163. sub ecx,DWORD PTR address[esp]
  164. endm
  165. SUBedx macro address
  166. sub edx,DWORD PTR address[esp]
  167. endm
  168. SUBesi macro address
  169. sub esi,DWORD PTR address[esp]
  170. endm
  171. SUBedi macro address
  172. sub edi,DWORD PTR address[esp]
  173. endm
  174. SUBebp macro address
  175. sub ebp,DWORD PTR address[esp]
  176. endm
  177. CMPeax macro address
  178. cmp eax,DWORD PTR address[esp]
  179. endm
  180. CMPebx macro address
  181. cmp ebx,DWORD PTR address[esp]
  182. endm
  183. CMPecx macro address
  184. cmp ecx,DWORD PTR address[esp]
  185. endm
  186. CMPedx macro address
  187. cmp edx,DWORD PTR address[esp]
  188. endm
  189. CMPesi macro address
  190. cmp esi,DWORD PTR address[esp]
  191. endm
  192. CMPedi macro address
  193. cmp edi,DWORD PTR address[esp]
  194. endm
  195. CMPebp macro address
  196. cmp ebp,DWORD PTR address[esp]
  197. endm
  198. ADDC2M macro address,constant
  199. add DWORD PTR address[esp],constant
  200. endm