Doubt in Status Registers

Status
Not open for further replies.

pushpa

Newbie level 3
Joined
Nov 29, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,311
Hi All,

I want to know the advantages of using Set-1 to clear in a register.
For Ex: If we have a status register, writing "1" to it clears the bit set.
What is the advantage in using this type of clearing ? Why dont we write "0" to clear the register?

Thanks in advance
 

i dont think this is really advatageous to use Set-1 to clear. it all depends on system. we can use either write-1 or write-0 to clear a status bit, i guess. correct me if i am wrong.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…