Subversion Repositories FlightCtrl

Rev

Rev 1193 | Go to most recent revision | 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 .L51
  40                    .L46:
  41 002c 0895                  ret
  42                    .L51:
  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 01F0                  breq .L6
  48 003c 8091 0000             lds r24,J16Blinkcount
  49 0040 8150                  subi r24,lo8(-(-1))
  50 0042 8093 0000             sts J16Blinkcount,r24
  51 0046 8F3F                  cpi r24,lo8(-1)
  52 0048 01F4                  brne .+2
  53 004a 00C0                  rjmp .L52
  54                    .L8:
  55 004c 4298                  cbi 40-0x20,2
  56 004e 8091 0000             lds r24,EE_Parameter+57
  57 0052 8B3F                  cpi r24,lo8(-5)
  58 0054 00F0                  brlo .L31
  59 0056 8091 0000             lds r24,Parameter_J17Timing
  60 005a 873E                  cpi r24,lo8(-25)
  61 005c 00F0                  brlo .+2
  62 005e 00C0                  rjmp .L53
  63 0060 8A30                  cpi r24,lo8(10)
  64 0062 00F4                  brsh .L31
  65 0064 8091 0000             lds r24,EE_Parameter+56
  66 0068 87FD                  sbrc r24,7
  67 006a 00C0                  rjmp .L48
  68                    .L47:
  69 006c 439A                  sbi 40-0x20,3
  70 006e 0895                  ret
  71                    .L31:
  72 0070 8091 0000             lds r24,J17Blinkcount
  73 0074 8150                  subi r24,lo8(-(-1))
  74 0076 8093 0000             sts J17Blinkcount,r24
  75 007a 8F3F                  cpi r24,lo8(-1)
  76 007c 01F4                  brne .L46
  77 007e 8091 0000             lds r24,Parameter_J17Timing
  78 0082 8150                  subi r24,lo8(-(-1))
  79 0084 8093 0000             sts J17Blinkcount,r24
  80 0088 8091 0000             lds r24,J17Mask
  81 008c 8130                  cpi r24,lo8(1)
  82 008e 01F4                  brne .+2
  83 0090 00C0                  rjmp .L54
  84 0092 8695                  lsr r24
  85 0094 8093 0000             sts J17Mask,r24
  86                    .L43:
  87 0098 8091 0000             lds r24,J17Mask
  88 009c 9091 0000             lds r25,EE_Parameter+56
  89 00a0 8923                  and r24,r25
  90 00a2 01F4                  brne .L47
  91 00a4 4398                  cbi 40-0x20,3
  92 00a6 0895                  ret
  93                    .L6:
  94 00a8 8091 0000             lds r24,Parameter_NaviGpsModeControl
  95 00ac 8436                  cpi r24,lo8(100)
  96 00ae 00F0                  brlo .L55
  97 00b0 8739                  cpi r24,lo8(-105)
  98 00b2 00F0                  brlo .L23
  99 00b4 8091 0000             lds r24,J16Blinkcount
 100 00b8 8150                  subi r24,lo8(-(-1))
 101 00ba 8093 0000             sts J16Blinkcount,r24
 102 00be 8F3F                  cpi r24,lo8(-1)
 103 00c0 01F4                  brne .L8
 104 00c2 8091 0000             lds r24,Parameter_J16Timing
 105 00c6 8150                  subi r24,lo8(-(-1))
 106 00c8 8093 0000             sts J16Blinkcount,r24
 107 00cc 8091 0000             lds r24,J16Mask
 108 00d0 8130                  cpi r24,lo8(1)
 109 00d2 01F4                  brne .+2
 110 00d4 00C0                  rjmp .L56
 111 00d6 8695                  lsr r24
 112 00d8 8093 0000             sts J16Mask,r24
 113                    .L28:
 114 00dc 8091 0000             lds r24,J16Mask
 115 00e0 9091 0000             lds r25,EE_Parameter+32
 116 00e4 8923                  and r24,r25
 117 00e6 01F0                  breq .L29
 118                    .L23:
 119 00e8 429A                  sbi 40-0x20,2
 120 00ea 00C0                  rjmp .L8
 121                    .L53:
 122 00ec 8091 0000             lds r24,EE_Parameter+56
 123 00f0 8823                  tst r24
 124 00f2 04F4                  brge .+2
 125 00f4 00C0                  rjmp .L47
 126                    .L48:
 127 00f6 4398                  cbi 40-0x20,3
 128 00f8 0895                  ret
 129                    .L55:
 130 00fa 8091 0000             lds r24,J16Blinkcount
 131 00fe 8150                  subi r24,lo8(-(-1))
 132 0100 8093 0000             sts J16Blinkcount,r24
 133 0104 8F3F                  cpi r24,lo8(-1)
 134 0106 01F0                  breq .+2
 135 0108 00C0                  rjmp .L8
 136 010a 8091 0000             lds r24,Parameter_J16Timing
 137 010e 8150                  subi r24,lo8(-(-1))
 138 0110 8093 0000             sts J16Blinkcount,r24
 139 0114 8091 0000             lds r24,J16Mask
 140 0118 8130                  cpi r24,lo8(1)
 141 011a 01F0                  breq .L57
 142 011c 8695                  lsr r24
 143 011e 8093 0000             sts J16Mask,r24
 144                    .L20:
 145 0122 8091 0000             lds r24,J16Mask
 146 0126 9091 0000             lds r25,EE_Parameter+31
 147 012a 8923                  and r24,r25
 148 012c 01F4                  brne .L23
 149                    .L29:
 150 012e 4298                  cbi 40-0x20,2
 151 0130 00C0                  rjmp .L8
 152                    .L52:
 153 0132 8091 0000             lds r24,Parameter_J16Timing
 154 0136 8150                  subi r24,lo8(-(-1))
 155 0138 8093 0000             sts J16Blinkcount,r24
 156 013c 8091 0000             lds r24,J16Mask
 157 0140 8130                  cpi r24,lo8(1)
 158 0142 01F0                  breq .L58
 159 0144 8695                  lsr r24
 160 0146 8093 0000             sts J16Mask,r24
 161                    .L12:
 162 014a 8091 0000             lds r24,J16Mask
 163 014e 9091 0000             lds r25,EE_Parameter+30
 164 0152 8923                  and r24,r25
 165 0154 01F0                  breq .L29
 166 0156 429A                  sbi 40-0x20,2
 167 0158 00C0                  rjmp .L8
 168                    .L58:
 169 015a 80E8                  ldi r24,lo8(-128)
 170 015c 8093 0000             sts J16Mask,r24
 171 0160 00C0                  rjmp .L12
 172                    .L54:
 173 0162 80E8                  ldi r24,lo8(-128)
 174 0164 8093 0000             sts J17Mask,r24
 175 0168 00C0                  rjmp .L43
 176                    .L57:
 177 016a 80E8                  ldi r24,lo8(-128)
 178 016c 8093 0000             sts J16Mask,r24
 179 0170 00C0                  rjmp .L20
 180                    .L56:
 181 0172 80E8                  ldi r24,lo8(-128)
 182 0174 8093 0000             sts J16Mask,r24
 183 0178 00C0                  rjmp .L28
 184                    /* epilogue: frame size=0 */
 185                    /* epilogue: noreturn */
 186                    /* epilogue end (size=0) */
 187                    /* function LED_Update size 179 (179) */
 189                    .global LED1_Timing
 190                    .global LED1_Timing
 191                            .section .bss
 194                    LED1_Timing:
 195 0000 0000                  .skip 2,0
 196                    .global LED2_Timing
 197                    .global LED2_Timing
 200                    LED2_Timing:
 201 0002 0000                  .skip 2,0
 202                    .global J16Blinkcount
 203                    .global J16Blinkcount
 206                    J16Blinkcount:
 207 0004 00                    .skip 1,0
 208                    .global J16Mask
 209                            .data
 212                    J16Mask:
 213 0000 01                    .byte   1
 214                    .global J17Blinkcount
 215                    .global J17Blinkcount
 216                            .section .bss
 219                    J17Blinkcount:
 220 0005 00                    .skip 1,0
 221                    .global J17Mask
 222                            .data
 225                    J17Mask:
 226 0001 01                    .byte   1
 227                            .lcomm delay.2372,1
 228                    /* File "led.c": code  194 = 0x00c2 ( 193), prologues   0, epilogues   1 */
DEFINED SYMBOLS
                            *ABS*:00000000 led.c
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:2      *ABS*:0000003f __SREG__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:3      *ABS*:0000003e __SP_H__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:4      *ABS*:0000003d __SP_L__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:5      *ABS*:00000000 __tmp_reg__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:6      *ABS*:00000001 __zero_reg__
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:12     .text:00000000 LED_Init
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:206    .bss:00000004 J16Blinkcount
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:212    .data:00000000 J16Mask
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:219    .bss:00000005 J17Blinkcount
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:225    .data:00000001 J17Mask
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:32     .text:0000001e LED_Update
                             .bss:00000006 delay.2372
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:194    .bss:00000000 LED1_Timing
C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:200    .bss:00000002 LED2_Timing

UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
HoehenReglerAktiv
EE_Parameter
Parameter_J17Timing
Parameter_NaviGpsModeControl
Parameter_J16Timing