Subversion Repositories FlightCtrl

Rev

Blame | Last modification | View Log | RSS feed

   1                            .file   "timer0.c"
   2                    __SREG__ = 0x3f
   3                    __SP_H__ = 0x3e
   4                    __SP_L__ = 0x3d
   5                    __CCP__  = 0x34
   6                    __tmp_reg__ = 0
   7                    __zero_reg__ = 1
   8                            .text
   9                    .global TIMER0_Init
  11                    TIMER0_Init:
  12                    /* prologue: function */
  13                    /* frame size = 0 */
  14 0000 9FB7                  in r25,__SREG__
  15                    /* #APP */
  16                     ;  93 "timer0.c" 1
  17 0002 F894                  cli
  18                     ;  0 "" 2
  19                    /* #NOAPP */
  20 0004 8091 0000             lds r24,BoardRelease
  21 0008 8A30                  cpi r24,lo8(10)
  22 000a 01F0                  breq .L6
  23 000c 3F9A                  sbi 39-32,7
  24 000e 4798                  cbi 40-32,7
  25                    .L3:
  26 0010 84B1                  in r24,36-32
  27 0012 8861                  ori r24,lo8(24)
  28 0014 84B9                  out 36-32,r24
  29 0016 85B1                  in r24,37-32
  30 0018 877E                  andi r24,lo8(-25)
  31 001a 85B9                  out 37-32,r24
  32 001c 84B5                  in r24,68-32
  33 001e 8F7A                  andi r24,lo8(-81)
  34 0020 84BD                  out 68-32,r24
  35 0022 84B5                  in r24,68-32
  36 0024 836A                  ori r24,lo8(-93)
  37 0026 84BD                  out 68-32,r24
  38 0028 85B5                  in r24,69-32
  39 002a 8773                  andi r24,lo8(55)
  40 002c 85BD                  out 69-32,r24
  41 002e 85B5                  in r24,69-32
  42 0030 887F                  andi r24,lo8(-8)
  43 0032 8260                  ori r24,lo8(2)
  44 0034 85BD                  out 69-32,r24
  45 0036 17BC                  out 71-32,__zero_reg__
  46 0038 88E7                  ldi r24,lo8(120)
  47 003a 88BD                  out 72-32,r24
  48 003c 16BC                  out 70-32,__zero_reg__
  49 003e 8091 6E00             lds r24,110
  50 0042 897F                  andi r24,lo8(-7)
  51 0044 8093 6E00             sts 110,r24
  52 0048 8091 6E00             lds r24,110
  53 004c 8160                  ori r24,lo8(1)
  54 004e 8093 6E00             sts 110,r24
  55 0052 9FBF                  out __SREG__,r25
  56                    /* epilogue start */
  57 0054 0895                  ret
  58                    .L6:
  59 0056 529A                  sbi 42-32,2
  60 0058 5A98                  cbi 43-32,2
  61 005a 00C0                  rjmp .L3
  63                    .global __vector_18
  65                    __vector_18:
  66 005c 1F92                  push __zero_reg__
  67 005e 0F92                  push r0
  68 0060 0FB6                  in r0,__SREG__
  69 0062 0F92                  push r0
  70 0064 1124                  clr __zero_reg__
  71 0066 2F93                  push r18
  72 0068 3F93                  push r19
  73 006a 8F93                  push r24
  74 006c 9F93                  push r25
  75                    /* prologue: Signal */
  76                    /* frame size = 0 */
  77 006e 8091 0000             lds r24,SendSPI
  78 0072 8823                  tst r24
  79 0074 01F0                  breq .L8
  80 0076 8091 0000             lds r24,SendSPI
  81 007a 8150                  subi r24,lo8(-(-1))
  82 007c 8093 0000             sts SendSPI,r24
  83                    .L8:
  84 0080 8091 0000             lds r24,cnt.1520
  85 0084 8150                  subi r24,lo8(-(-1))
  86 0086 8093 0000             sts cnt.1520,r24
  87 008a 8F5F                  subi r24,lo8(-(1))
  88 008c 01F4                  brne .L9
  89 008e 89E0                  ldi r24,lo8(9)
  90 0090 8093 0000             sts cnt.1520,r24
  91 0094 8091 0000             lds r24,cnt_1ms.1519
  92 0098 8F5F                  subi r24,lo8(-(1))
  93 009a 8170                  andi r24,lo8(1)
  94 009c 8093 0000             sts cnt_1ms.1519,r24
  95 00a0 8823                  tst r24
  96 00a2 01F0                  breq .L22
  97                    .L10:
  98 00a4 8091 0000             lds r24,CountMilliseconds
  99 00a8 9091 0000             lds r25,(CountMilliseconds)+1
 100 00ac 0196                  adiw r24,1
 101 00ae 9093 0000             sts (CountMilliseconds)+1,r25
 102 00b2 8093 0000             sts CountMilliseconds,r24
 103                    .L9:
 104 00b6 8091 0000             lds r24,BeepTime
 105 00ba 9091 0000             lds r25,(BeepTime)+1
 106 00be 892B                  or r24,r25
 107 00c0 01F0                  breq .L11
 108 00c2 8091 0000             lds r24,BeepTime
 109 00c6 9091 0000             lds r25,(BeepTime)+1
 110 00ca 0197                  sbiw r24,1
 111 00cc 9093 0000             sts (BeepTime)+1,r25
 112 00d0 8093 0000             sts BeepTime,r24
 113 00d4 2091 0000             lds r18,BeepTime
 114 00d8 3091 0000             lds r19,(BeepTime)+1
 115 00dc 8091 0000             lds r24,BeepModulation
 116 00e0 9091 0000             lds r25,(BeepModulation)+1
 117 00e4 8223                  and r24,r18
 118 00e6 9323                  and r25,r19
 119 00e8 892B                  or r24,r25
 120 00ea 01F0                  breq .L13
 121 00ec 8091 0000             lds r24,BoardRelease
 122 00f0 8A30                  cpi r24,lo8(10)
 123 00f2 01F0                  breq .L23
 124 00f4 479A                  sbi 40-32,7
 125 00f6 00C0                  rjmp .L19
 126                    .L11:
 127 00f8 8FEF                  ldi r24,lo8(-1)
 128 00fa 9FEF                  ldi r25,hi8(-1)
 129 00fc 9093 0000             sts (BeepModulation)+1,r25
 130 0100 8093 0000             sts BeepModulation,r24
 131                    .L13:
 132 0104 8091 0000             lds r24,BoardRelease
 133 0108 8A30                  cpi r24,lo8(10)
 134 010a 01F0                  breq .L24
 135 010c 4798                  cbi 40-32,7
 136                    .L19:
 137                    /* epilogue start */
 138 010e 9F91                  pop r25
 139 0110 8F91                  pop r24
 140 0112 3F91                  pop r19
 141 0114 2F91                  pop r18
 142 0116 0F90                  pop r0
 143 0118 0FBE                  out __SREG__,r0
 144 011a 0F90                  pop r0
 145 011c 1F90                  pop __zero_reg__
 146 011e 1895                  reti
 147                    .L22:
 148 0120 81E0                  ldi r24,lo8(1)
 149 0122 8093 0000             sts UpdateMotor,r24
 150 0126 00C0                  rjmp .L10
 151                    .L23:
 152 0128 5A9A                  sbi 43-32,2
 153 012a 00C0                  rjmp .L19
 154                    .L24:
 155 012c 5A98                  cbi 43-32,2
 156 012e 00C0                  rjmp .L19
 158                    .global SetDelay
 160                    SetDelay:
 161                    /* prologue: function */
 162                    /* frame size = 0 */
 163 0130 2091 0000             lds r18,CountMilliseconds
 164 0134 3091 0000             lds r19,(CountMilliseconds)+1
 165 0138 2150                  subi r18,lo8(-(-1))
 166 013a 3040                  sbci r19,hi8(-(-1))
 167 013c 280F                  add r18,r24
 168 013e 391F                  adc r19,r25
 169 0140 C901                  movw r24,r18
 170                    /* epilogue start */
 171 0142 0895                  ret
 173                    .global CheckDelay
 175                    CheckDelay:
 176                    /* prologue: function */
 177                    /* frame size = 0 */
 178 0144 2091 0000             lds r18,CountMilliseconds
 179 0148 3091 0000             lds r19,(CountMilliseconds)+1
 180 014c 821B                  sub r24,r18
 181 014e 930B                  sbc r25,r19
 182 0150 8070                  andi r24,lo8(-32768)
 183 0152 9078                  andi r25,hi8(-32768)
 184 0154 892F                  mov r24,r25
 185                    /* epilogue start */
 186 0156 0895                  ret
 188                    .global Delay_ms
 190                    Delay_ms:
 191                    /* prologue: function */
 192                    /* frame size = 0 */
 193 0158 2091 0000             lds r18,CountMilliseconds
 194 015c 3091 0000             lds r19,(CountMilliseconds)+1
 195 0160 2150                  subi r18,lo8(-(-1))
 196 0162 3040                  sbci r19,hi8(-(-1))
 197 0164 280F                  add r18,r24
 198 0166 391F                  adc r19,r25
 199                    .L30:
 200 0168 8091 0000             lds r24,CountMilliseconds
 201 016c 9091 0000             lds r25,(CountMilliseconds)+1
 202 0170 A901                  movw r20,r18
 203 0172 481B                  sub r20,r24
 204 0174 590B                  sbc r21,r25
 205 0176 CA01                  movw r24,r20
 206 0178 8070                  andi r24,lo8(-32768)
 207 017a 9078                  andi r25,hi8(-32768)
 208 017c 9923                  tst r25
 209 017e 01F0                  breq .L30
 210                    /* epilogue start */
 211 0180 0895                  ret
 213                    .global Delay_ms_Mess
 215                    Delay_ms_Mess:
 216                    /* prologue: function */
 217                    /* frame size = 0 */
 218 0182 2091 0000             lds r18,CountMilliseconds
 219 0186 3091 0000             lds r19,(CountMilliseconds)+1
 220 018a 2150                  subi r18,lo8(-(-1))
 221 018c 3040                  sbci r19,hi8(-(-1))
 222 018e 280F                  add r18,r24
 223 0190 391F                  adc r19,r25
 224                    .L39:
 225 0192 8091 0000             lds r24,CountMilliseconds
 226 0196 9091 0000             lds r25,(CountMilliseconds)+1
 227 019a A901                  movw r20,r18
 228 019c 481B                  sub r20,r24
 229 019e 590B                  sbc r21,r25
 230 01a0 CA01                  movw r24,r20
 231 01a2 8070                  andi r24,lo8(-32768)
 232 01a4 9078                  andi r25,hi8(-32768)
 233 01a6 9923                  tst r25
 234 01a8 01F4                  brne .L40
 235 01aa 8091 0000             lds r24,ADReady
 236 01ae 8823                  tst r24
 237 01b0 01F0                  breq .L39
 238 01b2 1092 0000             sts ADReady,__zero_reg__
 239 01b6 8091 7A00             lds r24,122
 240 01ba 886C                  ori r24,lo8(-56)
 241 01bc 8093 7A00             sts 122,r24
 242 01c0 00C0                  rjmp .L39
 243                    .L40:
 244                    /* epilogue start */
 245 01c2 0895                  ret
 247                    .global CountMilliseconds
 248                    .global CountMilliseconds
 249                            .section .bss
 252                    CountMilliseconds:
 253 0000 0000                  .skip 2,0
 254                    .global UpdateMotor
 255                    .global UpdateMotor
 258                    UpdateMotor:
 259 0002 00                    .skip 1,0
 260                    .global cntKompass
 261                    .global cntKompass
 264                    cntKompass:
 265 0003 0000                  .skip 2,0
 266                    .global BeepTime
 267                    .global BeepTime
 270                    BeepTime:
 271 0005 0000                  .skip 2,0
 272                    .global BeepModulation
 273                            .data
 276                    BeepModulation:
 277 0000 FFFF                  .word   -1
 278                    .global SendSPI
 279                    .global SendSPI
 280                            .section .bss
 283                    SendSPI:
 284 0007 00                    .skip 1,0
 285                            .lcomm cnt.1520,1
 286                            .data
 289                    cnt_1ms.1519:
 290 0002 01                    .byte   1
 291                    .global __do_copy_data
 292                    .global __do_clear_bss
DEFINED SYMBOLS
                            *ABS*:00000000 timer0.c
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:2      *ABS*:0000003f __SREG__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:3      *ABS*:0000003e __SP_H__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:4      *ABS*:0000003d __SP_L__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:5      *ABS*:00000034 __CCP__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:6      *ABS*:00000000 __tmp_reg__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:7      *ABS*:00000001 __zero_reg__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:11     .text:00000000 TIMER0_Init
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:65     .text:0000005c __vector_18
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:283    .bss:00000007 SendSPI
                             .bss:00000008 cnt.1520
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:289    .data:00000002 cnt_1ms.1519
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:252    .bss:00000000 CountMilliseconds
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:270    .bss:00000005 BeepTime
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:276    .data:00000000 BeepModulation
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:258    .bss:00000002 UpdateMotor
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:160    .text:00000130 SetDelay
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:175    .text:00000144 CheckDelay
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:190    .text:00000158 Delay_ms
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:215    .text:00000182 Delay_ms_Mess
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckXHSe6.s:264    .bss:00000003 cntKompass

UNDEFINED SYMBOLS
BoardRelease
ADReady
__do_copy_data
__do_clear_bss