送交者: AQuestion 于 2005-6-30, 19:10:11:
回答: Sorry, code again: 由 AQuestion 于 2005-6-30, 19:02:45:
don't know how to post less-than and greater than sign here.
Please replace lessThan with the correct ascii.
#include stdio.h
void test(int num)
{
int i;
__asm__ __volatile__(
"1:"
"dec %%ecx \n\t"
"jnz 1b \n\t"
:
: "c" (num>>4)
);
for(i=(num>>4)<<4; i lessThan num; i++)
printf("OK i=%d\n", i);
}
main()
{
test(35);
}