![]() |
От: | hop | |
Дата: | 25.07.07 21:31 | ||
Оценка: |
cout << "Enter size by array: ";
int size;
cin >> size;
int *mas = new int [size];
cout << "Fill an array:\n";
for(int i=0; i<size; i++)
cin >> mas[i];
__asm
{
lea eax, mas
mov ebx, [eax]
}
int mas[5] = {2,3,5,2,4};
__asm
{
lea eax, mas
mov ebx, [eax]
}