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

📄 main.lss

📁 利用CA-M8和一些实例程序
💻 LSS
📖 第 1 页 / 共 5 页
字号:
     230:	90 e0       	ldi	r25, 0x00	; 0
     232:	90 93 8f 01 	sts	0x018F, r25
     236:	80 93 8e 01 	sts	0x018E, r24
     23a:	df 91       	pop	r29
     23c:	cf 91       	pop	r28
     23e:	08 95       	ret

00000240 <malloc>:
     240:	cf 93       	push	r28
     242:	df 93       	push	r29
     244:	ac 01       	movw	r20, r24
     246:	02 97       	sbiw	r24, 0x02	; 2
     248:	10 f4       	brcc	.+4      	; 0x24e <malloc+0xe>
     24a:	42 e0       	ldi	r20, 0x02	; 2
     24c:	50 e0       	ldi	r21, 0x00	; 0
     24e:	a0 91 8c 01 	lds	r26, 0x018C
     252:	b0 91 8d 01 	lds	r27, 0x018D
     256:	fd 01       	movw	r30, r26
     258:	c0 e0       	ldi	r28, 0x00	; 0
     25a:	d0 e0       	ldi	r29, 0x00	; 0
     25c:	20 e0       	ldi	r18, 0x00	; 0
     25e:	30 e0       	ldi	r19, 0x00	; 0
     260:	20 c0       	rjmp	.+64     	; 0x2a2 <malloc+0x62>
     262:	80 81       	ld	r24, Z
     264:	91 81       	ldd	r25, Z+1	; 0x01
     266:	84 17       	cp	r24, r20
     268:	95 07       	cpc	r25, r21
     26a:	69 f4       	brne	.+26     	; 0x286 <malloc+0x46>
     26c:	82 81       	ldd	r24, Z+2	; 0x02
     26e:	93 81       	ldd	r25, Z+3	; 0x03
     270:	20 97       	sbiw	r28, 0x00	; 0
     272:	19 f0       	breq	.+6      	; 0x27a <malloc+0x3a>
     274:	9b 83       	std	Y+3, r25	; 0x03
     276:	8a 83       	std	Y+2, r24	; 0x02
     278:	04 c0       	rjmp	.+8      	; 0x282 <malloc+0x42>
     27a:	90 93 8d 01 	sts	0x018D, r25
     27e:	80 93 8c 01 	sts	0x018C, r24
     282:	9f 01       	movw	r18, r30
     284:	32 c0       	rjmp	.+100    	; 0x2ea <malloc+0xaa>
     286:	48 17       	cp	r20, r24
     288:	59 07       	cpc	r21, r25
     28a:	38 f4       	brcc	.+14     	; 0x29a <malloc+0x5a>
     28c:	21 15       	cp	r18, r1
     28e:	31 05       	cpc	r19, r1
     290:	19 f0       	breq	.+6      	; 0x298 <malloc+0x58>
     292:	82 17       	cp	r24, r18
     294:	93 07       	cpc	r25, r19
     296:	08 f4       	brcc	.+2      	; 0x29a <malloc+0x5a>
     298:	9c 01       	movw	r18, r24
     29a:	ef 01       	movw	r28, r30
     29c:	02 80       	ldd	r0, Z+2	; 0x02
     29e:	f3 81       	ldd	r31, Z+3	; 0x03
     2a0:	e0 2d       	mov	r30, r0
     2a2:	30 97       	sbiw	r30, 0x00	; 0
     2a4:	f1 f6       	brne	.-68     	; 0x262 <malloc+0x22>
     2a6:	21 15       	cp	r18, r1
     2a8:	31 05       	cpc	r19, r1
     2aa:	99 f1       	breq	.+102    	; 0x312 <malloc+0xd2>
     2ac:	c9 01       	movw	r24, r18
     2ae:	84 1b       	sub	r24, r20
     2b0:	95 0b       	sbc	r25, r21
     2b2:	04 97       	sbiw	r24, 0x04	; 4
     2b4:	08 f4       	brcc	.+2      	; 0x2b8 <malloc+0x78>
     2b6:	a9 01       	movw	r20, r18
     2b8:	e0 e0       	ldi	r30, 0x00	; 0
     2ba:	f0 e0       	ldi	r31, 0x00	; 0
     2bc:	28 c0       	rjmp	.+80     	; 0x30e <malloc+0xce>
     2be:	8d 91       	ld	r24, X+
     2c0:	9c 91       	ld	r25, X
     2c2:	11 97       	sbiw	r26, 0x01	; 1
     2c4:	82 17       	cp	r24, r18
     2c6:	93 07       	cpc	r25, r19
     2c8:	f9 f4       	brne	.+62     	; 0x308 <malloc+0xc8>
     2ca:	48 17       	cp	r20, r24
     2cc:	59 07       	cpc	r21, r25
     2ce:	81 f4       	brne	.+32     	; 0x2f0 <malloc+0xb0>
     2d0:	ed 01       	movw	r28, r26
     2d2:	8a 81       	ldd	r24, Y+2	; 0x02
     2d4:	9b 81       	ldd	r25, Y+3	; 0x03
     2d6:	30 97       	sbiw	r30, 0x00	; 0
     2d8:	19 f0       	breq	.+6      	; 0x2e0 <malloc+0xa0>
     2da:	93 83       	std	Z+3, r25	; 0x03
     2dc:	82 83       	std	Z+2, r24	; 0x02
     2de:	04 c0       	rjmp	.+8      	; 0x2e8 <malloc+0xa8>
     2e0:	90 93 8d 01 	sts	0x018D, r25
     2e4:	80 93 8c 01 	sts	0x018C, r24
     2e8:	9d 01       	movw	r18, r26
     2ea:	2e 5f       	subi	r18, 0xFE	; 254
     2ec:	3f 4f       	sbci	r19, 0xFF	; 255
     2ee:	4c c0       	rjmp	.+152    	; 0x388 <malloc+0x148>
     2f0:	84 1b       	sub	r24, r20
     2f2:	95 0b       	sbc	r25, r21
     2f4:	fd 01       	movw	r30, r26
     2f6:	e8 0f       	add	r30, r24
     2f8:	f9 1f       	adc	r31, r25
     2fa:	41 93       	st	Z+, r20
     2fc:	51 93       	st	Z+, r21
     2fe:	02 97       	sbiw	r24, 0x02	; 2
     300:	8d 93       	st	X+, r24
     302:	9c 93       	st	X, r25
     304:	9f 01       	movw	r18, r30
     306:	40 c0       	rjmp	.+128    	; 0x388 <malloc+0x148>
     308:	fd 01       	movw	r30, r26
     30a:	a2 81       	ldd	r26, Z+2	; 0x02
     30c:	b3 81       	ldd	r27, Z+3	; 0x03
     30e:	10 97       	sbiw	r26, 0x00	; 0
     310:	b1 f6       	brne	.-84     	; 0x2be <malloc+0x7e>
     312:	80 91 8a 01 	lds	r24, 0x018A
     316:	90 91 8b 01 	lds	r25, 0x018B
     31a:	89 2b       	or	r24, r25
     31c:	41 f4       	brne	.+16     	; 0x32e <malloc+0xee>
     31e:	80 91 85 00 	lds	r24, 0x0085
     322:	90 91 86 00 	lds	r25, 0x0086
     326:	90 93 8b 01 	sts	0x018B, r25
     32a:	80 93 8a 01 	sts	0x018A, r24
     32e:	20 91 87 00 	lds	r18, 0x0087
     332:	30 91 88 00 	lds	r19, 0x0088
     336:	21 15       	cp	r18, r1
     338:	31 05       	cpc	r19, r1
     33a:	49 f4       	brne	.+18     	; 0x34e <malloc+0x10e>
     33c:	8d b7       	in	r24, 0x3d	; 61
     33e:	28 2f       	mov	r18, r24
     340:	30 e0       	ldi	r19, 0x00	; 0
     342:	80 91 83 00 	lds	r24, 0x0083
     346:	90 91 84 00 	lds	r25, 0x0084
     34a:	28 1b       	sub	r18, r24
     34c:	39 0b       	sbc	r19, r25
     34e:	a0 91 8a 01 	lds	r26, 0x018A
     352:	b0 91 8b 01 	lds	r27, 0x018B
     356:	2a 1b       	sub	r18, r26
     358:	3b 0b       	sbc	r19, r27
     35a:	24 17       	cp	r18, r20
     35c:	35 07       	cpc	r19, r21
     35e:	90 f0       	brcs	.+36     	; 0x384 <malloc+0x144>
     360:	ca 01       	movw	r24, r20
     362:	02 96       	adiw	r24, 0x02	; 2
     364:	28 17       	cp	r18, r24
     366:	39 07       	cpc	r19, r25
     368:	68 f0       	brcs	.+26     	; 0x384 <malloc+0x144>
     36a:	9d 01       	movw	r18, r26
     36c:	2e 5f       	subi	r18, 0xFE	; 254
     36e:	3f 4f       	sbci	r19, 0xFF	; 255
     370:	c9 01       	movw	r24, r18
     372:	84 0f       	add	r24, r20
     374:	95 1f       	adc	r25, r21
     376:	90 93 8b 01 	sts	0x018B, r25
     37a:	80 93 8a 01 	sts	0x018A, r24
     37e:	4d 93       	st	X+, r20
     380:	5c 93       	st	X, r21
     382:	02 c0       	rjmp	.+4      	; 0x388 <malloc+0x148>
     384:	20 e0       	ldi	r18, 0x00	; 0
     386:	30 e0       	ldi	r19, 0x00	; 0
     388:	c9 01       	movw	r24, r18
     38a:	df 91       	pop	r29
     38c:	cf 91       	pop	r28
     38e:	08 95       	ret

