vead
Full Member level 5
- Joined
- Nov 27, 2011
- Messages
- 285
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- india
- Activity points
- 3,815
I want to write assembly code for 8051
switch A is connected to P0.1
switch B is connected to P0.2
LED is connected to P1.0
IF one switch or both high then the LED is turn on otherwise turn off
switch A high then turn on LED
switch B high then turn on LED
both A B high then turn on LED
both A B low then turn off led
I want to write assembly program using OR logic statement
How to write statement for OR logic for switches
switch A is connected to P0.1
switch B is connected to P0.2
LED is connected to P1.0
IF one switch or both high then the LED is turn on otherwise turn off
switch A high then turn on LED
switch B high then turn on LED
both A B high then turn on LED
both A B low then turn off led
I want to write assembly program using OR logic statement
How to write statement for OR logic for switches