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.
When you write in 'C', you delegate responsibility for register usage to the compiler. You should not be trying to fiddle directly with ACC!
Look up "bit-addressable objects" in the Manual