??? 07/18/11 03:21 Read: times |
#182876 - use P0 not P Responding to: ???'s previous message |
Hi Ahmed,
One of the first lines of code should have given you a compiler error. You specified P instead of P0. Regards, Bert ...insert code hereORG 00H MOV P,#0FFH ;make port 0 input |
Topic | Author | Date |
a keyboard question AT89C51 | 01/01/70 00:00 | |
image of circuit | 01/01/70 00:00 | |
use P0 not P | 01/01/70 00:00 | |
Parity flag | 01/01/70 00:00 | |
How do you write a number to the parity flag? | 01/01/70 00:00 | |
PSW | 01/01/70 00:00 | |
Don't say, "make port 0 input" | 01/01/70 00:00 | |
port 2 not port 0 | 01/01/70 00:00 | |
Too simplified view on input/output | 01/01/70 00:00 | |
Incorrect - look again! | 01/01/70 00:00 |