00000390 <free>:
     390:	cf 93       	push	r28
     392:	df 93       	push	r29
     394:	00 97       	sbiw	r24, 0x00	; 0
     396:	09 f4       	brne	.+2      	; 0x39a <free+0xa>
     398:	4e c0       	rjmp	.+156    	; 0x436 <free+0xa6>
     39a:	ec 01       	movw	r28, r24
     39c:	22 97       	sbiw	r28, 0x02	; 2
     39e:	1b 82       	std	Y+3, r1	; 0x03
     3a0:	1a 82       	std	Y+2, r1	; 0x02
     3a2:	a0 91 8c 01 	lds	r26, 0x018C
     3a6:	b0 91 8d 01 	lds	r27, 0x018D
     3aa:	10 97       	sbiw	r26, 0x00	; 0
     3ac:	11 f1       	breq	.+68     	; 0x3f2 <free+0x62>
     3ae:	40 e0       	ldi	r20, 0x00	; 0
     3b0:	50 e0       	ldi	r21, 0x00	; 0
     3b2:	01 c0       	rjmp	.+2      	; 0x3b6 <free+0x26>
     3b4:	dc 01       	movw	r26, r24
     3b6:	ac 17       	cp	r26, r28
     3b8:	bd 07       	cpc	r27, r29
     3ba:	00 f1       	brcs	.+64     	; 0x3fc <free+0x6c>
     3bc:	bb 83       	std	Y+3, r27	; 0x03
     3be:	aa 83       	std	Y+2, r26	; 0x02
     3c0:	fe 01       	movw	r30, r28
     3c2:	21 91       	ld	r18, Z+
     3c4:	31 91       	ld	r19, Z+
     3c6:	e2 0f       	add	r30, r18
     3c8:	f3 1f       	adc	r31, r19
     3ca:	ea 17       	cp	r30, r26
     3cc:	fb 07       	cpc	r31, r27
     3ce:	71 f4       	brne	.+28     	; 0x3ec <free+0x5c>
     3d0:	8d 91       	ld	r24, X+
     3d2:	9c 91       	ld	r25, X
     3d4:	11 97       	sbiw	r26, 0x01	; 1
     3d6:	28 0f       	add	r18, r24
     3d8:	39 1f       	adc	r19, r25
     3da:	2e 5f       	subi	r18, 0xFE	; 254
     3dc:	3f 4f       	sbci	r19, 0xFF	; 255
     3de:	39 83       	std	Y+1, r19	; 0x01
     3e0:	28 83       	st	Y, r18
     3e2:	fd 01       	movw	r30, r26
     3e4:	82 81       	ldd	r24, Z+2	; 0x02
     3e6:	93 81       	ldd	r25, Z+3	; 0x03
     3e8:	9b 83       	std	Y+3, r25	; 0x03
     3ea:	8a 83       	std	Y+2, r24	; 0x02
     3ec:	41 15       	cp	r20, r1
     3ee:	51 05       	cpc	r21, r1
     3f0:	59 f4       	brne	.+22     	; 0x408 <free+0x78>
     3f2:	d0 93 8d 01 	sts	0x018D, r29
     3f6:	c0 93 8c 01 	sts	0x018C, r28
     3fa:	1d c0       	rjmp	.+58     	; 0x436 <free+0xa6>
     3fc:	fd 01       	movw	r30, r26
     3fe:	82 81       	ldd	r24, Z+2	; 0x02
     400:	93 81       	ldd	r25, Z+3	; 0x03
     402:	ad 01       	movw	r20, r26
     404:	00 97       	sbiw	r24, 0x00	; 0
     406:	b1 f6       	brne	.-84     	; 0x3b4 <free+0x24>
     408:	fa 01       	movw	r30, r20
     40a:	d3 83       	std	Z+3, r29	; 0x03
     40c:	c2 83       	std	Z+2, r28	; 0x02
     40e:	21 91       	ld	r18, Z+
     410:	31 91       	ld	r19, Z+
     412:	e2 0f       	add	r30, r18
     414:	f3 1f       	adc	r31, r19
     416:	ec 17       	cp	r30, r28
     418:	fd 07       	cpc	r31, r29
     41a:	69 f4       	brne	.+26     	; 0x436 <free+0xa6>
     41c:	88 81       	ld	r24, Y
     41e:	99 81       	ldd	r25, Y+1	; 0x01
     420:	28 0f       	add	r18, r24
     422:	39 1f       	adc	r19, r25
     424:	2e 5f       	subi	r18, 0xFE	; 254
     426:	3f 4f       	sbci	r19, 0xFF	; 255
     428:	fa 01       	movw	r30, r20
     42a:	31 83       	std	Z+1, r19	; 0x01
     42c:	20 83       	st	Z, r18
     42e:	8a 81       	ldd	r24, Y+2	; 0x02
     430:	9b 81       	ldd	r25, Y+3	; 0x03
     432:	93 83       	std	Z+3, r25	; 0x03
     434:	82 83       	std	Z+2, r24	; 0x02
     436:	df 91       	pop	r29
     438:	cf 91       	pop	r28
     43a:	08 95       	ret

