📄 main.ls1
字号:
0000F8 125 ?SC_248:
0000F8 0D0A2053 126 DB 00DH,00AH,' ' ,'S' ,'u' ,'c' ,'c' ,'e' ,'e' ,'d'
0000FC 75636365
000100 6564
000102 20746F20 127 DB ' ' ,'t' ,'o' ,' ' ,'c' ,'r' ,'e' ,'a' ,'t' ,'e'
000106 63726561
00010A 7465
00010C 20554450 128 DB ' ' ,'U' ,'D' ,'P' ,' ' ,'s' ,'o' ,'c' ,'k' ,'e'
000110 20736F63
000114 6B65
000116 74200D0A 129 DB 't' ,' ' ,00DH,00AH,000H
00011A 00
130
00011B 131 ?SC_283:
00011B 41747465 132 DB 'A' ,'t' ,'t' ,'e' ,'m' ,'p' ,'t' ,' ' ,'t' ,'o'
00011F 6D707420
000123 746F
000125 20666F72 133 DB ' ' ,'f' ,'o' ,'r' ,'k' ,' ' ,'f' ,'a' ,'i' ,'l'
AX51 MACRO ASSEMBLER MAIN 04/01/05 11:49:29 PAGE 4
000129 6B206661
00012D 696C
00012F 65640D0A 134 DB 'e' ,'d' ,00DH,00AH,000H
000133 00
135
000134 136 ?SC_308:
000134 57616974 137 DB 'W' ,'a' ,'i' ,'t' ,'e' ,'d' ,' ' ,'f' ,'o' ,'r'
000138 65642066
00013C 6F72
00013E 20256C64 138 DB ' ' ,'%' ,'l' ,'d' ,' ' ,'m' ,'s' ,'e' ,'c' ,00DH
000142 206D7365
000146 630D
000148 0A00 139 DB 00AH,000H
140
00014A 141 ?SC_330:
00014A 53657420 142 DB 'S' ,'e' ,'t' ,' ' ,'n' ,'e' ,'t' ,'w' ,'o' ,'r'
00014E 6E657477
000152 6F72
000154 6B207061 143 DB 'k' ,' ' ,'p' ,'a' ,'r' ,'a' ,'m' ,'e' ,'t' ,'e'
000158 72616D65
00015C 7465
00015E 72732072 144 DB 'r' ,'s' ,' ' ,'r' ,'e' ,'s' ,'u' ,'l' ,'t' ,':'
000162 6573756C
000166 743A
000168 2025750D 145 DB ' ' ,'%' ,'u' ,00DH,00AH,000H
00016C 0A00
146
00016E 147 ?SC_366:
00016E 4E657477 148 DB 'N' ,'e' ,'t' ,'w' ,'o' ,'r' ,'k' ,' ' ,'p' ,'a'
000172 6F726B20
000176 7061
000178 72616D73 149 DB 'r' ,'a' ,'m' ,'s' ,' ' ,'r' ,'e' ,'s' ,'u' ,'l'
00017C 20726573
000180 756C
000182 743A2025 150 DB 't' ,':' ,' ' ,'%' ,'d' ,00DH,00AH,000H
000186 640D0A00
151
00018A 152 ?SC_394:
00018A 49502020 153 DB 'I' ,'P' ,' ' ,' ' ,' ' ,' ' ,':' ,' ' ,'%' ,'b'
00018E 20203A20
000192 2562
000194 75202562 154 DB 'u' ,' ' ,'%' ,'b' ,'u' ,' ' ,'%' ,'b' ,'u' ,' '
000198 75202562
00019C 7520
00019E 2562750D 155 DB '%' ,'b' ,'u' ,00DH,00AH,000H
0001A2 0A00
156
0001A4 157 ?SC_420:
0001A4 5375626E 158 DB 'S' ,'u' ,'b' ,'n' ,'e' ,'t' ,':' ,' ' ,'%' ,'b'
0001A8 65743A20
0001AC 2562
0001AE 75202562 159 DB 'u' ,' ' ,'%' ,'b' ,'u' ,' ' ,'%' ,'b' ,'u' ,' '
0001B2 75202562
0001B6 7520
0001B8 2562750D 160 DB '%' ,'b' ,'u' ,00DH,00AH,000H
0001BC 0A00
161
0001BE 162 ?SC_446:
0001BE 50726566 163 DB 'P' ,'r' ,'e' ,'f' ,'i' ,'x' ,':' ,' ' ,'%' ,'b'
0001C2 69783A20
0001C6 2562
0001C8 750D0A00 164 DB 'u' ,00DH,00AH,000H
165
0001CC 166 ?SC_460:
0001CC 47617465 167 DB 'G' ,'a' ,'t' ,'e' ,' ' ,' ' ,':' ,' ' ,'%' ,'b'
0001D0 20203A20
AX51 MACRO ASSEMBLER MAIN 04/01/05 11:49:29 PAGE 5
0001D4 2562
0001D6 75202562 168 DB 'u' ,' ' ,'%' ,'b' ,'u' ,' ' ,'%' ,'b' ,'u' ,' '
0001DA 75202562
0001DE 7520
0001E0 2562750D 169 DB '%' ,'b' ,'u' ,00DH,00AH,000H
0001E4 0A00
170
171
------ 172 RSEG ?CO?MAIN
173 ; /* ---------------------------------------------------------------------------
174 ; * Copyright (C) 2003 Dallas Semiconductor Corporation, All Rights Reserved.
175 ; *
176 ; * Permission is hereby granted, free of charge, to any person obtaining a
177 ; * copy of this software and associated documentation files (the "Software"),
178 ; * to deal in the Software without restriction, including without limitation
179 ; * the rights to use, copy, modify, merge, publish, distribute, sublicense,
180 ; * and/or sell copies of the Software, and to permit persons to whom the
181 ; * Software is furnished to do so, subject to the following conditions:
182 ; *
183 ; * The above copyright notice and this permission notice shall be included
184 ; * in all copies or substantial portions of the Software.
185 ; *
186 ; * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
187 ; * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
188 ; * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
189 ; * IN NO EVENT SHALL DALLAS SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, DAMAGES
190 ; * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
191 ; * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
192 ; * OTHER DEALINGS IN THE SOFTWARE.
193 ; *
194 ; * Except as contained in this notice, the name of Dallas Semiconductor
195 ; * shall not be used except as stated in the Dallas Semiconductor
196 ; * Branding Policy.
197 ; * ---------------------------------------------------------------------------
198 ; */
199 ;
200 ; /*
201 ; * HelloWorld - template project for working in C with the DS80C400.
202 ; *
203 ; */
204 ;
205 ; //#pragma SRC
206 ;
207 ; #define USE_KMEM_LIB
208 ; #define USE_XNETSTACK_LIB
209 ;
210 ; #include <stdio.h> // needed for printf
211 ; #include <string.h> // needed for strcpy
212 ; #include "rom400_init.h"
213 ; #include "rom400_task.h"
214 ; #include "rom400_sock.h"
215 ;
216 ; #ifdef USE_KMEM_LIB
217 ; #include "rom400_kmem.h"
218 ; #endif
219 ; #ifdef USE_XNETSTACK_LIB
220 ; #include "rom400_xnetstack.h"
221 ; #endif
222 ;
223 ; // leave 4000h bytes for function parameters
224 ; #define RAM_START 0x14000
225 ; #define RAM_END 0x5FFFF
226 ;
227 ; // This is the host PC that will run the host java programs like 'listener.class' and
'udp.class'
228 ; #define TARGET_IP_MSB 192
AX51 MACRO ASSEMBLER MAIN 04/01/05 11:49:29 PAGE 6
229 ; #define TARGET_IP_2 168
230 ; #define TARGET_IP_3 128
231 ; #define TARGET_IP_LSB 74
232 ;
233 ; // Static IP Address (used if you are selecting a static IP)
234 ; #define STATIC_IP_MSB 192
235 ; #define STATIC_IP_2 168
236 ; #define STATIC_IP_3 128
237 ; #define STATIC_IP_LSB 9
238 ;
239 ; // Static Subnet Mask (used if you are selecting a static IP)
240 ; #define STATIC_SUBNETMASK_MSB 255
241 ; #define STATIC_SUBNETMASK_2 255
242 ; #define STATIC_SUBNETMASK_3 255
243 ; #define STATIC_SUBNETMASK_LSB 0
244 ;
245 ; #define STATIC_IPV4_PREFIX 24
246 ;
247 ; // Static Gateway (used if you are selecting a static IP)
248 ; #define STATIC_GATEWAY_MSB 192
249 ; #define STATIC_GATEWAY_2 168
250 ; #define STATIC_GATEWAY_3 128
251 ; #define STATIC_GATEWAY_LSB 1
252 ;
253 ; void network_config();
254 ; void do_static();
255 ; void wait_millis(unsigned int waitTime);
256 ;
257 ; //C 程序中汇编函实纳昝
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -