1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| sbit IN0=P0^0;
| sbit IN1=P0^1;
| sbit IN2=P0^2;
| sbit IN3=P0^3;
| sbit IN4=P0^4;
| sbit IN5=P0^6;
| sbit IN6=P0^6;
| sbit IN7=P0^7;
|
| sbit TXD3_2=P5^1;
| sbit RXD3_2=P5^0;
|
| sbit OUT0=P2^0;
| sbit OUT1=P2^1;
| sbit OUT2=P2^2;
| sbit OUT3=P2^3;
| sbit OUT4=P2^4;
| sbit OUT5=P2^5;
| sbit OUT6=P2^6;
| sbit OUT7=P2^7;
|
| sbit ERR=P4^6;
| sbit RUN=P4^5;
|
| sbit KEY1=P3^6;
| sbit KEY2=P3^7;
| sbit KEY3=P4^1;
| sbit KEY4=P4^2;
| sbit KEY5=P4^3;
| sbit KEY6=P4^4;
|
|