0000043c <printf>:
     43c:	a2 e0       	ldi	r26, 0x02	; 2
     43e:	b0 e0       	ldi	r27, 0x00	; 0
     440:	e4 e2       	ldi	r30, 0x24	; 36
     442:	f2 e0       	ldi	r31, 0x02	; 2
     444:	0c 94 f7 07 	jmp	0xfee	; 0xfee <__prologue_saves__+0x20>
     448:	fe 01       	movw	r30, r28
     44a:	37 96       	adiw	r30, 0x07	; 7
     44c:	61 91       	ld	r22, Z+
     44e:	71 91       	ld	r23, Z+
     450:	fa 83       	std	Y+2, r31	; 0x02
     452:	e9 83       	std	Y+1, r30	; 0x01
     454:	af 01       	movw	r20, r30
     456:	80 91 90 01 	lds	r24, 0x0190
     45a:	90 91 91 01 	lds	r25, 0x0191
     45e:	0e 94 4c 02 	call	0x498	; 0x498 <vfprintf>
     462:	e2 e0       	ldi	r30, 0x02	; 2
     464:	22 96       	adiw	r28, 0x02	; 2
     466:	0c 94 13 08 	jmp	0x1026	; 0x1026 <__epilogue_restores__+0x20>

0000046a <scanf>:
     46a:	a2 e0       	ldi	r26, 0x02	; 2
     46c:	b0 e0       	ldi	r27, 0x00	; 0
     46e:	eb e3       	ldi	r30, 0x3B	; 59
     470:	f2 e0       	ldi	r31, 0x02	; 2
     472:	0c 94 f7 07 	jmp	0xfee	; 0xfee <__prologue_saves__+0x20>
     476:	fe 01       	movw	r30, r28
     478:	37 96       	adiw	r30, 0x07	; 7
     47a:	61 91       	ld	r22, Z+
     47c:	71 91       	ld	r23, Z+
     47e:	fa 83       	std	Y+2, r31	; 0x02
     480:	e9 83       	std	Y+1, r30	; 0x01
     482:	af 01       	movw	r20, r30
     484:	80 91 8e 01 	lds	r24, 0x018E
     488:	90 91 8f 01 	lds	r25, 0x018F
     48c:	0e 94 44 04 	call	0x888	; 0x888 <vfscanf>
     490:	e2 e0       	ldi	r30, 0x02	; 2
     492:	22 96       	adiw	r28, 0x02	; 2
     494:	0c 94 13 08 	jmp	0x1026	; 0x1026 <__epilogue_restores__+0x20>

00000498 <vfprintf>:
     498:	2f 92       	push	r2
     49a:	3f 92       	push	r3
     49c:	5f 92       	push	r5
     49e:	6f 92       	push	r6
     4a0:	7f 92       	push	r7
     4a2:	8f 92       	push	r8
     4a4:	9f 92       	push	r9
     4a6:	af 92       	push	r10
     4a8:	bf 92       	push	r11
     4aa:	cf 92       	push	r12
     4ac:	df 92       	push	r13
     4ae:	ef 92       	push	r14
     4b0:	ff 92       	push	r15
     4b2:	0f 93       	push	r16
     4b4:	1f 93       	push	r17
     4b6:	cf 93       	push	r28
     4b8:	df 93       	push	r29
     4ba:	cd b7       	in	r28, 0x3d	; 61
     4bc:	de b7       	in	r29, 0x3e	; 62

⌨️ 快捷键说明

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