11.07.2015 Views

Chapter 54

Chapter 54

Chapter 54

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

coff-coff+4ENDMpushpushpushpushpushcalladdmovmovpushpushpushpushpushcalladdPOPaddadcpushpushpushpushpushcalladdPOPaddadcaddaddbxword ptr [si+roff+2]word ptr [si+rofflword ptr [di+coff+21word ptr [di+coffl- Fi xedMulsp.8cx.ax ;set running totalbp. dxcxword ptr [si+roff+4+21word ptr [si+roff+41word ptr [di+coff+l6+2]word ptr [di+coff+l6]- Fi xedMulsp.8cxcx,axbp , dxcxword ptr [si+roff+8+21word ptr [si+roff+81word ptr [di+coff+32+21word ptr [di+coff+32]- FixedMulsp,8cxcx, axbp.dxcx.Csi+roff+lZlbp.[si+roff+l2+21;point to next col in xform2& dest:now do the fourth column, assuming: 1 as the bottom entry, causing; translation to be performed;remember dest vector pointer;column 0 entry on this row times row 0; entry in column;clear parameters from stack;preserve low wordof running total;column 1 entry on this row times row 1; entry in column;clear parameters from stack;restore low word of running total;running total for this row;preserve low word of running total:column 1 entry on this row times row 1: entry in column:clear parameters from stack;restore low word of running total;running total for this row;add in translationcoff-coff+4POPmovmovbx[bx+coff+roffl,cx[bx+coff+roff+2].bp;restore DestXForm pointer;save the result in dest matrix;point to next col in xform2& destroff-roff+l6ENDM;point to next col in xform2& destPOPbp;restore stack frame pointerendif ;USE386POPPOPPOPret-ConcatXformsenddisibvendp:restore register variables:restore stack frame1022 <strong>Chapter</strong> <strong>54</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!