I was reading how to force the compiler to use register var.
Why is this program not working !
volatile register char i asm("r2");
asm volatile("clr r2");
no errors (warning that main don't return an int)
the asm part make the code
but there is no code for i=100 and i+=x
i should be an int when I get it to work but the code here is as close I can get to the manual code