654272096bc769e35e9371d1caab1fc05a5c783d
[matches/honours.git] / dac.lst
1    1                            .file   "dac.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.DAC_Init,"ax",@progbits
10   17                    .global DAC_Init
11   19                    DAC_Init:
12   20                    .LFB2:
13   21                    .LSM0:
14   22                    /* prologue: function */
15   23                    /* frame size = 0 */
16   24                    .LSM1:
17   25 0000 8FEB                  ldi r24,lo8(-65)
18   26 0002 84B9                  out 36-32,r24
19   27                    .LSM2:
20   28 0004 8FEF                  ldi r24,lo8(-1)
21   29 0006 85B9                  out 37-32,r24
22   30                    .LSM3:
23   31 0008 86E5                  ldi r24,lo8(86)
24   32 000a 85B9                  out 37-32,r24
25   33                    /* epilogue start */
26   34                    .LSM4:
27   35 000c 0895                  ret
28   36                    .LFE2:
29   38                            .section        .text.DAC_Set,"ax",@progbits
30   39                    .global DAC_Set
31   41                    DAC_Set:
32   42                    .LFB3:
33   43                    .LSM5:
34   44                    .LVL0:
35   45 0000 CF93                  push r28
36   46 0002 DF93                  push r29
37   47                    /* prologue: function */
38   48                    /* frame size = 0 */
39   49 0004 EC01                  movw r28,r24
40   50                    .LSM6:
41   51 0006 0E94 0000             call DAC_Init
42   52                    .LVL1:
43   53                    .L4:
44   54                    .LSM7:
45   55 000a 2B99                  sbic 37-32,3
46   56 000c 00C0                  rjmp .L4
47   57                    .LSM8:
48   58 000e 85B1                  in r24,37-32
49   59 0010 8660                  ori r24,lo8(6)
50   60 0012 85B9                  out 37-32,r24
51   61                    .L5:
52   62                    .LSM9:
53   63 0014 2B9B                  sbis 37-32,3
54   64 0016 00C0                  rjmp .L5
55   65                    .L37:
56   66                    .LSM10:
57   67 0018 2B99                  sbic 37-32,3
58   68 001a 00C0                  rjmp .L37
59   69                    .LSM11:
60   70 001c 2998                  cbi 37-32,1
61   71                    .LSM12:
62   72 001e 2898                  cbi 37-32,0
63   73                    .L7:
64   74                    .LSM13:
65   75 0020 2B9B                  sbis 37-32,3
66   76 0022 00C0                  rjmp .L7
67   77                    .L36:
68   78                    .LSM14:
69   79 0024 2B99                  sbic 37-32,3
70   80 0026 00C0                  rjmp .L36
71   81                    .LSM15:
72   82 0028 289A                  sbi 37-32,0
73   83                    .L9:
74   84                    .LSM16:
75   85 002a 2B9B                  sbis 37-32,3
76   86 002c 00C0                  rjmp .L9
77   87                    .L35:
78   88                    .LSM17:
79   89 002e 2B99                  sbic 37-32,3
80   90 0030 00C0                  rjmp .L35
81   91                    .LSM18:
82   92 0032 80E1                  ldi r24,hi8(4096)
83   93 0034 C030                  cpi r28,lo8(4096)
84   94 0036 D807                  cpc r29,r24
85   95 0038 04F0                  brlt .L11
86   96                    .LSM19:
87   97 003a 2898                  cbi 37-32,0
88   98                    .LSM20:
89   99 003c D595                  asr r29
90  100 003e C795                  ror r28
91  101 0040 00C0                  rjmp .L34
92  102                    .L11:
93  103                    .LSM21:
94  104 0042 289A                  sbi 37-32,0
95  105                    .L34:
96  106                    .LSM22:
97  107 0044 2B9B                  sbis 37-32,3
98  108 0046 00C0                  rjmp .L34
99  109                    .L33:
100  110                    .LSM23:
101  111 0048 2B99                  sbic 37-32,3
102  112 004a 00C0                  rjmp .L33
103  113                    .LSM24:
104  114 004c 289A                  sbi 37-32,0
105  115                    .L14:
106  116                    .LSM25:
107  117 004e 2B9B                  sbis 37-32,3
108  118 0050 00C0                  rjmp .L14
109  119                    .L32:
110  120                    .LSM26:
111  121 0052 2B99                  sbic 37-32,3
112  122 0054 00C0                  rjmp .L32
113  123 0056 2BE0                  ldi r18,lo8(11)
114  124 0058 30E0                  ldi r19,hi8(11)
115  125                    .L19:
116  126                    .LBB2:
117  127                    .LSM27:
118  128 005a CE01                  movw r24,r28
119  129 005c 022E                  mov r0,r18
120  130 005e 00C0                  rjmp 2f
121  131 0060 9595          1:      asr r25
122  132 0062 8795                  ror r24
123  133 0064 0A94          2:      dec r0
124  134 0066 02F4                  brpl 1b
125  135 0068 80FD                  sbrc r24,0
126  136 006a 00C0                  rjmp .L16
127  137                    .LSM28:
128  138 006c 2898                  cbi 37-32,0
129  139 006e 00C0                  rjmp .L31
130  140                    .L16:
131  141                    .LSM29:
132  142 0070 289A                  sbi 37-32,0
133  143                    .L31:
134  144                    .LSM30:
135  145 0072 2B9B                  sbis 37-32,3
136  146 0074 00C0                  rjmp .L31
137  147                    .L30:
138  148                    .LSM31:
139  149 0076 2B99                  sbic 37-32,3
140  150 0078 00C0                  rjmp .L30
141  151 007a 2150                  subi r18,lo8(-(-1))
142  152 007c 3040                  sbci r19,hi8(-(-1))
143  153                    .LSM32:
144  154 007e 8FEF                  ldi r24,hi8(-1)
145  155 0080 2F3F                  cpi r18,lo8(-1)
146  156 0082 3807                  cpc r19,r24
147  157 0084 01F4                  brne .L19
148  158                    .LBE2:
149  159                    .LSM33:
150  160 0086 299A                  sbi 37-32,1
151  161                    .L20:
152  162                    .LSM34:
153  163 0088 2B9B                  sbis 37-32,3
154  164 008a 00C0                  rjmp .L20
155  165                    .L29:
156  166                    .LSM35:
157  167 008c 2B99                  sbic 37-32,3
158  168 008e 00C0                  rjmp .L29
159  169                    .LSM36:
160  170 0090 2A98                  cbi 37-32,2
161  171                    .L22:
162  172                    .LSM37:
163  173 0092 2B9B                  sbis 37-32,3
164  174 0094 00C0                  rjmp .L22
165  175                    .L28:
166  176                    .LSM38:
167  177 0096 2B99                  sbic 37-32,3
168  178 0098 00C0                  rjmp .L28
169  179                    .LSM39:
170  180 009a 2A9A                  sbi 37-32,2
171  181                    .L24:
172  182                    .LSM40:
173  183 009c 2B9B                  sbis 37-32,3
174  184 009e 00C0                  rjmp .L24
175  185                    .L27:
176  186                    .LSM41:
177  187 00a0 2B99                  sbic 37-32,3
178  188 00a2 00C0                  rjmp .L27
179  189                    /* epilogue start */
180  190                    .LSM42:
181  191 00a4 DF91                  pop r29
182  192 00a6 CF91                  pop r28
183  193                    .LVL2:
184  194 00a8 0895                  ret
185  195                    .LFE3:
186  229                    .Letext0:
187 DEFINED SYMBOLS
188                             *ABS*:0000000000000000 dac.c
189      /tmp/cc3kAUPa.s:2      *ABS*:000000000000003f __SREG__
190      /tmp/cc3kAUPa.s:3      *ABS*:000000000000003e __SP_H__
191      /tmp/cc3kAUPa.s:4      *ABS*:000000000000003d __SP_L__
192      /tmp/cc3kAUPa.s:5      *ABS*:0000000000000034 __CCP__
193      /tmp/cc3kAUPa.s:6      *ABS*:0000000000000000 __tmp_reg__
194      /tmp/cc3kAUPa.s:7      *ABS*:0000000000000001 __zero_reg__
195      /tmp/cc3kAUPa.s:19     .text.DAC_Init:0000000000000000 DAC_Init
196      /tmp/cc3kAUPa.s:41     .text.DAC_Set:0000000000000000 DAC_Set
197
198 NO UNDEFINED SYMBOLS

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