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
SETB 01H
Discussion:
26 comments Page 2 of 3.
Chirag Desai said:
1 decade ago
We can use SETB instuction on the specify PORTS only, e.g. SETB P0.0 or SETB P1.0.
Surya said:
1 decade ago
Yes this answer is absolutly correct because we can set the data not a address.
Dinesh said:
1 decade ago
01H is address of r1 register of bank0 ..... which is not a bit addressable
Rahul said:
1 decade ago
SETB instruction is used to set flag bit not to set addrress bit.
Vinoth said:
1 decade ago
SETB sets the data in the given address & not set address.
Anji said:
1 decade ago
SETB performs operation on flag bits not on address.
Soumya said:
1 decade ago
SETB b - sets the address bit to 1, not SETB 01H.
(1)
Ramesh said:
1 decade ago
SETB is bit addressable but not byte addressable.
Prashant said:
1 decade ago
Only SETB instruction is used to set flag bit.
Nitish said:
4 years ago
What's about SETB 07h? Anyone, clarify this.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers