Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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
 

silencer3

Advanced Member level 4
Joined
Jun 3, 2003
Messages
112
Helped
17
Reputation
34
Reaction score
11
Trophy points
1,298
Activity points
1,057
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top