-
please tell about the bit addressable registers in 8251 mircocontroller..........i cant even understand the meaning or definition i searched the web..but i didnt get the answers😔....please tell wat is the basic thing behind the bit addressable registers...😕0
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a
member of our community. Consider creating an
account or login.
Replies
-
Administrator • Nov 10, 2009
Post moved to new thread.Are you sure? This action cannot be undone. -
Member • Nov 10, 2009
Bit-addressable registers are registers that its bits can be modified individually. that means if you have register named "ACC" that is bit addressable , you can change its bits (D0 -D7) individually by special instructions SETB and CLR.
ex: SETB ACC.3 ; will set bit number 4 (remember bit 0) in the register
in 8051 there are many bit-addressable registers such as A (ACC), B, SCON, PCON, TCON, p0,p1,p2,p3 .
Source: netAre you sure? This action cannot be undone. -
Member • Nov 11, 2009
Thank u very much for your reply...but if i change the bit value in a register.... what happens to the contents of the registers... ?????mahesh_dahaleBit-addressable registers are registers that its bits can be modified individually. that means if you have register named "ACC" that is bit addressable , you can change its bits (D0 -D7) individually by special instructions SETB and CLR.
ex: SETB ACC.3 ; will set bit number 4 (remember bit 0) in the register
in 8051 there are many bit-addressable registers such as A (ACC), B, SCON, PCON, TCON, p0,p1,p2,p3 .
Source: netAre you sure? This action cannot be undone. -
Member • Nov 15, 2009
If you change the value of any bit in a register then the contents change to the new value that you have given..the only difference between usual registers and bit addressable ones is that you can access and modify the contents bit -wise for bit addressable ones.you dont have to change the value of the whole register to change value of a single bit.
like if you want to change the value of ACC to say 08h then it is sufficient to write
SETB ACC.3
instead of
MOV ACC,#08H
Hope this helps...If you have any further queries please let me know..Are you sure? This action cannot be undone.