Quake-2

Quake 2 GPL Source Release
Log | Files | Refs

block8.inc (2407B)


      1 LEnter16_16:
      2  mov al,ds:byte ptr[esi]
      3  mov cl,ds:byte ptr[esi+ebx]
      4  mov ah,dh
      5  add edx,ebp
      6  mov ch,dh
      7  lea esi,ds:dword ptr[esi+ebx*2]
      8  mov ax,ds:word ptr[12345678h+eax*2]
      9 LBPatch0:
     10  add edx,ebp
     11  mov ds:word ptr[edi],ax
     12  mov cx,ds:word ptr[12345678h+ecx*2]
     13 LBPatch1:
     14  mov ds:word ptr[2+edi],cx
     15  add edi,04h
     16  mov al,ds:byte ptr[esi]
     17  mov cl,ds:byte ptr[esi+ebx]
     18  mov ah,dh
     19  add edx,ebp
     20  mov ch,dh
     21  lea esi,ds:dword ptr[esi+ebx*2]
     22  mov ax,ds:word ptr[12345678h+eax*2]
     23 LBPatch2:
     24  add edx,ebp
     25  mov ds:word ptr[edi],ax
     26  mov cx,ds:word ptr[12345678h+ecx*2]
     27 LBPatch3:
     28  mov ds:word ptr[2+edi],cx
     29  add edi,04h
     30  mov al,ds:byte ptr[esi]
     31  mov cl,ds:byte ptr[esi+ebx]
     32  mov ah,dh
     33  add edx,ebp
     34  mov ch,dh
     35  lea esi,ds:dword ptr[esi+ebx*2]
     36  mov ax,ds:word ptr[12345678h+eax*2]
     37 LBPatch4:
     38  add edx,ebp
     39  mov ds:word ptr[edi],ax
     40  mov cx,ds:word ptr[12345678h+ecx*2]
     41 LBPatch5:
     42  mov ds:word ptr[2+edi],cx
     43  add edi,04h
     44  mov al,ds:byte ptr[esi]
     45  mov cl,ds:byte ptr[esi+ebx]
     46  mov ah,dh
     47  add edx,ebp
     48  mov ch,dh
     49  lea esi,ds:dword ptr[esi+ebx*2]
     50  mov ax,ds:word ptr[12345678h+eax*2]
     51 LBPatch6:
     52  add edx,ebp
     53  mov ds:word ptr[edi],ax
     54  mov cx,ds:word ptr[12345678h+ecx*2]
     55 LBPatch7:
     56  mov ds:word ptr[2+edi],cx
     57  add edi,04h
     58 LEnter8_16:
     59  mov al,ds:byte ptr[esi]
     60  mov cl,ds:byte ptr[esi+ebx]
     61  mov ah,dh
     62  add edx,ebp
     63  mov ch,dh
     64  lea esi,ds:dword ptr[esi+ebx*2]
     65  mov ax,ds:word ptr[12345678h+eax*2]
     66 LBPatch8:
     67  add edx,ebp
     68  mov ds:word ptr[edi],ax
     69  mov cx,ds:word ptr[12345678h+ecx*2]
     70 LBPatch9:
     71  mov ds:word ptr[2+edi],cx
     72  add edi,04h
     73  mov al,ds:byte ptr[esi]
     74  mov cl,ds:byte ptr[esi+ebx]
     75  mov ah,dh
     76  add edx,ebp
     77  mov ch,dh
     78  lea esi,ds:dword ptr[esi+ebx*2]
     79  mov ax,ds:word ptr[12345678h+eax*2]
     80 LBPatch10:
     81  add edx,ebp
     82  mov ds:word ptr[edi],ax
     83  mov cx,ds:word ptr[12345678h+ecx*2]
     84 LBPatch11:
     85  mov ds:word ptr[2+edi],cx
     86  add edi,04h
     87 LEnter4_16:
     88  mov al,ds:byte ptr[esi]
     89  mov cl,ds:byte ptr[esi+ebx]
     90  mov ah,dh
     91  add edx,ebp
     92  mov ch,dh
     93  lea esi,ds:dword ptr[esi+ebx*2]
     94  mov ax,ds:word ptr[12345678h+eax*2]
     95 LBPatch12:
     96  add edx,ebp
     97  mov ds:word ptr[edi],ax
     98  mov cx,ds:word ptr[12345678h+ecx*2]
     99 LBPatch13:
    100  mov ds:word ptr[2+edi],cx
    101  add edi,04h
    102 LEnter2_16:
    103  mov al,ds:byte ptr[esi]
    104  mov cl,ds:byte ptr[esi+ebx]
    105  mov ah,dh
    106  add edx,ebp
    107  mov ch,dh
    108  lea esi,ds:dword ptr[esi+ebx*2]
    109  mov ax,ds:word ptr[12345678h+eax*2]
    110 LBPatch14:
    111  add edx,ebp
    112  mov ds:word ptr[edi],ax
    113  mov cx,ds:word ptr[12345678h+ecx*2]
    114 LBPatch15:
    115  mov ds:word ptr[2+edi],cx
    116  add edi,04h