block8.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*
  2. Copyright (C) 1996-1997 Id Software, Inc.
  3. This program is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License
  5. as published by the Free Software Foundation; either version 2
  6. of the License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. See the GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  14. */
  15. LEnter16_8:
  16. movb (%esi),%al
  17. movb (%esi,%ebx,),%cl
  18. movb %dh,%ah
  19. addl %ebp,%edx
  20. movb %dh,%ch
  21. leal (%esi,%ebx,2),%esi
  22. movb 0x12345678(%eax),%al
  23. LBPatch0:
  24. addl %ebp,%edx
  25. movb %al,(%edi)
  26. movb 0x12345678(%ecx),%cl
  27. LBPatch1:
  28. movb %cl,1(%edi)
  29. addl $0x2,%edi
  30. movb (%esi),%al
  31. movb (%esi,%ebx,),%cl
  32. movb %dh,%ah
  33. addl %ebp,%edx
  34. movb %dh,%ch
  35. leal (%esi,%ebx,2),%esi
  36. movb 0x12345678(%eax),%al
  37. LBPatch2:
  38. addl %ebp,%edx
  39. movb %al,(%edi)
  40. movb 0x12345678(%ecx),%cl
  41. LBPatch3:
  42. movb %cl,1(%edi)
  43. addl $0x2,%edi
  44. movb (%esi),%al
  45. movb (%esi,%ebx,),%cl
  46. movb %dh,%ah
  47. addl %ebp,%edx
  48. movb %dh,%ch
  49. leal (%esi,%ebx,2),%esi
  50. movb 0x12345678(%eax),%al
  51. LBPatch4:
  52. addl %ebp,%edx
  53. movb %al,(%edi)
  54. movb 0x12345678(%ecx),%cl
  55. LBPatch5:
  56. movb %cl,1(%edi)
  57. addl $0x2,%edi
  58. movb (%esi),%al
  59. movb (%esi,%ebx,),%cl
  60. movb %dh,%ah
  61. addl %ebp,%edx
  62. movb %dh,%ch
  63. leal (%esi,%ebx,2),%esi
  64. movb 0x12345678(%eax),%al
  65. LBPatch6:
  66. addl %ebp,%edx
  67. movb %al,(%edi)
  68. movb 0x12345678(%ecx),%cl
  69. LBPatch7:
  70. movb %cl,1(%edi)
  71. addl $0x2,%edi
  72. LEnter8_8:
  73. movb (%esi),%al
  74. movb (%esi,%ebx,),%cl
  75. movb %dh,%ah
  76. addl %ebp,%edx
  77. movb %dh,%ch
  78. leal (%esi,%ebx,2),%esi
  79. movb 0x12345678(%eax),%al
  80. LBPatch8:
  81. addl %ebp,%edx
  82. movb %al,(%edi)
  83. movb 0x12345678(%ecx),%cl
  84. LBPatch9:
  85. movb %cl,1(%edi)
  86. addl $0x2,%edi
  87. movb (%esi),%al
  88. movb (%esi,%ebx,),%cl
  89. movb %dh,%ah
  90. addl %ebp,%edx
  91. movb %dh,%ch
  92. leal (%esi,%ebx,2),%esi
  93. movb 0x12345678(%eax),%al
  94. LBPatch10:
  95. addl %ebp,%edx
  96. movb %al,(%edi)
  97. movb 0x12345678(%ecx),%cl
  98. LBPatch11:
  99. movb %cl,1(%edi)
  100. addl $0x2,%edi
  101. LEnter4_8:
  102. movb (%esi),%al
  103. movb (%esi,%ebx,),%cl
  104. movb %dh,%ah
  105. addl %ebp,%edx
  106. movb %dh,%ch
  107. leal (%esi,%ebx,2),%esi
  108. movb 0x12345678(%eax),%al
  109. LBPatch12:
  110. addl %ebp,%edx
  111. movb %al,(%edi)
  112. movb 0x12345678(%ecx),%cl
  113. LBPatch13:
  114. movb %cl,1(%edi)
  115. addl $0x2,%edi
  116. LEnter2_8:
  117. movb (%esi),%al
  118. movb (%esi,%ebx,),%cl
  119. movb %dh,%ah
  120. addl %ebp,%edx
  121. movb %dh,%ch
  122. leal (%esi,%ebx,2),%esi
  123. movb 0x12345678(%eax),%al
  124. LBPatch14:
  125. addl %ebp,%edx
  126. movb %al,(%edi)
  127. movb 0x12345678(%ecx),%cl
  128. LBPatch15:
  129. movb %cl,1(%edi)
  130. addl $0x2,%edi