Hi all,
how could you initialize, through a loop, a c array?
For instance, say I have
#define SIZE 10
int test[SIZE];
for (unsigned int i = 0; i < SIZE; i++) {
test[i] = 0;
}
How can I make use of some Assembly to loop through test?
I know that's absolutely not a good way to initialize an array, but I'd like to see how that can be done in asm.
PS: AT&T syntax :)
Thanks