The inc2h.pl script includes the following:
#define BIT_AT(base,bitno) bit at
This should be replaced with "sbit" instead of "bit"
because otherwise if you do in your code something
SYNC = 1;
SYNC = 0;
the compiler will optimise it and assemble only the last
assign which is not the wanted effect.
Log in to post a comment.