- 548 名前:デフォルトの名無しさん mailto:sage [2008/03/13(木) 19:43:53 ]
- void CShiftAnd::transition_asm(uchar ch)
{ uint *pR = m_pR; uint *pCV = m_pCV + (ch * m_nReg); uint nReg = m_nReg; __asm { mov edi, pR ;; edi = m_pR mov esi, pCV mov ecx, nReg xor eax, eax ;; clear carry L01: mov eax, [edi] adc eax, [edi] and eax, [esi] mov [edi], eax lea edi, [edi+4] lea esi, [esi+4] loop L01 } }
|

|