Dear all, How to locate the bit I want in ACC register? I supposed to use ACC_7 with regx51.h but it encounters error. Thanks. Bill PS. I am searching for AT89C51.h. Please notice me in case you find it. Thanks.
"you probably don't need to access the accumulator directly if you're writing C" I'd put it stronger: you almost certainly should not access the accumulator directly if you're writing C! "Changing the accumulator directly makes a lot of assumptions about how the compiler generates object code that may not remain true..." In fact, they may not even be true in the first place!