Click here to Skip to main content
15,884,298 members
Articles / Programming Languages / CUDA

Xilinx FPGA with AVRILOS

Rate me:
Please Sign up or sign in to vote.
4.87/5 (12 votes)
9 Nov 2011CDDL21 min read 49.8K   688   14  
How-To Embed Xilinx FPGA Configuration Data to AVRILOS
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 1


   1               		.file	"kernel.c"
   2               	__SREG__ = 0x3f
   3               	__SP_H__ = 0x3e
   4               	__SP_L__ = 0x3d
   5               	__CCP__  = 0x34
   6               	__tmp_reg__ = 0
   7               	__zero_reg__ = 1
   8               		.section	.debug_abbrev,"",@progbits
   9               	.Ldebug_abbrev0:
  10               		.section	.debug_info,"",@progbits
  11               	.Ldebug_info0:
  12               		.section	.debug_line,"",@progbits
  13               	.Ldebug_line0:
  14               		.text
  15               	.Ltext0:
  16               		.data
  17               	.LC0:
  18 0000 0A41 5652 		.string	"\nAVRILOS V1.10 started...\r\n"
  18      494C 4F53 
  18      2056 312E 
  18      3130 2073 
  18      7461 7274 
  19               	.LC1:
  20 001c 4150 5020 		.string	"APP Version V0.20\r\n"
  20      5665 7273 
  20      696F 6E20 
  20      5630 2E32 
  20      300D 0A00 
  21               		.text
  22               	.global	main
  23               		.type	main, @function
  24               	main:
  25               	.LFB2:
  26               	.LM1:
  27               	/* prologue: function */
  28               	/* frame size = 0 */
  29               	.LM2:
  30 0000 1092 0000 		sts v_SysStat,__zero_reg__
  31               	.LM3:
  32 0004 0E94 0000 		call f_InitSysTimer
  33               	.LM4:
  34 0008 0E94 0000 		call f_ConfigSerial
  35               	.LM5:
  36 000c 0E94 0000 		call f_ConfigADC
  37               	.LM6:
  38 0010 0E94 0000 		call f_InitDebug
  39               	.LM7:
  40 0014 0E94 0000 		call f_CfgSPIFPGA
  41               	.LM8:
  42 0018 8823      		tst r24
  43 001a 01F0      		breq .L7
  44               	.L2:
  45               	.LM9:
  46 001c 0E94 0000 		call f_InitSSI
  47               	.LM10:
  48 0020 0E94 0000 		call f_InitMOTOR
  49               	.LM11:
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 2


  50 0024 0E94 0000 		call f_InitSerApp
  51               	.LM12:
  52 0028 0E94 0000 		call f_Init_Applic
  53               	.LM13:
  54               	/* #APP */
  55               	 ;  135 "src/applic/kernel.c" 1
  56 002c 7894      		sei
  57               	 ;  0 "" 2
  58               	.LM14:
  59               	/* #NOAPP */
  60 002e 0E94 0000 		call f_Uart_ClrScr
  61               	.LM15:
  62 0032 80E0      		ldi r24,lo8(.LC0)
  63 0034 90E0      		ldi r25,hi8(.LC0)
  64 0036 0E94 0000 		call f_Uart_PutStr
  65               	.LM16:
  66 003a 80E0      		ldi r24,lo8(.LC1)
  67 003c 90E0      		ldi r25,hi8(.LC1)
  68 003e 0E94 0000 		call f_Uart_PutStr
  69               	.L4:
  70               	.LM17:
  71 0042 0E94 0000 		call f_SysTick
  72               	.LM18:
  73 0046 0E94 0000 		call f_SysADC
  74               	.LM19:
  75 004a 0E94 0000 		call f_TaskDebugger
  76               	.LM20:
  77 004e 0E94 0000 		call f_SerApp
  78               	.LM21:
  79 0052 8091 0000 		lds r24,v_SysStat
  80 0056 82FF      		sbrs r24,2
  81 0058 00C0      		rjmp .L3
  82               	.LM22:
  83 005a 8091 0000 		lds r24,v_SysStat
  84 005e 8B7F      		andi r24,lo8(-5)
  85 0060 8093 0000 		sts v_SysStat,r24
  86               	.L3:
  87               	.LM23:
  88 0064 0E94 0000 		call f_Applic
  89 0068 00C0      		rjmp .L4
  90               	.L7:
  91               	.LM24:
  92 006a 84E8      		ldi r24,lo8(900)
  93 006c 93E0      		ldi r25,hi8(900)
  94 006e 0E94 0000 		call f_SystickSetErrLevel
  95 0072 00C0      		rjmp .L2
  96               	.LFE2:
  97               		.size	main, .-main
  98               		.comm v_SysStat,1,1
  99               		.comm v_StatReg,1,1
 100               		.section	.debug_frame,"",@progbits
 101               	.Lframe0:
 102 0000 0C00 0000 		.long	.LECIE0-.LSCIE0
 103               	.LSCIE0:
 104 0004 FFFF FFFF 		.long	0xffffffff
 105 0008 01        		.byte	0x1
 106 0009 00        		.string	""
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 3


 107 000a 01        		.uleb128 0x1
 108 000b 7F        		.sleb128 -1
 109 000c 24        		.byte	0x24
 110 000d 0C        		.byte	0xc
 111 000e 20        		.uleb128 0x20
 112 000f 00        		.uleb128 0x0
 113               		.p2align	2
 114               	.LECIE0:
 115               	.LSFDE0:
 116 0010 0C00 0000 		.long	.LEFDE0-.LASFDE0
 117               	.LASFDE0:
 118 0014 0000 0000 		.long	.Lframe0
 119 0018 0000 0000 		.long	.LFB2
 120 001c 7400 0000 		.long	.LFE2-.LFB2
 121               		.p2align	2
 122               	.LEFDE0:
 123               		.text
 124               	.Letext0:
 125               		.section	.debug_info
 126 0000 0501 0000 		.long	0x105
 127 0004 0200      		.word	0x2
 128 0006 0000 0000 		.long	.Ldebug_abbrev0
 129 000a 04        		.byte	0x4
 130 000b 01        		.uleb128 0x1
 131 000c 0000 0000 		.long	.LASF16
 132 0010 01        		.byte	0x1
 133 0011 0000 0000 		.long	.LASF17
 134 0015 0000 0000 		.long	.LASF18
 135 0019 0000 0000 		.long	.Ltext0
 136 001d 0000 0000 		.long	.Letext0
 137 0021 0000 0000 		.long	.Ldebug_line0
 138 0025 02        		.uleb128 0x2
 139 0026 01        		.byte	0x1
 140 0027 06        		.byte	0x6
 141 0028 0000 0000 		.long	.LASF0
 142 002c 02        		.uleb128 0x2
 143 002d 01        		.byte	0x1
 144 002e 08        		.byte	0x8
 145 002f 0000 0000 		.long	.LASF1
 146 0033 03        		.uleb128 0x3
 147 0034 02        		.byte	0x2
 148 0035 05        		.byte	0x5
 149 0036 696E 7400 		.string	"int"
 150 003a 02        		.uleb128 0x2
 151 003b 02        		.byte	0x2
 152 003c 07        		.byte	0x7
 153 003d 0000 0000 		.long	.LASF2
 154 0041 02        		.uleb128 0x2
 155 0042 04        		.byte	0x4
 156 0043 05        		.byte	0x5
 157 0044 0000 0000 		.long	.LASF3
 158 0048 02        		.uleb128 0x2
 159 0049 04        		.byte	0x4
 160 004a 07        		.byte	0x7
 161 004b 0000 0000 		.long	.LASF4
 162 004f 02        		.uleb128 0x2
 163 0050 08        		.byte	0x8
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 4


 164 0051 05        		.byte	0x5
 165 0052 0000 0000 		.long	.LASF5
 166 0056 02        		.uleb128 0x2
 167 0057 08        		.byte	0x8
 168 0058 07        		.byte	0x7
 169 0059 0000 0000 		.long	.LASF6
 170 005d 04        		.uleb128 0x4
 171 005e 01        		.byte	0x1
 172 005f 06        		.byte	0x6
 173 0060 04        		.uleb128 0x4
 174 0061 01        		.byte	0x1
 175 0062 08        		.byte	0x8
 176 0063 02        		.uleb128 0x2
 177 0064 01        		.byte	0x1
 178 0065 06        		.byte	0x6
 179 0066 0000 0000 		.long	.LASF7
 180 006a 02        		.uleb128 0x2
 181 006b 02        		.byte	0x2
 182 006c 07        		.byte	0x7
 183 006d 0000 0000 		.long	.LASF8
 184 0071 02        		.uleb128 0x2
 185 0072 02        		.byte	0x2
 186 0073 05        		.byte	0x5
 187 0074 0000 0000 		.long	.LASF9
 188 0078 05        		.uleb128 0x5
 189 0079 0000 0000 		.long	.LASF19
 190 007d 02        		.byte	0x2
 191 007e 0D        		.byte	0xd
 192 007f 2C00 0000 		.long	0x2c
 193 0083 06        		.uleb128 0x6
 194 0084 01        		.byte	0x1
 195 0085 0000 0000 		.long	.LASF20
 196 0089 01        		.byte	0x1
 197 008a 41        		.byte	0x41
 198 008b 01        		.byte	0x1
 199 008c 3300 0000 		.long	0x33
 200 0090 0000 0000 		.long	.LFB2
 201 0094 0000 0000 		.long	.LFE2
 202 0098 02        		.byte	0x2
 203 0099 90        		.byte	0x90
 204 009a 20        		.uleb128 0x20
 205 009b CC00 0000 		.long	0xcc
 206 009f 07        		.uleb128 0x7
 207 00a0 0000 0000 		.long	.LASF10
 208 00a4 01        		.byte	0x1
 209 00a5 43        		.byte	0x43
 210 00a6 7800 0000 		.long	0x78
 211 00aa 07        		.uleb128 0x7
 212 00ab 0000 0000 		.long	.LASF11
 213 00af 01        		.byte	0x1
 214 00b0 44        		.byte	0x44
 215 00b1 7800 0000 		.long	0x78
 216 00b5 07        		.uleb128 0x7
 217 00b6 0000 0000 		.long	.LASF12
 218 00ba 01        		.byte	0x1
 219 00bb 45        		.byte	0x45
 220 00bc 7800 0000 		.long	0x78
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 5


 221 00c0 07        		.uleb128 0x7
 222 00c1 0000 0000 		.long	.LASF13
 223 00c5 01        		.byte	0x1
 224 00c6 46        		.byte	0x46
 225 00c7 CC00 0000 		.long	0xcc
 226 00cb 00        		.byte	0x0
 227 00cc 08        		.uleb128 0x8
 228 00cd 7800 0000 		.long	0x78
 229 00d1 DC00 0000 		.long	0xdc
 230 00d5 09        		.uleb128 0x9
 231 00d6 DC00 0000 		.long	0xdc
 232 00da 08        		.byte	0x8
 233 00db 00        		.byte	0x0
 234 00dc 04        		.uleb128 0x4
 235 00dd 02        		.byte	0x2
 236 00de 07        		.byte	0x7
 237 00df 0A        		.uleb128 0xa
 238 00e0 0000 0000 		.long	.LASF14
 239 00e4 01        		.byte	0x1
 240 00e5 3C        		.byte	0x3c
 241 00e6 F100 0000 		.long	0xf1
 242 00ea 01        		.byte	0x1
 243 00eb 05        		.byte	0x5
 244 00ec 03        		.byte	0x3
 245 00ed 0000 0000 		.long	v_SysStat
 246 00f1 0B        		.uleb128 0xb
 247 00f2 7800 0000 		.long	0x78
 248 00f6 0A        		.uleb128 0xa
 249 00f7 0000 0000 		.long	.LASF15
 250 00fb 01        		.byte	0x1
 251 00fc 3D        		.byte	0x3d
 252 00fd F100 0000 		.long	0xf1
 253 0101 01        		.byte	0x1
 254 0102 05        		.byte	0x5
 255 0103 03        		.byte	0x3
 256 0104 0000 0000 		.long	v_StatReg
 257 0108 00        		.byte	0x0
 258               		.section	.debug_abbrev
 259 0000 01        		.uleb128 0x1
 260 0001 11        		.uleb128 0x11
 261 0002 01        		.byte	0x1
 262 0003 25        		.uleb128 0x25
 263 0004 0E        		.uleb128 0xe
 264 0005 13        		.uleb128 0x13
 265 0006 0B        		.uleb128 0xb
 266 0007 03        		.uleb128 0x3
 267 0008 0E        		.uleb128 0xe
 268 0009 1B        		.uleb128 0x1b
 269 000a 0E        		.uleb128 0xe
 270 000b 11        		.uleb128 0x11
 271 000c 01        		.uleb128 0x1
 272 000d 12        		.uleb128 0x12
 273 000e 01        		.uleb128 0x1
 274 000f 10        		.uleb128 0x10
 275 0010 06        		.uleb128 0x6
 276 0011 00        		.byte	0x0
 277 0012 00        		.byte	0x0
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 6


 278 0013 02        		.uleb128 0x2
 279 0014 24        		.uleb128 0x24
 280 0015 00        		.byte	0x0
 281 0016 0B        		.uleb128 0xb
 282 0017 0B        		.uleb128 0xb
 283 0018 3E        		.uleb128 0x3e
 284 0019 0B        		.uleb128 0xb
 285 001a 03        		.uleb128 0x3
 286 001b 0E        		.uleb128 0xe
 287 001c 00        		.byte	0x0
 288 001d 00        		.byte	0x0
 289 001e 03        		.uleb128 0x3
 290 001f 24        		.uleb128 0x24
 291 0020 00        		.byte	0x0
 292 0021 0B        		.uleb128 0xb
 293 0022 0B        		.uleb128 0xb
 294 0023 3E        		.uleb128 0x3e
 295 0024 0B        		.uleb128 0xb
 296 0025 03        		.uleb128 0x3
 297 0026 08        		.uleb128 0x8
 298 0027 00        		.byte	0x0
 299 0028 00        		.byte	0x0
 300 0029 04        		.uleb128 0x4
 301 002a 24        		.uleb128 0x24
 302 002b 00        		.byte	0x0
 303 002c 0B        		.uleb128 0xb
 304 002d 0B        		.uleb128 0xb
 305 002e 3E        		.uleb128 0x3e
 306 002f 0B        		.uleb128 0xb
 307 0030 00        		.byte	0x0
 308 0031 00        		.byte	0x0
 309 0032 05        		.uleb128 0x5
 310 0033 16        		.uleb128 0x16
 311 0034 00        		.byte	0x0
 312 0035 03        		.uleb128 0x3
 313 0036 0E        		.uleb128 0xe
 314 0037 3A        		.uleb128 0x3a
 315 0038 0B        		.uleb128 0xb
 316 0039 3B        		.uleb128 0x3b
 317 003a 0B        		.uleb128 0xb
 318 003b 49        		.uleb128 0x49
 319 003c 13        		.uleb128 0x13
 320 003d 00        		.byte	0x0
 321 003e 00        		.byte	0x0
 322 003f 06        		.uleb128 0x6
 323 0040 2E        		.uleb128 0x2e
 324 0041 01        		.byte	0x1
 325 0042 3F        		.uleb128 0x3f
 326 0043 0C        		.uleb128 0xc
 327 0044 03        		.uleb128 0x3
 328 0045 0E        		.uleb128 0xe
 329 0046 3A        		.uleb128 0x3a
 330 0047 0B        		.uleb128 0xb
 331 0048 3B        		.uleb128 0x3b
 332 0049 0B        		.uleb128 0xb
 333 004a 27        		.uleb128 0x27
 334 004b 0C        		.uleb128 0xc
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 7


 335 004c 49        		.uleb128 0x49
 336 004d 13        		.uleb128 0x13
 337 004e 11        		.uleb128 0x11
 338 004f 01        		.uleb128 0x1
 339 0050 12        		.uleb128 0x12
 340 0051 01        		.uleb128 0x1
 341 0052 40        		.uleb128 0x40
 342 0053 0A        		.uleb128 0xa
 343 0054 01        		.uleb128 0x1
 344 0055 13        		.uleb128 0x13
 345 0056 00        		.byte	0x0
 346 0057 00        		.byte	0x0
 347 0058 07        		.uleb128 0x7
 348 0059 34        		.uleb128 0x34
 349 005a 00        		.byte	0x0
 350 005b 03        		.uleb128 0x3
 351 005c 0E        		.uleb128 0xe
 352 005d 3A        		.uleb128 0x3a
 353 005e 0B        		.uleb128 0xb
 354 005f 3B        		.uleb128 0x3b
 355 0060 0B        		.uleb128 0xb
 356 0061 49        		.uleb128 0x49
 357 0062 13        		.uleb128 0x13
 358 0063 00        		.byte	0x0
 359 0064 00        		.byte	0x0
 360 0065 08        		.uleb128 0x8
 361 0066 01        		.uleb128 0x1
 362 0067 01        		.byte	0x1
 363 0068 49        		.uleb128 0x49
 364 0069 13        		.uleb128 0x13
 365 006a 01        		.uleb128 0x1
 366 006b 13        		.uleb128 0x13
 367 006c 00        		.byte	0x0
 368 006d 00        		.byte	0x0
 369 006e 09        		.uleb128 0x9
 370 006f 21        		.uleb128 0x21
 371 0070 00        		.byte	0x0
 372 0071 49        		.uleb128 0x49
 373 0072 13        		.uleb128 0x13
 374 0073 2F        		.uleb128 0x2f
 375 0074 0B        		.uleb128 0xb
 376 0075 00        		.byte	0x0
 377 0076 00        		.byte	0x0
 378 0077 0A        		.uleb128 0xa
 379 0078 34        		.uleb128 0x34
 380 0079 00        		.byte	0x0
 381 007a 03        		.uleb128 0x3
 382 007b 0E        		.uleb128 0xe
 383 007c 3A        		.uleb128 0x3a
 384 007d 0B        		.uleb128 0xb
 385 007e 3B        		.uleb128 0x3b
 386 007f 0B        		.uleb128 0xb
 387 0080 49        		.uleb128 0x49
 388 0081 13        		.uleb128 0x13
 389 0082 3F        		.uleb128 0x3f
 390 0083 0C        		.uleb128 0xc
 391 0084 02        		.uleb128 0x2
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 8


 392 0085 0A        		.uleb128 0xa
 393 0086 00        		.byte	0x0
 394 0087 00        		.byte	0x0
 395 0088 0B        		.uleb128 0xb
 396 0089 35        		.uleb128 0x35
 397 008a 00        		.byte	0x0
 398 008b 49        		.uleb128 0x49
 399 008c 13        		.uleb128 0x13
 400 008d 00        		.byte	0x0
 401 008e 00        		.byte	0x0
 402 008f 00        		.byte	0x0
 403               		.section	.debug_pubnames,"",@progbits
 404 0000 3300 0000 		.long	0x33
 405 0004 0200      		.word	0x2
 406 0006 0000 0000 		.long	.Ldebug_info0
 407 000a 0901 0000 		.long	0x109
 408 000e 8300 0000 		.long	0x83
 409 0012 6D61 696E 		.string	"main"
 409      00
 410 0017 DF00 0000 		.long	0xdf
 411 001b 765F 5379 		.string	"v_SysStat"
 411      7353 7461 
 411      7400 
 412 0025 F600 0000 		.long	0xf6
 413 0029 765F 5374 		.string	"v_StatReg"
 413      6174 5265 
 413      6700 
 414 0033 0000 0000 		.long	0x0
 415               		.section	.debug_aranges,"",@progbits
 416 0000 1C00 0000 		.long	0x1c
 417 0004 0200      		.word	0x2
 418 0006 0000 0000 		.long	.Ldebug_info0
 419 000a 04        		.byte	0x4
 420 000b 00        		.byte	0x0
 421 000c 0000      		.word	0x0
 422 000e 0000      		.word	0x0
 423 0010 0000 0000 		.long	.Ltext0
 424 0014 7400 0000 		.long	.Letext0-.Ltext0
 425 0018 0000 0000 		.long	0x0
 426 001c 0000 0000 		.long	0x0
 427               		.section	.debug_line
 428 0000 2801 0000 		.long	.LELT0-.LSLT0
 429               	.LSLT0:
 430 0004 0200      		.word	0x2
 431 0006 5500 0000 		.long	.LELTP0-.LASLTP0
 432               	.LASLTP0:
 433 000a 01        		.byte	0x1
 434 000b 01        		.byte	0x1
 435 000c F6        		.byte	0xf6
 436 000d F5        		.byte	0xf5
 437 000e 0A        		.byte	0xa
 438 000f 00        		.byte	0x0
 439 0010 01        		.byte	0x1
 440 0011 01        		.byte	0x1
 441 0012 01        		.byte	0x1
 442 0013 01        		.byte	0x1
 443 0014 00        		.byte	0x0
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 9


 444 0015 00        		.byte	0x0
 445 0016 00        		.byte	0x0
 446 0017 01        		.byte	0x1
 447 0018 7372 632F 		.ascii	"src/applic"
 447      6170 706C 
 447      6963 
 448 0022 00        		.byte	0
 449 0023 7372 632F 		.ascii	"src/applic/../includes"
 449      6170 706C 
 449      6963 2F2E 
 449      2E2F 696E 
 449      636C 7564 
 450 0039 00        		.byte	0
 451 003a 00        		.byte	0x0
 452 003b 6B65 726E 		.string	"kernel.c"
 452      656C 2E63 
 452      00
 453 0044 01        		.uleb128 0x1
 454 0045 00        		.uleb128 0x0
 455 0046 00        		.uleb128 0x0
 456 0047 2E2E 2F69 		.string	"../includes/types.h"
 456      6E63 6C75 
 456      6465 732F 
 456      7479 7065 
 456      732E 6800 
 457 005b 01        		.uleb128 0x1
 458 005c 00        		.uleb128 0x0
 459 005d 00        		.uleb128 0x0
 460 005e 00        		.byte	0x0
 461               	.LELTP0:
 462 005f 00        		.byte	0x0
 463 0060 05        		.uleb128 0x5
 464 0061 02        		.byte	0x2
 465 0062 0000 0000 		.long	.LM1
 466 0066 54        		.byte	0x54
 467 0067 00        		.byte	0x0
 468 0068 05        		.uleb128 0x5
 469 0069 02        		.byte	0x2
 470 006a 0000 0000 		.long	.LM2
 471 006e 15        		.byte	0x15
 472 006f 00        		.byte	0x0
 473 0070 05        		.uleb128 0x5
 474 0071 02        		.byte	0x2
 475 0072 0000 0000 		.long	.LM3
 476 0076 1A        		.byte	0x1a
 477 0077 00        		.byte	0x0
 478 0078 05        		.uleb128 0x5
 479 0079 02        		.byte	0x2
 480 007a 0000 0000 		.long	.LM4
 481 007e 17        		.byte	0x17
 482 007f 00        		.byte	0x0
 483 0080 05        		.uleb128 0x5
 484 0081 02        		.byte	0x2
 485 0082 0000 0000 		.long	.LM5
 486 0086 1A        		.byte	0x1a
 487 0087 00        		.byte	0x0
 488 0088 05        		.uleb128 0x5
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 10


 489 0089 02        		.byte	0x2
 490 008a 0000 0000 		.long	.LM6
 491 008e 18        		.byte	0x18
 492 008f 00        		.byte	0x0
 493 0090 05        		.uleb128 0x5
 494 0091 02        		.byte	0x2
 495 0092 0000 0000 		.long	.LM7
 496 0096 18        		.byte	0x18
 497 0097 00        		.byte	0x0
 498 0098 05        		.uleb128 0x5
 499 0099 02        		.byte	0x2
 500 009a 0000 0000 		.long	.LM8
 501 009e 15        		.byte	0x15
 502 009f 00        		.byte	0x0
 503 00a0 05        		.uleb128 0x5
 504 00a1 02        		.byte	0x2
 505 00a2 0000 0000 		.long	.LM9
 506 00a6 18        		.byte	0x18
 507 00a7 00        		.byte	0x0
 508 00a8 05        		.uleb128 0x5
 509 00a9 02        		.byte	0x2
 510 00aa 0000 0000 		.long	.LM10
 511 00ae 28        		.byte	0x28
 512 00af 00        		.byte	0x0
 513 00b0 05        		.uleb128 0x5
 514 00b1 02        		.byte	0x2
 515 00b2 0000 0000 		.long	.LM11
 516 00b6 1D        		.byte	0x1d
 517 00b7 00        		.byte	0x0
 518 00b8 05        		.uleb128 0x5
 519 00b9 02        		.byte	0x2
 520 00ba 0000 0000 		.long	.LM12
 521 00be 1E        		.byte	0x1e
 522 00bf 00        		.byte	0x0
 523 00c0 05        		.uleb128 0x5
 524 00c1 02        		.byte	0x2
 525 00c2 0000 0000 		.long	.LM13
 526 00c6 16        		.byte	0x16
 527 00c7 00        		.byte	0x0
 528 00c8 05        		.uleb128 0x5
 529 00c9 02        		.byte	0x2
 530 00ca 0000 0000 		.long	.LM14
 531 00ce 15        		.byte	0x15
 532 00cf 00        		.byte	0x0
 533 00d0 05        		.uleb128 0x5
 534 00d1 02        		.byte	0x2
 535 00d2 0000 0000 		.long	.LM15
 536 00d6 15        		.byte	0x15
 537 00d7 00        		.byte	0x0
 538 00d8 05        		.uleb128 0x5
 539 00d9 02        		.byte	0x2
 540 00da 0000 0000 		.long	.LM16
 541 00de 15        		.byte	0x15
 542 00df 00        		.byte	0x0
 543 00e0 05        		.uleb128 0x5
 544 00e1 02        		.byte	0x2
 545 00e2 0000 0000 		.long	.LM17
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 11


 546 00e6 23        		.byte	0x23
 547 00e7 00        		.byte	0x0
 548 00e8 05        		.uleb128 0x5
 549 00e9 02        		.byte	0x2
 550 00ea 0000 0000 		.long	.LM18
 551 00ee 17        		.byte	0x17
 552 00ef 00        		.byte	0x0
 553 00f0 05        		.uleb128 0x5
 554 00f1 02        		.byte	0x2
 555 00f2 0000 0000 		.long	.LM19
 556 00f6 18        		.byte	0x18
 557 00f7 00        		.byte	0x0
 558 00f8 05        		.uleb128 0x5
 559 00f9 02        		.byte	0x2
 560 00fa 0000 0000 		.long	.LM20
 561 00fe 18        		.byte	0x18
 562 00ff 00        		.byte	0x0
 563 0100 05        		.uleb128 0x5
 564 0101 02        		.byte	0x2
 565 0102 0000 0000 		.long	.LM21
 566 0106 23        		.byte	0x23
 567 0107 00        		.byte	0x0
 568 0108 05        		.uleb128 0x5
 569 0109 02        		.byte	0x2
 570 010a 0000 0000 		.long	.LM22
 571 010e 16        		.byte	0x16
 572 010f 00        		.byte	0x0
 573 0110 05        		.uleb128 0x5
 574 0111 02        		.byte	0x2
 575 0112 0000 0000 		.long	.LM23
 576 0116 18        		.byte	0x18
 577 0117 00        		.byte	0x0
 578 0118 05        		.uleb128 0x5
 579 0119 02        		.byte	0x2
 580 011a 0000 0000 		.long	.LM24
 581 011e 03        		.byte	0x3
 582 011f A17F      		.sleb128 -95
 583 0121 01        		.byte	0x1
 584 0122 00        		.byte	0x0
 585 0123 05        		.uleb128 0x5
 586 0124 02        		.byte	0x2
 587 0125 0000 0000 		.long	.Letext0
 588 0129 00        		.byte	0x0
 589 012a 01        		.uleb128 0x1
 590 012b 01        		.byte	0x1
 591               	.LELT0:
 592 012c 1600 0000 		.section	.debug_str,"MS",@progbits,1
 592      0200 1000 
 592      0000 0101 
 592      FB0E 0A00 
 592      0101 0101 
 593               	.LASF14:
 594 0000 765F 5379 		.string	"v_SysStat"
 594      7353 7461 
 594      7400 
 595               	.LASF11:
 596 000a 765F 6B65 		.string	"v_key"
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 12


 596      7900 
 597               	.LASF12:
 598 0010 765F 7265 		.string	"v_retval"
 598      7476 616C 
 598      00
 599               	.LASF10:
 600 0019 765F 6C65 		.string	"v_led"
 600      6400 
 601               	.LASF17:
 602 001f 7372 632F 		.string	"src/applic/kernel.c"
 602      6170 706C 
 602      6963 2F6B 
 602      6572 6E65 
 602      6C2E 6300 
 603               	.LASF1:
 604 0033 756E 7369 		.string	"unsigned char"
 604      676E 6564 
 604      2063 6861 
 604      7200 
 605               	.LASF4:
 606 0041 6C6F 6E67 		.string	"long unsigned int"
 606      2075 6E73 
 606      6967 6E65 
 606      6420 696E 
 606      7400 
 607               	.LASF15:
 608 0053 765F 5374 		.string	"v_StatReg"
 608      6174 5265 
 608      6700 
 609               	.LASF8:
 610 005d 7368 6F72 		.string	"short unsigned int"
 610      7420 756E 
 610      7369 676E 
 610      6564 2069 
 610      6E74 00
 611               	.LASF16:
 612 0070 474E 5520 		.string	"GNU C 4.3.3"
 612      4320 342E 
 612      332E 3300 
 613               	.LASF20:
 614 007c 6D61 696E 		.string	"main"
 614      00
 615               	.LASF2:
 616 0081 756E 7369 		.string	"unsigned int"
 616      676E 6564 
 616      2069 6E74 
 616      00
 617               	.LASF19:
 618 008e 494E 5438 		.string	"INT8U"
 618      5500 
 619               	.LASF6:
 620 0094 6C6F 6E67 		.string	"long long unsigned int"
 620      206C 6F6E 
 620      6720 756E 
 620      7369 676E 
 620      6564 2069 
 621               	.LASF5:
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 13


 622 00ab 6C6F 6E67 		.string	"long long int"
 622      206C 6F6E 
 622      6720 696E 
 622      7400 
 623               	.LASF18:
 624 00b9 433A 5C55 		.string	"C:\\Users\\Ilias\\work\\OSS\\AVRILOS_02\\code\\CodeProject_02\\sw\\avr16"
 624      7365 7273 
 624      5C49 6C69 
 624      6173 5C77 
 624      6F72 6B5C 
 625               	.LASF9:
 626 00f9 7368 6F72 		.string	"short int"
 626      7420 696E 
 626      7400 
 627               	.LASF3:
 628 0103 6C6F 6E67 		.string	"long int"
 628      2069 6E74 
 628      00
 629               	.LASF7:
 630 010c 6368 6172 		.string	"char"
 630      00
 631               	.LASF0:
 632 0111 7369 676E 		.string	"signed char"
 632      6564 2063 
 632      6861 7200 
 633               	.LASF13:
 634 011d 6275 665F 		.string	"buf_g"
 634      6700 
 635               	.global __do_copy_data
 636               	.global __do_clear_bss
GAS LISTING C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s 			page 14


DEFINED SYMBOLS
                            *ABS*:00000000 kernel.c
C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s:2      *ABS*:0000003f __SREG__
C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s:3      *ABS*:0000003e __SP_H__
C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s:4      *ABS*:0000003d __SP_L__
C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s:5      *ABS*:00000034 __CCP__
C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s:6      *ABS*:00000000 __tmp_reg__
C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s:7      *ABS*:00000001 __zero_reg__
C:\DOCUME~1\Ilias\LOCALS~1\Temp/cc5gzpBK.s:24     .text:00000000 main
                            *COM*:00000001 v_SysStat
                            *COM*:00000001 v_StatReg

UNDEFINED SYMBOLS
f_InitSysTimer
f_ConfigSerial
f_ConfigADC
f_InitDebug
f_CfgSPIFPGA
f_InitSSI
f_InitMOTOR
f_InitSerApp
f_Init_Applic
f_Uart_ClrScr
f_Uart_PutStr
f_SysTick
f_SysADC
f_TaskDebugger
f_SerApp
f_Applic
f_SystickSetErrLevel
__do_copy_data
__do_clear_bss

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Development and Distribution License (CDDL)


Written By
Systems Engineer AI ZeroCaliber Ltd
Cyprus Cyprus
More than 15 year of Embedded Systems development designing both hardware & software.
Experience with Product Development,lab prototypes and Automated Testers, Sensors, motors and System Engineering. Have used numerous micro-controllers/processors, DSP & FPGAs.

Please check AI ZeroCaliber if you need any help.
You may find also my personal site: Ilialex and my blog site: Ilialex Blog

Comments and Discussions