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 3 of 3.
Shruti said:
1 decade ago
SETB works only to set/reset(0 to 1 or 1 to 0) bit addresable
and flag registers..it cannot be used for set/reset of address
and flag registers..it cannot be used for set/reset of address
Prashant said:
1 decade ago
Only SETB instruction is used to set flag bit.
Dinesh said:
1 decade ago
01H is address of r1 register of bank0 ..... which is not a bit addressable
Ashok said:
1 decade ago
Yes it is correct.
Dinesh said:
1 decade ago
Because there is no address specified.
Rahul said:
1 decade ago
SETB instruction is used to set flag bit not to set addrress bit.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers