數組定義
UNS_8 s[32] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32};
UNS_8 d[32] = {0};
數組復制程序
void copyArray(UNS_8* pA,UNS_8 * pB, UNS_32 num)
{
while(num > 0)
{
*pB = *pA;
pB++;
pA++;
num--;
}
}
調用
copyArray(s,d,32);
反匯編代碼
結果
|