Subversion Repositories FlightCtrl

Rev

Rev 1193 | Blame | Compare with Previous | Last modification | View Log | RSS feed

   1                            .file   "led.c"
   2                    __SREG__ = 0x3f
   3                    __SP_H__ = 0x3e
   4                    __SP_L__ = 0x3d
   5                    __tmp_reg__ = 0
   6                    __zero_reg__ = 1
   7                            .global __do_copy_data
   8                            .global __do_clear_bss
   9                            .text
  10                    .global LED_Init
  12                    LED_Init:
  13                    /* prologue: frame size=0 */
  14                    /* prologue end (size=0) */
  15 0000 87B1                  in r24,39-0x20
  16 0002 8C60                  ori r24,lo8(12)
  17 0004 87B9                  out 39-0x20,r24
  18 0006 4298                  cbi 40-0x20,2
  19 0008 4398                  cbi 40-0x20,3
  20 000a 1092 0000             sts J16Blinkcount,__zero_reg__
  21 000e 80E8                  ldi r24,lo8(-128)
  22 0010 8093 0000             sts J16Mask,r24
  23 0014 1092 0000             sts J17Blinkcount,__zero_reg__
  24 0018 8093 0000             sts J17Mask,r24
  25                    /* epilogue: frame size=0 */
  26 001c 0895                  ret
  27                    /* epilogue end (size=1) */
  28                    /* function LED_Init size 15 (14) */
  30                    .global LED_Update
  32                    LED_Update:
  33                    /* prologue: frame size=0 */
  34                    /* prologue end (size=0) */
  35 001e 8091 0000             lds r24,delay.2372
  36 0022 8150                  subi r24,lo8(-(-1))
  37 0024 8093 0000             sts delay.2372,r24
  38 0028 8F3F                  cpi r24,lo8(-1)
  39 002a 01F0                  breq .L54
  40                    .L48:
  41 002c 0895                  ret
  42                    .L54:
  43 002e 84E0                  ldi r24,lo8(4)
  44 0030 8093 0000             sts delay.2372,r24
  45 0034 8091 0000             lds r24,HoehenReglerAktiv
  46 0038 8823                  tst r24
  47 003a 01F4                  brne .+2
  48 003c 00C0                  rjmp .L49
  49 003e 8091 0000             lds r24,Parameter_NaviGpsModeControl
  50 0042 8B35                  cpi r24,lo8(91)
  51 0044 00F4                  brsh .+2
  52 0046 00C0                  rjmp .L6
  53 0048 883C                  cpi r24,lo8(-56)
  54 004a 00F0                  brlo .+2
  55 004c 00C0                  rjmp .L6
  56 004e 8091 0000             lds r24,J16Blinkcount
  57 0052 8150                  subi r24,lo8(-(-1))
  58 0054 8093 0000             sts J16Blinkcount,r24
  59 0058 8F3F                  cpi r24,lo8(-1)
  60 005a 01F0                  breq .+2
  61 005c 00C0                  rjmp .L10
  62 005e 8091 0000             lds r24,Parameter_J16Timing
  63 0062 8150                  subi r24,lo8(-(-1))
  64 0064 8093 0000             sts J16Blinkcount,r24
  65 0068 8091 0000             lds r24,J16Mask
  66 006c 8130                  cpi r24,lo8(1)
  67 006e 01F4                  brne .+2
  68 0070 00C0                  rjmp .L55
  69 0072 8695                  lsr r24
  70 0074 8093 0000             sts J16Mask,r24
  71                    .L14:
  72 0078 8091 0000             lds r24,J16Mask
  73 007c 9091 0000             lds r25,EE_Parameter+30
  74 0080 8923                  and r24,r25
  75 0082 01F4                  brne .+2
  76 0084 00C0                  rjmp .L31
  77                    .L25:
  78 0086 429A                  sbi 40-0x20,2
  79                    .L62:
  80 0088 8091 0000             lds r24,EE_Parameter+57
  81 008c 8B3F                  cpi r24,lo8(-5)
  82 008e 00F4                  brsh .L56
  83                    .L33:
  84 0090 8091 0000             lds r24,J17Blinkcount
  85 0094 8150                  subi r24,lo8(-(-1))
  86 0096 8093 0000             sts J17Blinkcount,r24
  87 009a 8F3F                  cpi r24,lo8(-1)
  88 009c 01F4                  brne .L48
  89 009e 8091 0000             lds r24,Parameter_J17Timing
  90 00a2 8150                  subi r24,lo8(-(-1))
  91 00a4 8093 0000             sts J17Blinkcount,r24
  92 00a8 8091 0000             lds r24,J17Mask
  93 00ac 8130                  cpi r24,lo8(1)
  94 00ae 01F4                  brne .+2
  95 00b0 00C0                  rjmp .L57
  96 00b2 8695                  lsr r24
  97 00b4 8093 0000             sts J17Mask,r24
  98                    .L45:
  99 00b8 8091 0000             lds r24,J17Mask
 100 00bc 9091 0000             lds r25,EE_Parameter+56
 101 00c0 8923                  and r24,r25
 102 00c2 01F0                  breq .+2
 103 00c4 00C0                  rjmp .L50
 104 00c6 4398                  cbi 40-0x20,3
 105 00c8 0895                  ret
 106                    .L49:
 107 00ca 8091 0000             lds r24,Parameter_NaviGpsModeControl
 108                    .L6:
 109 00ce 8436                  cpi r24,lo8(100)
 110 00d0 00F0                  brlo .L58
 111 00d2 8739                  cpi r24,lo8(-105)
 112 00d4 00F0                  brlo .L25
 113 00d6 8091 0000             lds r24,J16Blinkcount
 114 00da 8150                  subi r24,lo8(-(-1))
 115 00dc 8093 0000             sts J16Blinkcount,r24
 116 00e0 8F3F                  cpi r24,lo8(-1)
 117 00e2 01F0                  breq .L59
 118                    .L10:
 119 00e4 8091 0000             lds r24,EE_Parameter+57
 120 00e8 8B3F                  cpi r24,lo8(-5)
 121 00ea 00F0                  brlo .L33
 122                    .L56:
 123 00ec 8091 0000             lds r24,Parameter_J17Timing
 124 00f0 873E                  cpi r24,lo8(-25)
 125 00f2 00F0                  brlo .L35
 126 00f4 8091 0000             lds r24,EE_Parameter+56
 127 00f8 8823                  tst r24
 128 00fa 04F0                  brlt .L50
 129                    .L51:
 130 00fc 4398                  cbi 40-0x20,3
 131 00fe 0895                  ret
 132                    .L58:
 133 0100 8091 0000             lds r24,J16Blinkcount
 134 0104 8150                  subi r24,lo8(-(-1))
 135 0106 8093 0000             sts J16Blinkcount,r24
 136 010a 8F3F                  cpi r24,lo8(-1)
 137 010c 01F4                  brne .L10
 138 010e 8091 0000             lds r24,Parameter_J16Timing
 139 0112 8150                  subi r24,lo8(-(-1))
 140 0114 8093 0000             sts J16Blinkcount,r24
 141 0118 8091 0000             lds r24,J16Mask
 142 011c 8130                  cpi r24,lo8(1)
 143 011e 01F0                  breq .L60
 144 0120 8695                  lsr r24
 145 0122 8093 0000             sts J16Mask,r24
 146                    .L22:
 147 0126 8091 0000             lds r24,J16Mask
 148 012a 9091 0000             lds r25,EE_Parameter+31
 149 012e 8923                  and r24,r25
 150 0130 01F0                  breq .+2
 151 0132 00C0                  rjmp .L25
 152                    .L31:
 153 0134 4298                  cbi 40-0x20,2
 154 0136 00C0                  rjmp .L10
 155                    .L35:
 156 0138 8A30                  cpi r24,lo8(10)
 157 013a 00F0                  brlo .+2
 158 013c 00C0                  rjmp .L33
 159 013e 8091 0000             lds r24,EE_Parameter+56
 160 0142 87FD                  sbrc r24,7
 161 0144 00C0                  rjmp .L51
 162                    .L50:
 163 0146 439A                  sbi 40-0x20,3
 164 0148 0895                  ret
 165                    .L60:
 166 014a 80E8                  ldi r24,lo8(-128)
 167 014c 8093 0000             sts J16Mask,r24
 168 0150 00C0                  rjmp .L22
 169                    .L57:
 170 0152 80E8                  ldi r24,lo8(-128)
 171 0154 8093 0000             sts J17Mask,r24
 172 0158 00C0                  rjmp .L45
 173                    .L59:
 174 015a 8091 0000             lds r24,Parameter_J16Timing
 175 015e 8150                  subi r24,lo8(-(-1))
 176 0160 8093 0000             sts J16Blinkcount,r24
 177 0164 8091 0000             lds r24,J16Mask
 178 0168 8130                  cpi r24,lo8(1)
 179 016a 01F0                  breq .L61
 180 016c 8695                  lsr r24
 181 016e 8093 0000             sts J16Mask,r24
 182                    .L30:
 183 0172 8091 0000             lds r24,J16Mask
 184 0176 9091 0000             lds r25,EE_Parameter+32
 185 017a 8923                  and r24,r25
 186 017c 01F0                  breq .L31
 187 017e 429A                  sbi 40-0x20,2
 188 0180 00C0                  rjmp .L62
 189                    .L61:
 190 0182 80E8                  ldi r24,lo8(-128)
 191 0184 8093 0000             sts J16Mask,r24
 192 0188 00C0                  rjmp .L30
 193                    .L55:
 194 018a 80E8                  ldi r24,lo8(-128)
 195 018c 8093 0000             sts J16Mask,r24
 196 0190 00C0                  rjmp .L14
 197                    /* epilogue: frame size=0 */
 198                    /* epilogue: noreturn */
 199                    /* epilogue end (size=0) */
 200                    /* function LED_Update size 191 (191) */
 202                    .global LED1_Timing
 203                    .global LED1_Timing
 204                            .section .bss
 207                    LED1_Timing:
 208 0000 0000                  .skip 2,0
 209                    .global LED2_Timing
 210                    .global LED2_Timing
 213                    LED2_Timing:
 214 0002 0000                  .skip 2,0
 215                    .global J16Blinkcount
 216                    .global J16Blinkcount
 219                    J16Blinkcount:
 220 0004 00                    .skip 1,0
 221                    .global J16Mask
 222                            .data
 225                    J16Mask:
 226 0000 01                    .byte   1
 227                    .global J17Blinkcount
 228                    .global J17Blinkcount
 229                            .section .bss
 232                    J17Blinkcount:
 233 0005 00                    .skip 1,0
 234                    .global J17Mask
 235                            .data
 238                    J17Mask:
 239 0001 01                    .byte   1
 240                            .lcomm delay.2372,1
 241                    /* File "led.c": code  206 = 0x00ce ( 205), prologues   0, epilogues   1 */
DEFINED SYMBOLS
                            *ABS*:00000000 led.c
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:2      *ABS*:0000003f __SREG__
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:3      *ABS*:0000003e __SP_H__
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:4      *ABS*:0000003d __SP_L__
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:5      *ABS*:00000000 __tmp_reg__
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:6      *ABS*:00000001 __zero_reg__
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:12     .text:00000000 LED_Init
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:219    .bss:00000004 J16Blinkcount
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:225    .data:00000000 J16Mask
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:232    .bss:00000005 J17Blinkcount
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:238    .data:00000001 J17Mask
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:32     .text:0000001e LED_Update
                             .bss:00000006 delay.2372
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:207    .bss:00000000 LED1_Timing
C:\DOKUME~1\David\LOKALE~1\Temp/cc2yWjnH.s:213    .bss:00000002 LED2_Timing

UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
HoehenReglerAktiv
Parameter_NaviGpsModeControl
Parameter_J16Timing
EE_Parameter
Parameter_J17Timing