Digital Electronics - The 8051 Microcontroller - Discussion

Discussion Forum : The 8051 Microcontroller - General Questions (Q.No. 8)
8.
This statement will set the address of the bit to 1 (8051 Micro-controller):
SETB 01H
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
26 comments Page 1 of 3.

Nitish said:   4 years ago
What's about SETB 07h? Anyone, clarify this.

Nitish said:   4 years ago
What's about SETB 07h? Anyone, clarify this.

VEDI G said:   6 years ago
ANSWER IS WRONG.
Because bit addressable area having 16 bytes.
It means 128 bits address.
Bit address starting from 00h t0 7fh( 128bits in lower 128 bits).
Normally setb 01h means [20th byte second address 20h.1 ].
So answer is wrong.

Anonymous said:   7 years ago
We can set the bits for only bank registers that is rs0 and rs1 to select the bank we can't set the bank by giving dierct address, .

Niru said:   10 years ago
B. Because 20h to 2f only bit addressable and all ports.

Rest of the addresses cannot bit addressed.
(2)

Anonymous said:   10 years ago
SETB bit is used to set the indicated bit high. The bit can be carry or any directly addressable bit of a port, register, or RAM location. So it does not set the address of the bit high.
(2)

Ramesh said:   1 decade ago
SETB is bit addressable but not byte addressable.

Sharanya said:   1 decade ago
As far as I know, SETB instruction is used only to set/reset the bit addressable registers and flag registers but never are used to set an address.

Edison said:   1 decade ago
SETB instruction can be used in bit addressable memory location and bit operations.

Soumya said:   1 decade ago
SETB b - sets the address bit to 1, not SETB 01H.
(1)


Post your comments here:

Your comments will be displayed after verification.