📄 sed.lst
字号:
C51 COMPILER V8.08 SED 08/19/2008 15:03:16 PAGE 1
C51 COMPILER V8.08, COMPILATION OF MODULE SED
OBJECT MODULE PLACED IN SED.OBJ
COMPILER INVOKED BY: D:\Program Files\Keil\C51\BIN\C51.EXE SED.c BROWSE DEBUG OBJECTEXTEND
line level source
1 #include "myinclude.h"
2
3 #define LCD_DISPLAYON 0xaf
4 #define LCD_DISPLAYOFF 0xae
5 #define LCD_DRIVERON 0xa5
6 #define LCD_DRIVEROFF 0xa4
7 #define LCD_DUTY16 0xa8
8 #define LCD_DUTY32 0xa9
9
10 #define LCD_END 0xee
11 #define LCD_RESET 0xe2
12 #define LCD_RWMODE 0xe0
13 #define LCD_STARTLINE0 0xc0
14 #define LCD_PAGE0 0xb8
15 #define LCD_COLUMNADDR0 0x00
16
17 #define LCD_ON() LCD_Command(LCD_DISPLAYON)
18 #define LCD_OFF() LCD_Command(LCD_DISPLAYOFF)
19 #define LCD_StaticON() LCD_Command(LCD_DRIVERON)
20 #define LCD_StaticOFF() LCD_Command(LCD_DRIVEROFF)
21 #define LCD_Select16() LCD_Command(LCD_DUTY16)
22 #define LCD_Select32() LCD_Command(LCD_DUTY32)
23 #define LCD_StartRW() LCD_Command(LCD_RWMODE)
24 #define LCD_EndRW() LCD_Command(LCD_END)
25 #define LCD_Reset() LCD_Command(LCD_RESET)
26 #define LCD_SetStartLine(i) LCD_Command(LCD_STARTLINE0+i)
27 #define LCD_SetPage(i) LCD_Command(LCD_PAGE0+i)
28 #define LCD_SetColumn(i) LCD_Command(LCD_COLUMNADDR0+i)
29
30 #define TIME 10
31
32 sbit A0=P1^3;
33 sbit RW=P1^4;
34 sbit E1=P1^5;
35 sbit E2=P1^6;
36 #define DATA P2
37
38 /*ASCII字体,大小6X8,上到下D0~D7,左到右*/
39 unsigned char code ASCII[][6]={
40 {0x00,0x00,0x00,0x00,0x00,0x00},/*SPACE*/
41
42 {0x00,0x7e,0x21,0x21,0x21,0x7e},/*A*/
43
44 {0x00,0x7f,0x49,0x49,0x49,0x36},/*B*/
45
46 {0x00,0x3e,0x41,0x41,0x41,0x22},/*C*/
47
48 {0x00,0x7f,0x41,0x41,0x22,0x1c},/*D*/
49
50 {0x00,0x7f,0x49,0x49,0x49,0x49},/*E*/
51
52 {0x00,0x7f,0x09,0x09,0x09,0x01},/*F*/
53
54 {0x00,0x3e,0x41,0x49,0x49,0x7a},/*G*/
55
C51 COMPILER V8.08 SED 08/19/2008 15:03:16 PAGE 2
56 {0x00,0x7f,0x08,0x08,0x08,0x7f},/*H*/
57
58 {0x00,0x41,0x7f,0x41,0x00,0x00},/*I*/
59
60 {0x00,0x20,0x40,0x41,0x3f,0x01},/*J*/
61
62 {0x00,0x7f,0x08,0x14,0x22,0x41},/*K*/
63
64 {0x00,0x7f,0x40,0x40,0x40,0x40},/*L*/
65
66 {0x00,0x7f,0x02,0x0c,0x02,0x7f},/*M*/
67
68 {0x00,0x7f,0x04,0x08,0x10,0x7f},/*N*/
69
70 {0x00,0x3e,0x41,0x41,0x41,0x3e},/*O*/
71
72 {0x00,0x7f,0x09,0x09,0x09,0x06},/*P*/
73
74 {0x00,0x3e,0x41,0x41,0x41,0x3e},/*Q*/
75
76 {0x00,0x7f,0x09,0x19,0x29,0x46},/*R*/
77
78 {0x00,0x46,0x49,0x49,0x49,0x31},/*S*/
79
80 {0x00,0x01,0x01,0x7f,0x01,0x01},/*T*/
81
82 {0x00,0x3f,0x40,0x40,0x40,0x3f},/*U*/
83
84 {0x00,0x1f,0x20,0x40,0x20,0x1f},/*V*/
85
86 {0x00,0x3f,0x40,0x38,0x40,0x3f},/*W*/
87
88 {0x00,0x63,0x14,0x08,0x14,0x63},/*X*/
89
90 {0x00,0x07,0x08,0x70,0x08,0x07},/*Y*/
91
92 {0x00,0x61,0x51,0x49,0x45,0x43},/*Z*/
93
94 {0x00,0x20,0x54,0x54,0x54,0x7c},/*a*/
95
96 {0x00,0x7f,0x48,0x44,0x44,0x38},/*b*/
97
98 {0x00,0x38,0x44,0x44,0x44,0x20},/*c*/
99
100 {0x00,0x38,0x44,0x44,0x48,0x7f},/*d*/
101
102 {0x00,0x38,0x54,0x54,0x54,0x18},/*e*/
103
104 {0x00,0x08,0x7e,0x09,0x01,0x02},/*f*/
105
106 {0x00,0x0c,0x52,0x52,0x52,0x3e},/*g*/
107
108 {0x00,0x7f,0x08,0x04,0x04,0x78},/*h*/
109
110 {0x00,0x00,0x44,0x7d,0x40,0x00},/*i*/
111
112 {0x00,0x40,0x40,0x44,0x3d,0x00},/*j*/
113
114 {0x00,0x7f,0x10,0x28,0x44,0x00},/*k*/
115
116 {0x00,0x00,0x41,0x7e,0x40,0x00},/*l*/
117
C51 COMPILER V8.08 SED 08/19/2008 15:03:16 PAGE 3
118 {0x00,0x7c,0x04,0x18,0x04,0x78},/*m*/
119
120 {0x00,0x7c,0x08,0x04,0x04,0x78},/*n*/
121
122 {0x00,0x38,0x44,0x44,0x44,0x38},/*o*/
123
124 {0x00,0x7c,0x14,0x14,0x14,0x08},/*p*/
125
126 {0x00,0x08,0x14,0x14,0x14,0x7c},/*q*/
127
128 {0x00,0x7c,0x08,0x04,0x04,0x08},/*r*/
129
130 {0x00,0x48,0x54,0x54,0x54,0x20},/*s*/
131
132 {0x00,0x04,0x3f,0x44,0x44,0x24},/*t*/
133
134 {0x00,0x3c,0x40,0x40,0x20,0x7e},/*u*/
135
136 {0x00,0x1d,0x20,0x40,0x20,0x1c},/*v*/
137
138 {0x00,0x3c,0x40,0x30,0x40,0x3c},/*w*/
139
140 {0x00,0x44,0x28,0x10,0x28,0x44},/*x*/
141
142 {0x00,0x06,0x48,0x48,0x48,0x3e},/*y*/
143
144 {0x00,0x44,0x64,0x54,0x4c,0x44},/*z*/
145
146 {0x00,0x00,0x01,0x02,0x04,0x00},/*`*/
147
148 {0x00,0x00,0x42,0x7f,0x40,0x40},/*1*/
149
150 {0x00,0x62,0x51,0x51,0x49,0x46},/*2*/
151
152 {0x00,0x21,0x41,0x45,0x4b,0x31},/*3*/
153
154 {0x00,0x18,0x14,0x12,0x7f,0x10},/*4*/
155
156 {0x00,0x27,0x45,0x45,0x45,0x39},/*5*/
157
158 {0x00,0x3c,0x4a,0x49,0x49,0x30},/*6*/
159
160 {0x00,0x01,0x71,0x09,0x05,0x03},/*7*/
161
162 {0x00,0x36,0x49,0x49,0x49,0x36},/*8*/
163
164 {0x00,0x06,0x49,0x49,0x29,0x1e},/*9*/
165
166 {0x00,0x3e,0x51,0x49,0x45,0x3e},/*0*/
167
168 {0x00,0x08,0x08,0x08,0x08,0x08},/*-*/
169
170 {0x00,0x14,0x14,0x14,0x14,0x14},/*=*/
171
172 {0x00,0x01,0x02,0x08,0x10,0x20},/*\*/
173
174 {0x00,0x04,0x08,0x04,0x08,0x04},/*~*/
175
176 {0x00,0x00,0x00,0x4f,0x00,0x00},/*!*/
177
178 {0x00,0x3e,0x59,0x55,0x79,0x3e},/*@*/
179
C51 COMPILER V8.08 SED 08/19/2008 15:03:16 PAGE 4
180 {0x00,0x14,0x7f,0x14,0x7f,0x14},/*#*/
181
182 {0x00,0x24,0x2a,0x7f,0x2a,0x12},/*$*/
183
184 {0x00,0x23,0x13,0x08,0x62,0x61},/*%*/
185
186 {0x00,0x04,0x02,0x01,0x02,0x04},/*^*/
187
188 {0x00,0x36,0x49,0x55,0x22,0x50},/*&*/
189
190 {0x00,0x14,0x08,0x3e,0x08,0x14},/***/
191
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -