Automatic commit. Mon Aug 6 20:00:05 WST 2012
[matches/honours.git] / research / TCS / apparatus / source_code / usart.lst
1    1                            .file   "usart.c"
2    2                    __SREG__ = 0x3f
3    3                    __SP_H__ = 0x3e
4    4                    __SP_L__ = 0x3d
5    5                    __CCP__  = 0x34
6    6                    __tmp_reg__ = 0
7    7                    __zero_reg__ = 1
8   15                    .Ltext0:
9   16                            .section        .text.USART_Init,"ax",@progbits
10   17                    .global USART_Init
11   19                    USART_Init:
12   20                    .LFB2:
13   21                    .LSM0:
14   22                    .LVL0:
15   23                    /* prologue: function */
16   24                    /* frame size = 0 */
17   25                    .LSM1:
18   26 0000 292F                  mov r18,r25
19   27 0002 3327                  clr r19
20   28 0004 2093 C500             sts 197,r18
21   29                    .LSM2:
22   30 0008 8093 C400             sts 196,r24
23   31                    .LSM3:
24   32 000c 1092 C000             sts 192,__zero_reg__
25   33                    .LSM4:
26   34 0010 88E1                  ldi r24,lo8(24)
27   35                    .LVL1:
28   36 0012 8093 C100             sts 193,r24
29   37                    .LSM5:
30   38 0016 86E0                  ldi r24,lo8(6)
31   39 0018 8093 C200             sts 194,r24
32   40                    /* epilogue start */
33   41                    .LSM6:
34   42 001c 0895                  ret
35   43                    .LFE2:
36   45                            .section        .text.USART_Tx,"ax",@progbits
37   46                    .global USART_Tx
38   48                    USART_Tx:
39   49                    .LFB3:
40   50                    .LSM7:
41   51                    .LVL2:
42   52                    /* prologue: function */
43   53                    /* frame size = 0 */
44   54 0000 982F                  mov r25,r24
45   55                    .LSM8:
46   56 0002 2E9A                  sbi 37-32,6
47   57                    .LVL3:
48   58                    .L4:
49   59                    .LSM9:
50   60 0004 8091 C000             lds r24,192
51   61 0008 85FF                  sbrs r24,5
52   62 000a 00C0                  rjmp .L4
53   63                    .LSM10:
54   64 000c 9093 C600             sts 198,r25
55   65                    /* epilogue start */
56   66                    .LSM11:
57   67 0010 0895                  ret
58   68                    .LFE3:
59   70                            .section        .text.USART_Rx,"ax",@progbits
60   71                    .global USART_Rx
61   73                    USART_Rx:
62   74                    .LFB4:
63   75                    .LSM12:
64   76                    /* prologue: function */
65   77                    /* frame size = 0 */
66   78                    .LSM13:
67   79 0000 2F9A                  sbi 37-32,7
68   80                    .L8:
69   81                    .LSM14:
70   82 0002 8091 C000             lds r24,192
71   83 0006 87FF                  sbrs r24,7
72   84 0008 00C0                  rjmp .L8
73   85                    .LSM15:
74   86 000a 8091 C600             lds r24,198
75   87                    /* epilogue start */
76   88                    .LSM16:
77   89 000e 0895                  ret
78   90                    .LFE4:
79   92                            .section        .text.USART_Poll,"ax",@progbits
80   93                    .global USART_Poll
81   95                    USART_Poll:
82   96                    .LFB5:
83   97                    .LSM17:
84   98                    /* prologue: function */
85   99                    /* frame size = 0 */
86  100                    .LSM18:
87  101 0000 8091 C000             lds r24,192
88  102 0004 87FD                  sbrc r24,7
89  103 0006 00C0                  rjmp .L12
90  104 0008 80E0                  ldi r24,lo8(0)
91  105 000a 0895                  ret
92  106                    .L12:
93  107                    .LSM19:
94  108 000c 8091 C600             lds r24,198
95  109                    .LSM20:
96  110 0010 0895                  ret
97  111                    .LFE5:
98  113                            .section        .text.USART_printf,"ax",@progbits
99  114                    .global USART_printf
100  116                    USART_printf:
101  117                    .LFB6:
102  118                    .LSM21:
103  119                    .LVL4:
104  120 0000 EF92                  push r14
105  121 0002 FF92                  push r15
106  122 0004 0F93                  push r16
107  123 0006 1F93                  push r17
108  124 0008 DF93                  push r29
109  125 000a CF93                  push r28
110  126 000c CDB7                  in r28,__SP_L__
111  127 000e DEB7                  in r29,__SP_H__
112  128 0010 C055                  subi r28,lo8(-(-80))
113  129 0012 D040                  sbci r29,hi8(-(-80))
114  130 0014 0FB6                  in __tmp_reg__,__SREG__
115  131 0016 F894                  cli
116  132 0018 DEBF                  out __SP_H__,r29
117  133 001a 0FBE                  out __SREG__,__tmp_reg__
118  134 001c CDBF                  out __SP_L__,r28
119  135                    /* prologue: function */
120  136                    /* frame size = 80 */
121  137 001e FE01                  movw r30,r28
122  138 0020 E75A                  subi r30,lo8(-(89))
123  139 0022 FF4F                  sbci r31,hi8(-(89))
124  140 0024 6191                  ld r22,Z+
125  141 0026 7191                  ld r23,Z+
126  142                    .LSM22:
127  143 0028 8E01                  movw r16,r28
128  144 002a 0F5F                  subi r16,lo8(-(1))
129  145 002c 1F4F                  sbci r17,hi8(-(1))
130  146 002e C801                  movw r24,r16
131  147 0030 AF01                  movw r20,r30
132  148 0032 0E94 0000             call vsprintf
133  149 0036 7C01                  movw r14,r24
134  150                    .LVL5:
135  151 0038 00C0                  rjmp .L16
136  152                    .LVL6:
137  153                    .L17:
138  154                    .LBB2:
139  155                    .LSM23:
140  156 003a 0E94 0000             call USART_Tx
141  157                    .LSM24:
142  158 003e 0F5F                  subi r16,lo8(-(1))
143  159 0040 1F4F                  sbci r17,hi8(-(1))
144  160                    .L16:
145  161 0042 F801                  movw r30,r16
146  162 0044 8081                  ld r24,Z
147  163 0046 8823                  tst r24
148  164 0048 01F4                  brne .L17
149  165                    .LBE2:
150  166                    .LSM25:
151  167 004a C701                  movw r24,r14
152  168                    /* epilogue start */
153  169 004c C05B                  subi r28,lo8(-(80))
154  170 004e DF4F                  sbci r29,hi8(-(80))
155  171 0050 0FB6                  in __tmp_reg__,__SREG__
156  172 0052 F894                  cli
157  173 0054 DEBF                  out __SP_H__,r29
158  174 0056 0FBE                  out __SREG__,__tmp_reg__
159  175 0058 CDBF                  out __SP_L__,r28
160  176 005a CF91                  pop r28
161  177 005c DF91                  pop r29
162  178 005e 1F91                  pop r17
163  179 0060 0F91                  pop r16
164  180                    .LVL7:
165  181 0062 FF90                  pop r15
166  182 0064 EF90                  pop r14
167  183                    .LVL8:
168  184 0066 0895                  ret
169  185                    .LFE6:
170  243                    .Letext0:
171 DEFINED SYMBOLS
172                             *ABS*:0000000000000000 usart.c
173      /tmp/cchWJ3Ev.s:2      *ABS*:000000000000003f __SREG__
174      /tmp/cchWJ3Ev.s:3      *ABS*:000000000000003e __SP_H__
175      /tmp/cchWJ3Ev.s:4      *ABS*:000000000000003d __SP_L__
176      /tmp/cchWJ3Ev.s:5      *ABS*:0000000000000034 __CCP__
177      /tmp/cchWJ3Ev.s:6      *ABS*:0000000000000000 __tmp_reg__
178      /tmp/cchWJ3Ev.s:7      *ABS*:0000000000000001 __zero_reg__
179      /tmp/cchWJ3Ev.s:19     .text.USART_Init:0000000000000000 USART_Init
180      /tmp/cchWJ3Ev.s:48     .text.USART_Tx:0000000000000000 USART_Tx
181      /tmp/cchWJ3Ev.s:73     .text.USART_Rx:0000000000000000 USART_Rx
182      /tmp/cchWJ3Ev.s:95     .text.USART_Poll:0000000000000000 USART_Poll
183      /tmp/cchWJ3Ev.s:116    .text.USART_printf:0000000000000000 USART_printf
184
185 UNDEFINED SYMBOLS
186 vsprintf

UCC git Repository :: git.ucc.asn.au