/* it would be nice if loop reversal optimization
would also reduce the size of the loop control
variable if possible.
# define BODY mybit = !mybit
# define BODY *ptr++ = 0x00
char xdata *ptr = (unsigned char xdata *) 0xf000;
/* automatic usage of unsigned char instead of int
would be give:
/* although 256 iterations are needed this could still be
achieved with the djnz instruction and only one register:)
Log in to post a comment.