大家好,我想把下面的那段程序转换成汇编,涉及到函数参数的传递,数组参数的传递,请问用汇编语言怎样得到C语言函数的参数。 void _checktable (unsigned char line, unsigned char *text, unsigned char *lasttext, unsigned char *IDD) { unsigned int i,j,k,temp,temp2; for( j=0,k=0; j<line; j++,k+=8 ) { lasttext[j]=0; for(i=0; i<8; i++) { temp2 = IDD[k+i]; temp = text[temp2/8]; // get the byte temp &= _bitposition[temp2&0x07]; // get the bit if(temp) lasttext[j] |= _bitposition; } } }
|