📄 汉字式lcd移位显示.lst
字号:
C51 COMPILER V7.06 __字式LCD移位_允_ 05/25/2008 07:16:54 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE __字式LCD移位_允_
OBJECT MODULE PLACED IN 汉字式LCD移位显示.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE 汉字式LCD移位显示.C BROWSE DEBUG OBJECTEXTEND
stmt level source
1 #include"reg51.h"
2 #define uchar unsigned char
3 #define uint unsigned int
4 sbit cs1= P1^1;
5 sbit cs2= P1^2;
6 sbit rs=P1^7;
7 sbit rw=P1^6;
8 sbit e= P1^5;
9 uchar x=0xb8, y=0x40;
10 uint i=0;
11 code uchar d[]={
12 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
13 0x00,0x61,0x00,0x5d,0x80,0x23,0x70,0x21,
14 0x4e,0x21,0x40,0x13,0x20,0x0d,0x20,0x11,
15 0x10,0x31,0x08,0x21,0x04,0x21,0x86,0x00,//(长)
16 0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x18,
17 0xe0,0x06,0x00,0x41,0xc4,0x40,0x28,0x40,
18 0x10,0x40,0x08,0x20,0x08,0x5c,0x88,0x43,
19 0x78,0x40,0x08,0x40,0x08,0x20,0x08,0x00,//(江)
20 0x00,0x80,0x00,0x40,0x00,0x20,0x00,0x10,
21 0x00,0x0c,0x80,0x43,0x70,0x38,0x48,0x27,
22 0x48,0x22,0x48,0x22,0x48,0x22,0x48,0x22,
23 0x48,0x62,0x44,0x1e,0x44,0x03,0x44,0x00,//(后)
24 0x00,0x00,0x00,0x00,0x00,0x48,0x00,0x38,
25 0xc0,0x0c,0x00,0x03,0x80,0x40,0x6c,0x78,
26 0x20,0x46,0xe0,0x21,0x58,0x03,0x48,0x1d,
27 0x48,0x29,0x4a,0x45,0xcc,0x45,0x78,0x02,//(浪)
28 0x00,0x00,0x00,0x00,0x00,0x42,0x00,0x62,
29 0x00,0x1d,0xa0,0x03,0x70,0x01,0xac,0x61,
30 0x92,0x58,0xd0,0x47,0x70,0x44,0x88,0x3c,
31 0x96,0x47,0xf4,0x44,0x92,0x24,0x8c,0x04,//(推)
32 0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x38,
33 0x10,0x07,0xd0,0x4a,0x50,0x6a,0x50,0x1e,
34 0xd0,0x03,0x4e,0x00,0x14,0x5c,0x10,0x43,
35 0xc8,0x60,0x14,0x1c,0x92,0x03,0x70,0x00,//(前)
36 0x00,0x00,0x00,0x00,0x00,0x48,0x00,0x38,
37 0xc0,0x0c,0x00,0x03,0x80,0x40,0x6c,0x78,
38 0x20,0x46,0xe0,0x21,0x58,0x03,0x48,0x1d,
39 0x48,0x29,0x4a,0x45,0xcc,0x45,0x78,0x02,//(浪)
40 0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x28,
41 0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,
42 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
43 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//(,)
44 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,
45 0x40,0x4e,0xc0,0x41,0x30,0x40,0x48,0x58,
46 0x40,0x47,0xc0,0x48,0x38,0x48,0x44,0x48,
47 0x40,0x4c,0xc0,0x43,0x70,0x40,0x4e,0x00,//(世)
48 0x00,0x00,0x00,0x80,0x00,0x80,0x00,0x48,
49 0x00,0x44,0x00,0x24,0x60,0x1a,0x5c,0x07,
50 0x54,0x03,0xd4,0x80,0x74,0x70,0xdc,0x0e,
51 0x54,0x05,0x54,0x02,0x54,0x02,0x3c,0x04,//(界)
52 0x00,0x00,0x00,0x20,0x00,0x10,0x00,0x0a,
53 0x80,0x46,0x88,0x3a,0xb8,0x87,0xc8,0x56,
54 0xa6,0x2a,0x98,0x12,0x48,0x0c,0x88,0x03,
55 0x78,0x60,0x8c,0x1c,0x88,0x03,0x84,0x00,//(新)
C51 COMPILER V7.06 __字式LCD移位_允_ 05/25/2008 07:16:54 PAGE 2
56 0x00,0x00,0x00,0x40,0x00,0x40,0x00,0x20,
57 0x00,0x20,0x00,0x10,0x00,0x08,0x00,0x06,
58 0x00,0x01,0xc0,0x00,0xf8,0x01,0x3e,0x1e,
59 0x00,0x30,0x00,0x60,0x00,0x00,0x00,0x00,//(人)
60 0x00,0x00,0x00,0x80,0x00,0x82,0x00,0x81,
61 0x10,0x51,0xe8,0x4f,0x24,0x22,0x94,0x12,
62 0xec,0x0a,0xaa,0x05,0x70,0x21,0x90,0x22,
63 0x6c,0x5e,0x28,0x43,0xf8,0x00,0x2e,0x01,//(赞)
64 0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x38,
65 0x00,0x07,0xe0,0x00,0x1c,0x60,0x00,0x1c,
66 0x80,0x23,0x70,0x21,0x0c,0x21,0x08,0x21,
67 0x08,0x61,0x08,0x39,0x08,0x07,0xe8,0x00,//(旧)
68 0x00,0x00,0x00,0x40,0x00,0x40,0x00,0x20,
69 0x00,0x20,0x00,0x10,0x00,0x08,0x00,0x06,
70 0x00,0x01,0xc0,0x00,0xf8,0x01,0x3e,0x1e,
71 0x00,0x30,0x00,0x60,0x00,0x00,0x00,0x00,//(人)
72 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,
73 0x00,0x28,0x00,0x18,0x00,0x00,0x00,0x00,
74 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
75 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//(。)
76 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,
77 0x00,0x09,0x00,0x09,0x00,0x09,0x10,0x69,
78 0x70,0x19,0x10,0x0f,0x10,0x09,0x8a,0x08,
79 0x54,0x09,0x30,0x0d,0x10,0x09,0x08,0x01,//(辛)
80 0x00,0x00,0x00,0x40,0x00,0x40,0x00,0x52,
81 0xc0,0x35,0x68,0x5a,0x58,0xd7,0xe6,0x52,
82 0x68,0x2a,0xd8,0x23,0x46,0x10,0x2a,0x0c,
83 0x24,0x43,0xe0,0x60,0x3c,0x18,0x22,0x07,//(勤)
84 0x00,0x00,0x00,0x80,0x00,0x80,0x00,0x40,
85 0x80,0x42,0x48,0x22,0x48,0x12,0x48,0x0a,
86 0x68,0x06,0xdc,0x43,0x4a,0x42,0x48,0x62,
87 0x68,0x1a,0x58,0x06,0x4e,0x00,0xc8,0x00,//(劳)
88 0x00,0x00,0x00,0x00,0x00,0x18,0x40,0x14,
89 0x40,0x12,0x48,0x91,0xc8,0x48,0x48,0x3e,
90 0x48,0x28,0x48,0x10,0x48,0x0c,0x20,0x42,
91 0xe0,0x41,0x30,0x20,0x2e,0x1c,0x20,0x03,//(动)
92 0x00,0x80,0x00,0x40,0x00,0x30,0x00,0x0c,
93 0x00,0x13,0xe0,0x10,0x10,0x31,0x20,0x4d,
94 0x20,0x43,0x20,0x20,0x20,0x10,0xe0,0x1f,
95 0x1e,0x34,0x20,0x62,0xa0,0x71,0xec,0x10,//(成)
96 0x00,0x00,0x00,0x20,0x00,0x10,0x00,0x4a,
97 0x80,0x45,0x40,0x39,0x50,0x87,0x50,0x57,
98 0x4e,0x29,0xd0,0x10,0x50,0x0c,0x48,0x63,
99 0xe0,0x5c,0xdc,0x43,0x42,0x60,0x40,0x00,//(就)
100 0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x91,
101 0x80,0x88,0x40,0x48,0x50,0x4d,0xf0,0x52,
102 0x1c,0x25,0xf2,0x14,0x88,0x14,0x50,0x0c,
103 0xf0,0x05,0x30,0x06,0x3e,0x00,0xd0,0x00,//(梦)
104 0x00,0x00,0x00,0x40,0x00,0x22,0x00,0x11,
105 0x80,0x00,0x50,0x72,0xf0,0x49,0x38,0x40,
106 0xd6,0x40,0x12,0x5a,0xd0,0x41,0xb0,0x62,
107 0xac,0x02,0xa4,0x0a,0xa4,0x3a,0xe4,0x01,};//(想)
108 code uchar dd[]={
109 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
110 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",0*/
111 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
112 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",1*/
113 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
114 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",2*/
115 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
116 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",3*/
117 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
C51 COMPILER V7.06 __字式LCD移位_允_ 05/25/2008 07:16:54 PAGE 3
118 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",4*/
119 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
120 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",5*/
121 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
122 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",6*/
123 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
124 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",7*/
125 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
126 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",0*/
127 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
128 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",1*/
129 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
130 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",2*/
131 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
132 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",3*/
133 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
134 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",4*/
135 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
136 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",5*/
137 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
138 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",6*/
139 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
140 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/*" ",7*/
141 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
142 0x00,0x00,0x80,0x00,0x40,0x01,0x20,0x02,
143 0x90,0x04,0x48,0x09,0x24,0x12,0x12,0x24,
144 0x09,0x48,0x04,0x90,0x02,0x20,0x00,0x00,//(《)
145 0x00,0x11,0x04,0x51,0x04,0x49,0x04,0x4d,
146 0xff,0x4b,0x54,0x49,0x54,0x49,0x54,0x7d,
147 0x54,0x49,0x54,0x49,0xff,0x4b,0x04,0x45,
148 0x04,0x4d,0x04,0x59,0x00,0x09,0x00,0x00,//(基)
149 0x40,0x00,0x40,0x00,0x42,0x00,0x42,0x00,
150 0x42,0x20,0x42,0x40,0x42,0x80,0xfe,0x7f,
151 0x42,0x00,0x42,0x00,0x42,0x00,0x42,0x00,
152 0x42,0x00,0x42,0x00,0x40,0x00,0x00,0x00,//(于)
153 0x08,0x20,0xF8,0x3F,0x08,0x21,0x08,0x01,
154 0x08,0x01,0x08,0x01,0xF0,0x00,0x00,0x00,//*"P"
155 0x80,0x20,0x80,0x20,0x80,0x3F,0x00,0x21,
156 0x80,0x20,0x80,0x00,0x80,0x01,0x00,0x00,//*"r"
157 0x00,0x00,0x00,0x1F,0x80,0x20,0x80,0x20,
158 0x80,0x20,0x80,0x20,0x00,0x1F,0x00,0x00,//*"o"
159 0x00,0x00,0x80,0x00,0x80,0x00,0xE0,0x1F,
160 0x80,0x20,0x80,0x20,0x00,0x00,0x00,0x00,//*"t"
161 0x00,0x00,0x00,0x1F,0x80,0x22,0x80,0x22,
162 0x80,0x22,0x80,0x22,0x00,0x13,0x00,0x00,//*"e"
163 0x80,0x00,0x80,0x1F,0x00,0x20,0x00,0x20,
164 0x00,0x20,0x80,0x10,0x80,0x3F,0x00,0x20,//*"u"
165 0x00,0x00,0x00,0x33,0x80,0x24,0x80,0x24,
166 0x80,0x24,0x80,0x24,0x80,0x19,0x00,0x00,//*"s"
167 0x00,0x00,0x38,0x00,0x08,0x00,0x08,0x3f,
168 0xC8,0x00,0x38,0x00,0x08,0x00,0x00,0x00,//*"7"
169 0x00,0x00,0x00,0x30,0x00,0x30,0x00,0x00,
170 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//*"."
171 0x00,0x00,0x10,0x20,0x10,0x20,0xF8,0x3F,
172 0x00,0x20,0x00,0x20,0x00,0x00,0x00,0x00,//*"1"
173 0x00,0x00,0xf8,0x7f,0x8c,0x10,0x8b,0x10,
174 0x88,0x10,0xf8,0x3f,0x40,0x00,0x30,0x00,
175 0x8f,0x00,0x08,0x03,0x08,0x26,0x08,0x40,
176 0x08,0x20,0xf8,0x1f,0x00,0x00,0x00,0x00,//(的)
177 0x00,0x08,0x00,0x08,0xF8,0x0B,0x28,0x09,
178 0x29,0x09,0x2E,0x09,0x2A,0x09,0xF8,0xFF,
179 0x28,0x09,0x2C,0x09,0x2B,0x09,0x2A,0x09,
C51 COMPILER V7.06 __字式LCD移位_允_ 05/25/2008 07:16:54 PAGE 4
180 0xF8,0x0B,0x00,0x08,0x00,0x08,0x00,0x00,//*"单"
181 0x00,0x80,0x00,0x40,0x00,0x30,0xFE,0x0F,
182 0x10,0x01,0x10,0x01,0x10,0x01,0x10,0x01,
183 0x10,0x01,0x1F,0x01,0x10,0x01,0x10,0xFF,
184 0x10,0x00,0x18,0x00,0x10,0x00,0x00,0x00,//*"片"
185 0x08,0x04,0x08,0x03,0xC8,0x00,0xFF,0xFF,
186 0x48,0x00,0x88,0x41,0x08,0x30,0x00,0x0C,
187 0xFE,0x03,0x02,0x00,0x02,0x00,0x02,0x00,
188 0xFE,0x3F,0x00,0x40,0x00,0x78,0x00,0x00,//*"机"
189 0x40,0x00,0x20,0x00,0x10,0x00,0xec,0x7f,
190 0x07,0x40,0x0a,0x20,0x08,0x18,0x08,0x06,
191 0xf9,0x01,0x8a,0x10,0x8e,0x20,0x88,0x40,
192 0x88,0x20,0xcc,0x1f,0x88,0x00,0x00,0x00,//(仿)
193 0x00,0x10,0x04,0x90,0x04,0x90,0x04,0x50,
194 0xf4,0x5f,0x54,0x35,0x5c,0x15,0x57,0x15,
195 0x54,0x15,0x54,0x35,0x54,0x55,0xf4,0x5f,
196 0x04,0x90,0x06,0x90,0x04,0x10,0x00,0x00,//(真)
197 0x02,0x20,0x04,0x90,0x09,0x48,0x12,0x24,
198 0x24,0x12,0x48,0x09,0x90,0x04,0x20,0x02,
199 0x40,0x01,0x80,0x00,0x00,0x00,0x00,0x00,
200 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//(》)
201 0x00,0x00,0x00,0x00,0xf0,0x7f,0x10,0x21,
202 0x10,0x21,0x10,0x21,0x10,0x21,0xff,0x3f,
203 0x10,0x21,0x10,0x21,0x10,0x21,0x10,0x21,
204 0xf0,0x7f,0x00,0x00,0x00,0x00,0x00,0x00,//(由)
205 0x00,0x00,0x00,0x00,0xf8,0x0f,0x48,0x04,
206 0x48,0x04,0x48,0x04,0x48,0x04,0xff,0x3f,
207 0x48,0x44,0x48,0x44,0x48,0x44,0x48,0x44,
208 0xf8,0x4f,0x00,0x40,0x00,0x70,0x00,0x00,//(电)
209 0x00,0x01,0x00,0x01,0x02,0x01,0x02,0x01,
210 0x02,0x01,0x02,0x41,0x02,0x81,0xe2,0x7f,
211 0x12,0x01,0x0a,0x01,0x06,0x01,0x02,0x01,
212 0x00,0x01,0x80,0x01,0x00,0x01,0x00,0x00,//(子)
213 0x00,0x20,0x00,0x20,0x02,0x20,0x02,0x20,
214 0x02,0x20,0x02,0x20,0x02,0x20,0xfe,0x3f,
215 0x02,0x20,0x02,0x20,0x02,0x20,0x02,0x20,
216 0x02,0x20,0x02,0x20,0x00,0x20,0x00,0x00,//(工)
217 0x00,0x20,0x10,0x20,0x60,0x20,0x80,0x23,
218 0x00,0x21,0xff,0x3f,0x00,0x20,0x00,0x20,
219 0x00,0x20,0xff,0x3f,0x00,0x22,0x80,0x21,
220 0x60,0x20,0x38,0x30,0x10,0x20,0x00,0x00,//(业)
221 0x00,0x00,0x00,0x00,0xfc,0x7e,0x40,0x20,
222 0x40,0x20,0x40,0x20,0x40,0x20,0xff,0x3f,
223 0x40,0x20,0x40,0x20,0x40,0x20,0x40,0x20,
224 0x40,0x20,0xfc,0x7e,0x00,0x00,0x00,0x00,//(出)
225 0x00,0x40,0xfe,0x3f,0x90,0x00,0x90,0x00,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -