Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 walter 1
   1               		.file	"uart.c"
2
   2               		.arch atmega8
3
   3               	__SREG__ = 0x3f
4
   4               	__SP_H__ = 0x3e
5
   5               	__SP_L__ = 0x3d
6
   6               	__tmp_reg__ = 0
7
   7               	__zero_reg__ = 1
8
   8               		.global __do_copy_data
9
   9               		.global __do_clear_bss
10
  17               	.Ltext0:
11
  18               	.global	uart_putchar
12
  20               	uart_putchar:
13
  21               	.LFB11:
14
  22               	.LM1:
15
  23               	/* prologue: frame size=0 */
16
  24 0000 1F93      		push r17
17
  25               	/* prologue end (size=1) */
18
  26               	.LVL0:
19
  27 0002 182F      		mov r17,r24
20
  28               	.LM2:
21
  29 0004 8A30      		cpi r24,lo8(10)
22
  30 0006 01F4      		brne .L6
23
  31               	.LM3:
24
  32 0008 8DE0      		ldi r24,lo8(13)
25
  33               	.LVL1:
26
  34 000a 00D0      		rcall uart_putchar
27
  35               	.LVL2:
28
  36               	.L6:
29
  37               	.LM4:
30
  38 000c 5D9B      		sbis 43-0x20,5
31
  39 000e 00C0      		rjmp .L6
32
  40               	.LM5:
33
  41 0010 1CB9      		out 44-0x20,r17
34
  42               	.LM6:
35
  43 0012 80E0      		ldi r24,lo8(0)
36
  44 0014 90E0      		ldi r25,hi8(0)
37
  45               	/* epilogue: frame size=0 */
38
  46 0016 1F91      		pop r17
39
  47 0018 0895      		ret
40
  48               	/* epilogue end (size=2) */
41
  49               	/* function uart_putchar size 13 (10) */
42
  50               	.LFE11:
43
  52               	.global	StartUART
44
  54               	StartUART:
45
  55               	.LFB10:
46
  56               	.LM7:
47
  57               	/* prologue: frame size=0 */
48
  58               	/* prologue end (size=0) */
49
  59               	.LM8:
50
  60 001a 599A      		sbi 43-0x20,1
51
  61               	.LM9:
52
  62 001c 88E1      		ldi r24,lo8(24)
53
  63 001e 8AB9      		out 42-0x20,r24
54
  64               	.LM10:
55
  65 0020 86E8      		ldi r24,lo8(-122)
56
  66 0022 80BD      		out 64-0x20,r24
57
  67               	.LM11:
58
  68 0024 89E1      		ldi r24,lo8(25)
59
  69 0026 89B9      		out 41-0x20,r24
60
  70               	.LM12:
61
  71 0028 60E0      		ldi r22,lo8(0)
62
  72 002a 70E0      		ldi r23,hi8(0)
63
  73 002c 80E0      		ldi r24,lo8(gs(uart_putchar))
64
  74 002e 90E0      		ldi r25,hi8(gs(uart_putchar))
65
  75 0030 00D0      		rcall fdevopen
66
  76               	/* epilogue: frame size=0 */
67
  77 0032 0895      		ret
68
  78               	/* epilogue end (size=1) */
69
  79               	/* function StartUART size 13 (12) */
70
  80               	.LFE10:
71
 114               	.Letext0:
72
DEFINED SYMBOLS
73
                            *ABS*:00000000 uart.c
74
C:\DOKUME~1\Walter\LOKALE~1\Temp/cc7eMCxh.s:3      *ABS*:0000003f __SREG__
75
C:\DOKUME~1\Walter\LOKALE~1\Temp/cc7eMCxh.s:4      *ABS*:0000003e __SP_H__
76
C:\DOKUME~1\Walter\LOKALE~1\Temp/cc7eMCxh.s:5      *ABS*:0000003d __SP_L__
77
C:\DOKUME~1\Walter\LOKALE~1\Temp/cc7eMCxh.s:6      *ABS*:00000000 __tmp_reg__
78
C:\DOKUME~1\Walter\LOKALE~1\Temp/cc7eMCxh.s:7      *ABS*:00000001 __zero_reg__
79
C:\DOKUME~1\Walter\LOKALE~1\Temp/cc7eMCxh.s:20     .text:00000000 uart_putchar
80
C:\DOKUME~1\Walter\LOKALE~1\Temp/cc7eMCxh.s:54     .text:0000001a StartUART
81
 
82
UNDEFINED SYMBOLS
83
__do_copy_data
84
__do_clear_bss
85
fdevopen