⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icex56.lst

📁 义隆156仿真机测试软件
💻 LST
📖 第 1 页 / 共 4 页
字号:
   253 000B7 0000          			nop
   254                     /**************************************/ 			
   255 000B8 0E06          			jbs		port6,	0
   256 000B9 0553          			inc		low_value1
   257 000BA 0000          			nop
   258 000BB 0E46          			jbs		port6,	1
   259 000BC 0553          			inc		low_value1
   260 000BD 0000          			nop
   261 000BE 0E86          			jbs		port6,	2
   262 000BF 0553          			inc		low_value1
   263 000C0 0000          			nop
   264 000C1 0EC6          			jbs		port6,	3
   265 000C2 0553          			inc		low_value1
   266 000C3 0000          			nop
   267                     /**************************************/ 			
   268 000C4 0A05          benchmark8:	bs		port5,	0			;set P50 output 1,others input
   269 000C5 132A          			call	delay
   270 000C6 0C45          			jbc		port5,	1
   271 000C7 0552          			inc		high_value1
   272 000C8 0000          			nop
   273 000C9 0C85          			jbc		port5,	2
   274 000CA 0552          			inc		high_value1
   275 000CB 0000          			nop
   276 000CC 0CC5          			jbc		port5,	3
   277 000CD 0552          			inc		high_value1
   278 000CE 0000          			nop
   279                     /**************************************/ 			
   280 000CF 0C06          			jbc		port6,	0
   281 000D0 0552          			inc		high_value1
   282 000D1 0000          			nop
   283 000D2 0C46          			jbc		port6,	1
   284 000D3 0552          			inc		high_value1
   285 000D4 0000          			nop
   286 000D5 0C86          			jbc		port6,	2
   287 000D6 0552          			inc		high_value1
   288 000D7 0000          			nop
   289 000D8 0CC6          			jbc		port6,	3
   290 000D9 0552          			inc		high_value1
   291 000DA 0000          			nop	
   292                     					
   293                     /**************************************/ 				
   294 000DB 0410          port50check:mov		a,		high_value
   295 000DC 1D01          			sub		a,		@0x01
   296 000DD 0C03          			jbc		r3,		0
   297 000DE 1738          			jmp		IO_error		
   298 000DF 0411          			mov		a,		low_value
   299 000E0 1D01          			sub		a,		@0x01
   300 000E1 0C03          			jbc		r3,		0
   301 000E2 1738          			jmp		IO_error
   302 000E3 0412          			mov		a,		high_value1
   303 000E4 1D01          			sub		a,		@0x01
   304 000E5 0C03          			jbc		r3,		0
   305 000E6 1738          			jmp		IO_error
   306 000E7 0413          			mov		a,		low_value1
   307 000E8 1D01          			sub		a,		@0x01
   308 000E9 0C03          			jbc		r3,		0
   309 000EA 1738          			jmp		IO_error
   310 000EB 180F          			mov		a,		@0x0f
   311 000EC 0060          			mov		port50,	a
   312                     /**************************************/ 
   313 000ED               input_check:
   314 000ED 180E          			mov		a,		@0x0e		;set P50 output,others input
   315 000EE 0005          			iow		P5CR
   316 000EF 18FF          			mov		a,		@0xff
   317 000F0 0006          			iow		P6CR
   318 000F1               input0_check:
   319 000F1 0805          			bc		port5,	0
   320 000F2 132A          			call	delay
   321 000F3 0E45          			jbs		port5,	1
   322 000F4 0A21          			bs		port51,	input0
   323 000F5 0000          			nop
   324 000F6 0E85          			jbs		port5,	2
   325 000F7 0A22          			bs		port52,	input0
   326 000F8 0000          			nop
   327 000F9 0EC5          			jbs		port5,	3
   328 000FA 0A23          			bs		port53,	input0
   329 000FB 0000          			nop
   330                     /**************************************/ 			
   331 000FC 0E06          			jbs		port6,	0
   332 000FD 0A24          			bs		port60,	input0
   333 000FE 0000          			nop
   334 000FF 0E46          			jbs		port6,	1
   335 00100 0A25          			bs		port61,	input0
   336 00101 0000          			nop
   337 00102 0E86          			jbs		port6,	2
   338 00103 0A26          			bs		port62,	input0
   339 00104 0000          			nop
   340 00105 0EC6          			jbs		port6,	3
   341 00106 0A27          			bs		port63,	input0
   342 00107 0000          			nop
   343 00108 0F06          			jbs		port6,	4
   344 00109 0A28          			bs		port64,	input0
   345 0010A 0000          			nop
   346 0010B 0F46          			jbs		port6,	5
   347 0010C 0A29          			bs		port65,	input0
   348 0010D 0000          			nop
   349 0010E 0F86          			jbs		port6,	6
   350 0010F 0A2A          			bs		port66,	input0
   351 00110 0000          			nop
   352 00111 0FC6          			jbs		port6,	7
   353 00112 0A2B          			bs		port67,	input0
   354 00113 0000          			nop	
   355                     /**************************************/ 
   356 00114               input1_check:			
   357 00114 0A05          			bs		port5,	0
   358 00115 132A          			call	delay
   359 00116 0C45          			jbc		port5,	1
   360 00117 0A61          			bs		port51,	input1
   361 00118 0000          			nop
   362 00119 0C85          			jbc		port5,	2
   363 0011A 0A62          			bs		port52,	input1
   364 0011B 0000          			nop
   365 0011C 0CC5          			jbc		port5,	3
   366 0011D 0A63          			bs		port53,	input1
   367 0011E 0000          			nop
   368                     /**************************************/ 			
   369 0011F 0C06          			jbc		port6,	0
   370 00120 0A64          			bs		port60,	input1
   371 00121 0000          			nop
   372 00122 0C46          			jbc		port6,	1
   373 00123 0A65          			bs		port61,	input1
   374 00124 0000          			nop
   375 00125 0C86          			jbc		port6,	2
   376 00126 0A66          			bs		port62,	input1
   377 00127 0000          			nop
   378 00128 0CC6          			jbc		port6,	3
   379 00129 0A67          			bs		port63,	input1
   380 0012A 0000          			nop
   381 0012B 0D06          			jbc		port6,	4
   382 0012C 0A68          			bs		port64,	input1
   383 0012D 0000          			nop
   384 0012E 0D46          			jbc		port6,	5
   385 0012F 0A69          			bs		port65,	input1
   386 00130 0000          			nop
   387 00131 0D86          			jbc		port6,	6
   388 00132 0A6A          			bs		port66,	input1
   389 00133 0000          			nop
   390 00134 0DC6          			jbc		port6,	7
   391 00135 0A6B          			bs		port67,	input1
   392 00136 0000          			nop			
   393                     /**************************************/
   394 00137               output_check:
   395 00137 0000          			nop
   396 00138 0000          			nop
   397 00139               port51_check:
   398 00139 180D          			mov		a,		@0x0d		;set P51 output,others input
   399 0013A 0005          			iow		P5CR
   400 0013B 18FF          			mov		a,		@0xff
   401 0013C 0006          			iow		P6CR
   402 0013D 0A45          			bs		port5,	1
   403 0013E 132A          			call	delay
   404 0013F 0C05          			jbc		port5,	0
   405 00140 0AE1          			bs		port51,	output1
   406 00141 0000          			nop
   407 00142 0845          			bc		port5,	1
   408 00143 132A          			call	delay	
   409 00144 0E05          			jbs		port5,	0
   410 00145 0AA1          			bs		port51,	output0			
   411                     /**************************************/ 
   412 00146               port52_check:
   413 00146 180B          			mov		a,		@0x0b		;set P52 output,others input
   414 00147 0005          			iow		P5CR
   415 00148 18FF          			mov		a,		@0xff
   416 00149 0006          			iow		P6CR
   417 0014A 0A85          			bs		port5,	2
   418 0014B 132A          			call	delay
   419 0014C 0C05          			jbc		port5,	0
   420 0014D 0AE2          			bs		port52,	output1
   421 0014E 0000          			nop
   422 0014F 0885          			bc		port5,	2
   423 00150 132A          			call	delay	
   424 00151 0E05          			jbs		port5,	0
   425 00152 0AA2          			bs		port52,	output0
   426                     /**************************************/ 			
   427 00153               port53_check:
   428 00153 1807          			mov		a,		@0x07		;set P53 output,others input
   429 00154 0005          			iow		P5CR
   430 00155 18FF          			mov		a,		@0xff
   431 00156 0006          			iow		P6CR
   432 00157 0AC5          			bs		port5,	3
   433 00158 132A          			call	delay
   434 00159 0C05          			jbc		port5,	0
   435 0015A 0AE3          			bs		port53,	output1
   436 0015B 0000          			nop
   437 0015C 08C5          			bc		port5,	3
   438 0015D 132A          			call	delay
   439 0015E 0E05          			jbs		port5,	0
   440 0015F 0AA3          			bs		port53,	output0			
   441                     /**************************************/ 
   442 00160               port60_check:
   443 00160 180F          			mov		a,		@0x0f		;set P60 output,others input
   444 00161 0005          			iow		P5CR
   445 00162 18FE          			mov		a,		@0xfe
   446 00163 0006          			iow		P6CR
   447 00164 0A06          			bs		port6,	0
   448 00165 132A          			call	delay
   449 00166 0C05          			jbc		port5,	0
   450 00167 0AE4          			bs		port60,	output1
   451 00168 0000          			nop
   452 00169 0806          			bc		port6,	0
   453 0016A 132A          			call	delay
   454 0016B 0E05          			jbs		port5,	0
   455 0016C 0AA4          			bs		port60,	output0 	
   456                     /**************************************/ 			
   457 0016D               port61_check:
   458 0016D 180F          			mov		a,		@0x0f		;set P61 output,others input
   459 0016E 0005          			iow		P5CR
   460 0016F 18FD          			mov		a,		@0xfd
   461 00170 0006          			iow		P6CR
   462 00171 0A46          			bs		port6,	1
   463 00172 132A          			call	delay
   464 00173 0C05          			jbc		port5,	0
   465 00174 0AE5          			bs		port61,	output1
   466 00175 0000          			nop
   467 00176 0846          			bc		port6,	1
   468 00177 132A          			call	delay
   469 00178 0E05          			jbs		port5,	0
   470 00179 0AA5          			bs		port61,	output0					
   471                     /**************************************/ 
   472 0017A               port62_check:
   473 0017A 180F          			mov		a,		@0x0f		;set P62 output,others input
   474 0017B 0005          			iow		P5CR
   475 0017C 18FB          			mov		a,		@0xfb
   476 0017D 0006          			iow		P6CR
   477 0017E 0A86          			bs		port6,	2
   478 0017F 132A          			call	delay
   479 00180 0C05          			jbc		port5,	0
   480 00181 0AE6          			bs		port62,	output1
   481 00182 0000          			nop
   482 00183 0886          			bc		port6,	2
   483 00184 132A          			call	delay
   484 00185 0E05          			jbs		port5,	0
   485 00186 0AA6          			bs		port62,	output0
   486                     /**************************************/ 			
   487 00187               port63_check:
   488 00187 180F          			mov		a,		@0x0f		;set P63 output,others input
   489 00188 0005          			iow		P5CR
   490 00189 18F7          			mov		a,		@0xf7
   491 0018A 0006          			iow		P6CR
   492 0018B 0AC6          			bs		port6,	3
   493 0018C 132A          			call	delay
   494 0018D 0C05          			jbc		port5,	0
   495 0018E 0AE7          			bs		port63,	output1
   496 0018F 0000          			nop
   497 00190 08C6          			bc		port6,	3
   498 00191 132A          			call	delay
   499 00192 0E05          			jbs		port5,	0
   500 00193 0AA7          			bs		port63,	output0
   501                     /**************************************/ 			
   502 00194               port64_check:
   503 00194 180F          			mov		a,		@0x0f		;set P64 output,others input
   504 00195 0005          			iow		P5CR

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -