Subversion Repositories svnkaklik

Rev

Rev 174 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 174 Rev 182
Line 1... Line 1...
1
GAS LISTING /tmp/ccyu5Mfw.s 			page 1
1
GAS LISTING /tmp/ccYxWDEV.s 			page 1
2
 
2
 
3
 
3
 
4
   1               		.file	"Executive.c"
4
   1               		.file	"Executive.c"
5
   2               		.arch atmega8
5
   2               		.arch atmega8
6
   3               	__SREG__ = 0x3f
6
   3               	__SREG__ = 0x3f
Line 56... Line 56...
56
  53               		.stabs	"intptr_t:t(8,9)=(8,3)",128,0,135,0
56
  53               		.stabs	"intptr_t:t(8,9)=(8,3)",128,0,135,0
57
  54               		.stabs	"uintptr_t:t(8,10)=(8,4)",128,0,140,0
57
  54               		.stabs	"uintptr_t:t(8,10)=(8,4)",128,0,140,0
58
  55               		.stabs	"int_least8_t:t(8,11)=(8,1)",128,0,152,0
58
  55               		.stabs	"int_least8_t:t(8,11)=(8,1)",128,0,152,0
59
  56               		.stabs	"uint_least8_t:t(8,12)=(8,2)",128,0,157,0
59
  56               		.stabs	"uint_least8_t:t(8,12)=(8,2)",128,0,157,0
60
  57               		.stabs	"int_least16_t:t(8,13)=(8,3)",128,0,162,0
60
  57               		.stabs	"int_least16_t:t(8,13)=(8,3)",128,0,162,0
61
GAS LISTING /tmp/ccyu5Mfw.s 			page 2
61
GAS LISTING /tmp/ccYxWDEV.s 			page 2
62
 
62
 
63
 
63
 
64
  58               		.stabs	"uint_least16_t:t(8,14)=(8,4)",128,0,167,0
64
  58               		.stabs	"uint_least16_t:t(8,14)=(8,4)",128,0,167,0
65
  59               		.stabs	"int_least32_t:t(8,15)=(8,5)",128,0,172,0
65
  59               		.stabs	"int_least32_t:t(8,15)=(8,5)",128,0,172,0
66
  60               		.stabs	"uint_least32_t:t(8,16)=(8,6)",128,0,177,0
66
  60               		.stabs	"uint_least32_t:t(8,16)=(8,6)",128,0,177,0
Line 116... Line 116...
116
  18:Executive.c   ****     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
116
  18:Executive.c   ****     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
117
  19:Executive.c   **** 
117
  19:Executive.c   **** 
118
  20:Executive.c   ****    For more information on the AVRcam, please contact:
118
  20:Executive.c   ****    For more information on the AVRcam, please contact:
119
  21:Executive.c   **** 
119
  21:Executive.c   **** 
120
  22:Executive.c   ****    john@jrobot.net
120
  22:Executive.c   ****    john@jrobot.net
121
GAS LISTING /tmp/ccyu5Mfw.s 			page 3
121
GAS LISTING /tmp/ccYxWDEV.s 			page 3
122
 
122
 
123
 
123
 
124
  23:Executive.c   **** 
124
  23:Executive.c   **** 
125
  24:Executive.c   ****    or go to www.jrobot.net for more details regarding the system.
125
  24:Executive.c   ****    or go to www.jrobot.net for more details regarding the system.
126
  25:Executive.c   **** */
126
  25:Executive.c   **** */
Line 176... Line 176...
176
  75:Executive.c   **** 
176
  75:Executive.c   **** 
177
  76:Executive.c   **** /*  Definitions */
177
  76:Executive.c   **** /*  Definitions */
178
  77:Executive.c   **** #define IS_DATA_IN_EVENT_FIFO() (!(Exec_eventFifoHead == Exec_eventFifoTail))
178
  77:Executive.c   **** #define IS_DATA_IN_EVENT_FIFO() (!(Exec_eventFifoHead == Exec_eventFifoTail))
179
  78:Executive.c   **** /***********************************************************
179
  78:Executive.c   **** /***********************************************************
180
  79:Executive.c   **** 	Function Name: Exec_run
180
  79:Executive.c   **** 	Function Name: Exec_run
181
GAS LISTING /tmp/ccyu5Mfw.s 			page 4
181
GAS LISTING /tmp/ccYxWDEV.s 			page 4
182
 
182
 
183
 
183
 
184
  80:Executive.c   **** 	Function Description: This function is responsible for
184
  80:Executive.c   **** 	Function Description: This function is responsible for
185
  81:Executive.c   **** 	running the main control loop.  The control loop is 
185
  81:Executive.c   **** 	running the main control loop.  The control loop is 
186
  82:Executive.c   **** 	based on checking both the fast-event bitmask (for high
186
  82:Executive.c   **** 	based on checking both the fast-event bitmask (for high
Line 236... Line 236...
236
 132:Executive.c   **** 					break;
236
 132:Executive.c   **** 					break;
237
 133:Executive.c   **** 					
237
 133:Executive.c   **** 					
238
 134:Executive.c   **** 				case (EV_ENABLE_TRACKING):
238
 134:Executive.c   **** 				case (EV_ENABLE_TRACKING):
239
 135:Executive.c   **** 					FrameMgr_dispatchEvent(eventGenerated);
239
 135:Executive.c   **** 					FrameMgr_dispatchEvent(eventGenerated);
240
 136:Executive.c   **** 					break;
240
 136:Executive.c   **** 					break;
241
GAS LISTING /tmp/ccyu5Mfw.s 			page 5
241
GAS LISTING /tmp/ccYxWDEV.s 			page 5
242
 
242
 
243
 
243
 
244
 137:Executive.c   **** 					
244
 137:Executive.c   **** 					
245
 138:Executive.c   **** 				case (EV_DISABLE_TRACKING):
245
 138:Executive.c   **** 				case (EV_DISABLE_TRACKING):
246
 139:Executive.c   **** 					FrameMgr_dispatchEvent(eventGenerated);
246
 139:Executive.c   **** 					FrameMgr_dispatchEvent(eventGenerated);
Line 296... Line 296...
296
 189:Executive.c   **** 	DISABLE_INTS();
296
 189:Executive.c   **** 	DISABLE_INTS();
297
 190:Executive.c   **** 	/* just return the current tail from the tx fifo */
297
 190:Executive.c   **** 	/* just return the current tail from the tx fifo */
298
 191:Executive.c   **** 	dataByte = Exec_eventFifo[Exec_eventFifoTail];	
298
 191:Executive.c   **** 	dataByte = Exec_eventFifo[Exec_eventFifoTail];	
299
 192:Executive.c   **** 	tmpTail = (Exec_eventFifoTail+1) & (EXEC_EVENT_FIFO_MASK);
299
 192:Executive.c   **** 	tmpTail = (Exec_eventFifoTail+1) & (EXEC_EVENT_FIFO_MASK);
300
 193:Executive.c   **** 	Exec_eventFifoTail = tmpTail;
300
 193:Executive.c   **** 	Exec_eventFifoTail = tmpTail;
301
GAS LISTING /tmp/ccyu5Mfw.s 			page 6
301
GAS LISTING /tmp/ccYxWDEV.s 			page 6
302
 
302
 
303
 
303
 
304
 194:Executive.c   **** 	ENABLE_INTS();
304
 194:Executive.c   **** 	ENABLE_INTS();
305
 195:Executive.c   **** 	
305
 195:Executive.c   **** 	
306
 196:Executive.c   **** 	return(dataByte);
306
 196:Executive.c   **** 	return(dataByte);
Line 356... Line 356...
356
 121 001a 0895      		ret
356
 121 001a 0895      		ret
357
 122               	/* epilogue end (size=1) */
357
 122               	/* epilogue end (size=1) */
358
 123               	/* function Exec_writeEventFifo size 16 (15) */
358
 123               	/* function Exec_writeEventFifo size 16 (15) */
359
 124               		.size	Exec_writeEventFifo, .-Exec_writeEventFifo
359
 124               		.size	Exec_writeEventFifo, .-Exec_writeEventFifo
360
 125               	.Lscope0:
360
 125               	.Lscope0:
361
GAS LISTING /tmp/ccyu5Mfw.s 			page 7
361
GAS LISTING /tmp/ccYxWDEV.s 			page 7
362
 
362
 
363
 
363
 
364
 126               		.stabs	"",36,0,0,.Lscope0-Exec_writeEventFifo
364
 126               		.stabs	"",36,0,0,.Lscope0-Exec_writeEventFifo
365
 127               		.stabd	78,0,0
365
 127               		.stabd	78,0,0
366
 128               		.stabs	"Exec_run:F(0,15)",36,0,90,Exec_run
366
 128               		.stabs	"Exec_run:F(0,15)",36,0,90,Exec_run
Line 416... Line 416...
416
 178               	.LM15:
416
 178               	.LM15:
417
 179               	/* #NOAPP */
417
 179               	/* #NOAPP */
418
 180 0040 8D7F      		andi r24,lo8(-3)
418
 180 0040 8D7F      		andi r24,lo8(-3)
419
 181 0042 8093 0000 		sts fastEventBitmask,r24
419
 181 0042 8093 0000 		sts fastEventBitmask,r24
420
 182               		.stabn	68,0,120,.LM16-Exec_run
420
 182               		.stabn	68,0,120,.LM16-Exec_run
421
GAS LISTING /tmp/ccyu5Mfw.s 			page 8
421
GAS LISTING /tmp/ccYxWDEV.s 			page 8
422
 
422
 
423
 
423
 
424
 183               	.LM16:
424
 183               	.LM16:
425
 184               	/* #APP */
425
 184               	/* #APP */
426
 185 0046 7894      		sei
426
 185 0046 7894      		sei
Line 476... Line 476...
476
 235 0080 18F4      		brsh .L22
476
 235 0080 18F4      		brsh .L22
477
 236 0082 8130      		cpi r24,lo8(1)
477
 236 0082 8130      		cpi r24,lo8(1)
478
 237 0084 59F6      		brne .L30
478
 237 0084 59F6      		brne .L30
479
 238 0086 2BC0      		rjmp .L12
479
 238 0086 2BC0      		rjmp .L12
480
 239               	.L22:
480
 239               	.L22:
481
GAS LISTING /tmp/ccyu5Mfw.s 			page 9
481
GAS LISTING /tmp/ccYxWDEV.s 			page 9
482
 
482
 
483
 
483
 
484
 240 0088 8430      		cpi r24,lo8(4)
484
 240 0088 8430      		cpi r24,lo8(4)
485
 241 008a 31F1      		breq .L14
485
 241 008a 31F1      		breq .L14
486
 242 008c 8830      		cpi r24,lo8(8)
486
 242 008c 8830      		cpi r24,lo8(8)
Line 536... Line 536...
536
 292               	.LM29:
536
 292               	.LM29:
537
 293 00cc 80E2      		ldi r24,lo8(32)
537
 293 00cc 80E2      		ldi r24,lo8(32)
538
 294 00ce 00D0      		rcall FrameMgr_dispatchEvent
538
 294 00ce 00D0      		rcall FrameMgr_dispatchEvent
539
 295 00d0 A5CF      		rjmp .L30
539
 295 00d0 A5CF      		rjmp .L30
540
 296               	.L15:
540
 296               	.L15:
541
GAS LISTING /tmp/ccyu5Mfw.s 			page 10
541
GAS LISTING /tmp/ccYxWDEV.s 			page 10
542
 
542
 
543
 
543
 
544
 297               		.stabn	68,0,152,.LM30-Exec_run
544
 297               		.stabn	68,0,152,.LM30-Exec_run
545
 298               	.LM30:
545
 298               	.LM30:
546
 299 00d2 88E0      		ldi r24,lo8(8)
546
 299 00d2 88E0      		ldi r24,lo8(8)
Line 596... Line 596...
596
 349               	.global	fastEventBitmask
596
 349               	.global	fastEventBitmask
597
 350               		.type	fastEventBitmask, @object
597
 350               		.type	fastEventBitmask, @object
598
 351               		.size	fastEventBitmask, 1
598
 351               		.size	fastEventBitmask, 1
599
 352               	fastEventBitmask:
599
 352               	fastEventBitmask:
600
 353 0002 00        		.skip 1,0
600
 353 0002 00        		.skip 1,0
601
GAS LISTING /tmp/ccyu5Mfw.s 			page 11
601
GAS LISTING /tmp/ccYxWDEV.s 			page 11
602
 
602
 
603
 
603
 
604
 354               		.comm Exec_eventFifo,8,1
604
 354               		.comm Exec_eventFifo,8,1
605
 355               		.stabs	"fastEventBitmask:G(0,11)",32,0,74,0
605
 355               		.stabs	"fastEventBitmask:G(0,11)",32,0,74,0
606
 356               		.stabs	"Exec_eventFifo:G(0,16)=ar(0,17)=r(0,17);0;0177777;;0;7;(0,11)",32,0,63,0
606
 356               		.stabs	"Exec_eventFifo:G(0,16)=ar(0,17)=r(0,17);0;0177777;;0;7;(0,11)",32,0,63,0
Line 608... Line 608...
608
 358               		.stabs	"Exec_eventFifoTail:G(0,11)",32,0,65,0
608
 358               		.stabs	"Exec_eventFifoTail:G(0,11)",32,0,65,0
609
 359               		.text
609
 359               		.text
610
 360               		.stabs	"",100,0,0,.Letext0
610
 360               		.stabs	"",100,0,0,.Letext0
611
 361               	.Letext0:
611
 361               	.Letext0:
612
 362               	/* File "Executive.c": code  127 = 0x007f ( 126), prologues   0, epilogues   1 */
612
 362               	/* File "Executive.c": code  127 = 0x007f ( 126), prologues   0, epilogues   1 */
613
GAS LISTING /tmp/ccyu5Mfw.s 			page 12
613
GAS LISTING /tmp/ccYxWDEV.s 			page 12
614
 
614
 
615
 
615
 
616
DEFINED SYMBOLS
616
DEFINED SYMBOLS
617
                            *ABS*:00000000 Executive.c
617
                            *ABS*:00000000 Executive.c
618
     /tmp/ccyu5Mfw.s:3      *ABS*:0000003f __SREG__
618
     /tmp/ccYxWDEV.s:3      *ABS*:0000003f __SREG__
619
     /tmp/ccyu5Mfw.s:4      *ABS*:0000003e __SP_H__
619
     /tmp/ccYxWDEV.s:4      *ABS*:0000003e __SP_H__
620
     /tmp/ccyu5Mfw.s:5      *ABS*:0000003d __SP_L__
620
     /tmp/ccYxWDEV.s:5      *ABS*:0000003d __SP_L__
621
     /tmp/ccyu5Mfw.s:6      *ABS*:00000000 __tmp_reg__
621
     /tmp/ccYxWDEV.s:6      *ABS*:00000000 __tmp_reg__
622
     /tmp/ccyu5Mfw.s:7      *ABS*:00000001 __zero_reg__
622
     /tmp/ccYxWDEV.s:7      *ABS*:00000001 __zero_reg__
623
     /tmp/ccyu5Mfw.s:91     .text:00000000 Exec_writeEventFifo
623
     /tmp/ccYxWDEV.s:91     .text:00000000 Exec_writeEventFifo
624
     /tmp/ccyu5Mfw.s:340    .bss:00000000 Exec_eventFifoHead
624
     /tmp/ccYxWDEV.s:340    .bss:00000000 Exec_eventFifoHead
625
                            *COM*:00000008 Exec_eventFifo
625
                            *COM*:00000008 Exec_eventFifo
626
     /tmp/ccyu5Mfw.s:131    .text:0000001c Exec_run
626
     /tmp/ccYxWDEV.s:131    .text:0000001c Exec_run
627
     /tmp/ccyu5Mfw.s:352    .bss:00000002 fastEventBitmask
627
     /tmp/ccYxWDEV.s:352    .bss:00000002 fastEventBitmask
628
     /tmp/ccyu5Mfw.s:346    .bss:00000001 Exec_eventFifoTail
628
     /tmp/ccYxWDEV.s:346    .bss:00000001 Exec_eventFifoTail
629
 
629
 
630
UNDEFINED SYMBOLS
630
UNDEFINED SYMBOLS
631
__do_copy_data
631
__do_copy_data
632
__do_clear_bss
632
__do_clear_bss
633
FrameMgr_processLine
633
FrameMgr_processLine