assembler error
Eljay Love-Jensen
eljay@adobe.com
Thu Aug 19 15:55:00 GMT 2004
Hi Ankit,
Your a[32] array and b[32] array are not stored in registers, they are
stored in memory. But you are using a "r" specifier instead of a "m"
specifier.
I changed your example to use "m", and set b to all 255, and also changed
the printf loop to print each time instead of just the first time, and then
the assembly snippet copied a to b in four iterations.
HTH,
--Eljay
More information about the Gcc-help
mailing list