Subversion Repositories svnkaklik

Rev

Rev 174 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 174 Rev 182
Line 1... Line 1...
1
GAS LISTING /tmp/cct6zTlg.s 			page 1
1
GAS LISTING /tmp/ccRvT1Qm.s 			page 1
2
 
2
 
3
 
3
 
4
   1               		.file	"UIMgr.c"
4
   1               		.file	"UIMgr.c"
5
   2               		.arch atmega8
5
   2               		.arch atmega8
6
   3               	__SREG__ = 0x3f
6
   3               	__SREG__ = 0x3f
Line 56... Line 56...
56
  53               		.stabs	"uint_fast8_t:t(4,20)=(4,2)",128,0,205,0
56
  53               		.stabs	"uint_fast8_t:t(4,20)=(4,2)",128,0,205,0
57
  54               		.stabs	"int_fast16_t:t(4,21)=(4,3)",128,0,210,0
57
  54               		.stabs	"int_fast16_t:t(4,21)=(4,3)",128,0,210,0
58
  55               		.stabs	"uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
58
  55               		.stabs	"uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
59
  56               		.stabs	"int_fast32_t:t(4,23)=(4,5)",128,0,220,0
59
  56               		.stabs	"int_fast32_t:t(4,23)=(4,5)",128,0,220,0
60
  57               		.stabs	"uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
60
  57               		.stabs	"uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
61
GAS LISTING /tmp/cct6zTlg.s 			page 2
61
GAS LISTING /tmp/ccRvT1Qm.s 			page 2
62
 
62
 
63
 
63
 
64
  58               		.stabs	"int_fast64_t:t(4,25)=(4,7)",128,0,230,0
64
  58               		.stabs	"int_fast64_t:t(4,25)=(4,7)",128,0,230,0
65
  59               		.stabs	"uint_fast64_t:t(4,26)=(4,8)",128,0,235,0
65
  59               		.stabs	"uint_fast64_t:t(4,26)=(4,8)",128,0,235,0
66
  60               		.stabs	"intmax_t:t(4,27)=(4,7)",128,0,249,0
66
  60               		.stabs	"intmax_t:t(4,27)=(4,7)",128,0,249,0
Line 116... Line 116...
116
  15:UIMgr.c       **** 
116
  15:UIMgr.c       **** 
117
  16:UIMgr.c       ****     You should have received a copy of the GNU General Public
117
  16:UIMgr.c       ****     You should have received a copy of the GNU General Public
118
  17:UIMgr.c       ****     License along with this program; if not, write to the Free Software
118
  17:UIMgr.c       ****     License along with this program; if not, write to the Free Software
119
  18:UIMgr.c       ****     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
119
  18:UIMgr.c       ****     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
120
  19:UIMgr.c       **** 
120
  19:UIMgr.c       **** 
121
GAS LISTING /tmp/cct6zTlg.s 			page 3
121
GAS LISTING /tmp/ccRvT1Qm.s 			page 3
122
 
122
 
123
 
123
 
124
  20:UIMgr.c       ****    For more information on the AVRcam, please contact:
124
  20:UIMgr.c       ****    For more information on the AVRcam, please contact:
125
  21:UIMgr.c       **** 
125
  21:UIMgr.c       **** 
126
  22:UIMgr.c       ****    john@jrobot.net
126
  22:UIMgr.c       ****    john@jrobot.net
Line 176... Line 176...
176
  72:UIMgr.c       **** 	pingCmd,
176
  72:UIMgr.c       **** 	pingCmd,
177
  73:UIMgr.c       **** 	setCameraRegsCmd,
177
  73:UIMgr.c       **** 	setCameraRegsCmd,
178
  74:UIMgr.c       **** 	dumpFrameCmd,
178
  74:UIMgr.c       **** 	dumpFrameCmd,
179
  75:UIMgr.c       **** 	enableTrackingCmd,
179
  75:UIMgr.c       **** 	enableTrackingCmd,
180
  76:UIMgr.c       **** 	disableTrackingCmd,
180
  76:UIMgr.c       **** 	disableTrackingCmd,
181
GAS LISTING /tmp/cct6zTlg.s 			page 4
181
GAS LISTING /tmp/ccRvT1Qm.s 			page 4
182
 
182
 
183
 
183
 
184
  77:UIMgr.c       **** 	setColorMapCmd,
184
  77:UIMgr.c       **** 	setColorMapCmd,
185
  78:UIMgr.c       **** 	resetCameraCmd,
185
  78:UIMgr.c       **** 	resetCameraCmd,
186
  79:UIMgr.c       **** 	noCmd,
186
  79:UIMgr.c       **** 	noCmd,
Line 236... Line 236...
236
 129:UIMgr.c       **** 	Function Name: UIMgr_init
236
 129:UIMgr.c       **** 	Function Name: UIMgr_init
237
 130:UIMgr.c       **** 	Function Description: This function is responsible for
237
 130:UIMgr.c       **** 	Function Description: This function is responsible for
238
 131:UIMgr.c       **** 	initializing the UIMgr module.  It sets up the fifo
238
 131:UIMgr.c       **** 	initializing the UIMgr module.  It sets up the fifo
239
 132:UIMgr.c       **** 	used to hold incoming data, etc.
239
 132:UIMgr.c       **** 	used to hold incoming data, etc.
240
 133:UIMgr.c       **** 	Inputs:  none 
240
 133:UIMgr.c       **** 	Inputs:  none 
241
GAS LISTING /tmp/cct6zTlg.s 			page 5
241
GAS LISTING /tmp/ccRvT1Qm.s 			page 5
242
 
242
 
243
 
243
 
244
 134:UIMgr.c       **** 	Outputs: none
244
 134:UIMgr.c       **** 	Outputs: none
245
 135:UIMgr.c       **** ***********************************************************/	
245
 135:UIMgr.c       **** ***********************************************************/	
246
 136:UIMgr.c       **** void UIMgr_init(void)
246
 136:UIMgr.c       **** void UIMgr_init(void)
Line 296... Line 296...
296
 186:UIMgr.c       **** 	Function Name: UIMgr_processReceivedData
296
 186:UIMgr.c       **** 	Function Name: UIMgr_processReceivedData
297
 187:UIMgr.c       **** 	Function Description: This function is responsible for
297
 187:UIMgr.c       **** 	Function Description: This function is responsible for
298
 188:UIMgr.c       **** 	parsing any serial data waiting in the rx fifo
298
 188:UIMgr.c       **** 	parsing any serial data waiting in the rx fifo
299
 189:UIMgr.c       **** 	Inputs:  none 
299
 189:UIMgr.c       **** 	Inputs:  none 
300
 190:UIMgr.c       **** 	Outputs: none
300
 190:UIMgr.c       **** 	Outputs: none
301
GAS LISTING /tmp/cct6zTlg.s 			page 6
301
GAS LISTING /tmp/ccRvT1Qm.s 			page 6
302
 
302
 
303
 
303
 
304
 191:UIMgr.c       **** ***********************************************************/
304
 191:UIMgr.c       **** ***********************************************************/
305
 192:UIMgr.c       **** void UIMgr_processReceivedData(void)
305
 192:UIMgr.c       **** void UIMgr_processReceivedData(void)
306
 193:UIMgr.c       **** {
306
 193:UIMgr.c       **** {
Line 356... Line 356...
356
 243:UIMgr.c       **** 				UIMgr_convertTokenToCmd();
356
 243:UIMgr.c       **** 				UIMgr_convertTokenToCmd();
357
 244:UIMgr.c       **** 				tokenCount++;   /* check this...why is this being incremented here??? This
357
 244:UIMgr.c       **** 				tokenCount++;   /* check this...why is this being incremented here??? This
358
 245:UIMgr.c       ****                 means we have received a token, with tokenCount == 0, which means it is a
358
 245:UIMgr.c       ****                 means we have received a token, with tokenCount == 0, which means it is a
359
 246:UIMgr.c       ****                 command...why is this contributing to tokenCount?
359
 246:UIMgr.c       ****                 command...why is this contributing to tokenCount?
360
 247:UIMgr.c       ****                 This might cause the set color map command to include too much data, since
360
 247:UIMgr.c       ****                 This might cause the set color map command to include too much data, since
361
GAS LISTING /tmp/cct6zTlg.s 			page 7
361
GAS LISTING /tmp/ccRvT1Qm.s 			page 7
362
 
362
 
363
 
363
 
364
 248:UIMgr.c       ****                 it sets the color map based on tokenCount...CHECK*/
364
 248:UIMgr.c       ****                 it sets the color map based on tokenCount...CHECK*/
365
 249:UIMgr.c       **** 			}
365
 249:UIMgr.c       **** 			}
366
 250:UIMgr.c       **** 			else
366
 250:UIMgr.c       **** 			else
Line 416... Line 416...
416
 300:UIMgr.c       **** 	Function Name: UIMgr_executeCmd
416
 300:UIMgr.c       **** 	Function Name: UIMgr_executeCmd
417
 301:UIMgr.c       **** 	Function Description: This function is responsible for
417
 301:UIMgr.c       **** 	Function Description: This function is responsible for
418
 302:UIMgr.c       **** 	executing whatever cmd is stored in the receivedCmd
418
 302:UIMgr.c       **** 	executing whatever cmd is stored in the receivedCmd
419
 303:UIMgr.c       **** 	object.
419
 303:UIMgr.c       **** 	object.
420
 304:UIMgr.c       **** 	Inputs:  none 
420
 304:UIMgr.c       **** 	Inputs:  none 
421
GAS LISTING /tmp/cct6zTlg.s 			page 8
421
GAS LISTING /tmp/ccRvT1Qm.s 			page 8
422
 
422
 
423
 
423
 
424
 305:UIMgr.c       **** 	Outputs: none
424
 305:UIMgr.c       **** 	Outputs: none
425
 306:UIMgr.c       **** ***********************************************************/
425
 306:UIMgr.c       **** ***********************************************************/
426
 307:UIMgr.c       **** static void UIMgr_executeCmd(void)
426
 307:UIMgr.c       **** static void UIMgr_executeCmd(void)
Line 476... Line 476...
476
 357:UIMgr.c       **** 		Utility_delay(100);
476
 357:UIMgr.c       **** 		Utility_delay(100);
477
 358:UIMgr.c       **** 		PUBLISH_EVENT(EV_ENABLE_TRACKING);
477
 358:UIMgr.c       **** 		PUBLISH_EVENT(EV_ENABLE_TRACKING);
478
 359:UIMgr.c       **** 	}
478
 359:UIMgr.c       **** 	}
479
 360:UIMgr.c       **** 	else if (receivedCmd == disableTrackingCmd)
479
 360:UIMgr.c       **** 	else if (receivedCmd == disableTrackingCmd)
480
 361:UIMgr.c       **** 	{
480
 361:UIMgr.c       **** 	{
481
GAS LISTING /tmp/cct6zTlg.s 			page 9
481
GAS LISTING /tmp/ccRvT1Qm.s 			page 9
482
 
482
 
483
 
483
 
484
 362:UIMgr.c       **** 		PUBLISH_EVENT(EV_DISABLE_TRACKING);
484
 362:UIMgr.c       **** 		PUBLISH_EVENT(EV_DISABLE_TRACKING);
485
 363:UIMgr.c       **** 	}
485
 363:UIMgr.c       **** 	}
486
 364:UIMgr.c       **** 	else if (receivedCmd == setColorMapCmd)
486
 364:UIMgr.c       **** 	else if (receivedCmd == setColorMapCmd)
Line 536... Line 536...
536
 414:UIMgr.c       **** 	Function Description: This function is responsible for
536
 414:UIMgr.c       **** 	Function Description: This function is responsible for
537
 415:UIMgr.c       **** 	converting a received token to a hex value It will
537
 415:UIMgr.c       **** 	converting a received token to a hex value It will
538
 416:UIMgr.c       **** 	access the asciiTokenBuffer directly, and store the
538
 416:UIMgr.c       **** 	access the asciiTokenBuffer directly, and store the
539
 417:UIMgr.c       **** 	result in the appropriate token buffer.
539
 417:UIMgr.c       **** 	result in the appropriate token buffer.
540
 418:UIMgr.c       **** 	Inputs:  none 
540
 418:UIMgr.c       **** 	Inputs:  none 
541
GAS LISTING /tmp/cct6zTlg.s 			page 10
541
GAS LISTING /tmp/ccRvT1Qm.s 			page 10
542
 
542
 
543
 
543
 
544
 419:UIMgr.c       **** 	Outputs: none
544
 419:UIMgr.c       **** 	Outputs: none
545
 420:UIMgr.c       **** ***********************************************************/	
545
 420:UIMgr.c       **** ***********************************************************/	
546
 421:UIMgr.c       **** static void UIMgr_convertTokenToValue(void)
546
 421:UIMgr.c       **** static void UIMgr_convertTokenToValue(void)
Line 596... Line 596...
596
 471:UIMgr.c       **** 	           (asciiTokenBuffer[1] == 'R') )
596
 471:UIMgr.c       **** 	           (asciiTokenBuffer[1] == 'R') )
597
 472:UIMgr.c       **** 	{
597
 472:UIMgr.c       **** 	{
598
 473:UIMgr.c       **** 		/* the user wants to set registers in the OV6620 */
598
 473:UIMgr.c       **** 		/* the user wants to set registers in the OV6620 */
599
 474:UIMgr.c       **** 		receivedCmd = setCameraRegsCmd;
599
 474:UIMgr.c       **** 		receivedCmd = setCameraRegsCmd;
600
 475:UIMgr.c       **** 	}
600
 475:UIMgr.c       **** 	}
601
GAS LISTING /tmp/cct6zTlg.s 			page 11
601
GAS LISTING /tmp/ccRvT1Qm.s 			page 11
602
 
602
 
603
 
603
 
604
 476:UIMgr.c       **** 	else if ( (asciiTokenBuffer[0] == 'E') &&
604
 476:UIMgr.c       **** 	else if ( (asciiTokenBuffer[0] == 'E') &&
605
 477:UIMgr.c       **** 			   (asciiTokenBuffer[1] == 'T') )
605
 477:UIMgr.c       **** 			   (asciiTokenBuffer[1] == 'T') )
606
 478:UIMgr.c       **** 	{
606
 478:UIMgr.c       **** 	{
Line 656... Line 656...
656
 528:UIMgr.c       **** ***********************************************************/	
656
 528:UIMgr.c       **** ***********************************************************/	
657
 529:UIMgr.c       **** static void UIMgr_sendNck(void)
657
 529:UIMgr.c       **** static void UIMgr_sendNck(void)
658
 530:UIMgr.c       **** {
658
 530:UIMgr.c       **** {
659
 531:UIMgr.c       **** 		UIMgr_writeTxFifo('N');
659
 531:UIMgr.c       **** 		UIMgr_writeTxFifo('N');
660
 532:UIMgr.c       **** 		UIMgr_writeTxFifo('C');
660
 532:UIMgr.c       **** 		UIMgr_writeTxFifo('C');
661
GAS LISTING /tmp/cct6zTlg.s 			page 12
661
GAS LISTING /tmp/ccRvT1Qm.s 			page 12
662
 
662
 
663
 
663
 
664
 533:UIMgr.c       **** 		UIMgr_writeTxFifo('K');
664
 533:UIMgr.c       **** 		UIMgr_writeTxFifo('K');
665
 534:UIMgr.c       **** 		UIMgr_writeTxFifo('\r');
665
 534:UIMgr.c       **** 		UIMgr_writeTxFifo('\r');
666
 535:UIMgr.c       **** }
666
 535:UIMgr.c       **** }
Line 716... Line 716...
716
 123               		.stabn	68,0,557,.LM4-UIMgr_writeBufferToTxFifo
716
 123               		.stabn	68,0,557,.LM4-UIMgr_writeBufferToTxFifo
717
 124               	.LM4:
717
 124               	.LM4:
718
 125 001c 8091 0000 		lds r24,UIMgr_txFifoHead
718
 125 001c 8091 0000 		lds r24,UIMgr_txFifoHead
719
 126 0020 FA01      		movw r30,r20
719
 126 0020 FA01      		movw r30,r20
720
 127 0022 E80F      		add r30,r24
720
 127 0022 E80F      		add r30,r24
721
GAS LISTING /tmp/cct6zTlg.s 			page 13
721
GAS LISTING /tmp/ccRvT1Qm.s 			page 13
722
 
722
 
723
 
723
 
724
 128 0024 F11D      		adc r31,__zero_reg__
724
 128 0024 F11D      		adc r31,__zero_reg__
725
 129 0026 9D91      		ld r25,X+
725
 129 0026 9D91      		ld r25,X+
726
 130 0028 9083      		st Z,r25
726
 130 0028 9083      		st Z,r25
Line 776... Line 776...
776
 577:UIMgr.c       **** 	while(length-- != 0)
776
 577:UIMgr.c       **** 	while(length-- != 0)
777
 578:UIMgr.c       **** 	{
777
 578:UIMgr.c       **** 	{
778
 579:UIMgr.c       **** 		UartInt_txByte(*pData++); 
778
 579:UIMgr.c       **** 		UartInt_txByte(*pData++); 
779
 580:UIMgr.c       **** 	}
779
 580:UIMgr.c       **** 	}
780
 581:UIMgr.c       **** }
780
 581:UIMgr.c       **** }
781
GAS LISTING /tmp/cct6zTlg.s 			page 14
781
GAS LISTING /tmp/ccRvT1Qm.s 			page 14
782
 
782
 
783
 
783
 
784
 582:UIMgr.c       **** 
784
 582:UIMgr.c       **** 
785
 583:UIMgr.c       **** /***********************************************************
785
 583:UIMgr.c       **** /***********************************************************
786
 584:UIMgr.c       **** 	Function Name: UIMgr_flushTxBuffer
786
 584:UIMgr.c       **** 	Function Name: UIMgr_flushTxBuffer
Line 836... Line 836...
836
 164               	/* prologue end (size=0) */
836
 164               	/* prologue end (size=0) */
837
 631:UIMgr.c       **** 	unsigned char dataByte, tmpTail;
837
 631:UIMgr.c       **** 	unsigned char dataByte, tmpTail;
838
 632:UIMgr.c       **** 	
838
 632:UIMgr.c       **** 	
839
 633:UIMgr.c       **** 	/* just return the current tail from the tx fifo */
839
 633:UIMgr.c       **** 	/* just return the current tail from the tx fifo */
840
 634:UIMgr.c       **** 	DISABLE_INTS();
840
 634:UIMgr.c       **** 	DISABLE_INTS();
841
GAS LISTING /tmp/cct6zTlg.s 			page 15
841
GAS LISTING /tmp/ccRvT1Qm.s 			page 15
842
 
842
 
843
 
843
 
844
 165               		.stabn	68,0,634,.LM9-UIMgr_readTxFifo
844
 165               		.stabn	68,0,634,.LM9-UIMgr_readTxFifo
845
 166               	.LM9:
845
 166               	.LM9:
846
 167               	/* #APP */
846
 167               	/* #APP */
Line 896... Line 896...
896
 644:UIMgr.c       **** 	Function Name: UIMgr_writeTxFifo
896
 644:UIMgr.c       **** 	Function Name: UIMgr_writeTxFifo
897
 645:UIMgr.c       **** 	Function Description: This function is responsible for
897
 645:UIMgr.c       **** 	Function Description: This function is responsible for
898
 646:UIMgr.c       **** 	writing a single byte to the TxFifo and
898
 646:UIMgr.c       **** 	writing a single byte to the TxFifo and
899
 647:UIMgr.c       **** 	updating the appropriate pointers.
899
 647:UIMgr.c       **** 	updating the appropriate pointers.
900
 648:UIMgr.c       **** 	Inputs:  data - the byte to write to the Fifo 
900
 648:UIMgr.c       **** 	Inputs:  data - the byte to write to the Fifo 
901
GAS LISTING /tmp/cct6zTlg.s 			page 16
901
GAS LISTING /tmp/ccRvT1Qm.s 			page 16
902
 
902
 
903
 
903
 
904
 649:UIMgr.c       **** 	Outputs: none
904
 649:UIMgr.c       **** 	Outputs: none
905
 650:UIMgr.c       **** ***********************************************************/	
905
 650:UIMgr.c       **** ***********************************************************/	
906
 651:UIMgr.c       **** void UIMgr_writeTxFifo(unsigned char data)
906
 651:UIMgr.c       **** void UIMgr_writeTxFifo(unsigned char data)
Line 956... Line 956...
956
 247               		.stabd	46,0,0
956
 247               		.stabd	46,0,0
957
 248               		.stabn	68,0,592,.LM19-UIMgr_flushTxBuffer
957
 248               		.stabn	68,0,592,.LM19-UIMgr_flushTxBuffer
958
 249               	.LM19:
958
 249               	.LM19:
959
 250               	/* prologue: frame size=0 */
959
 250               	/* prologue: frame size=0 */
960
 251               	/* prologue end (size=0) */
960
 251               	/* prologue end (size=0) */
961
GAS LISTING /tmp/cct6zTlg.s 			page 17
961
GAS LISTING /tmp/ccRvT1Qm.s 			page 17
962
 
962
 
963
 
963
 
964
 252               		.stabn	68,0,593,.LM20-UIMgr_flushTxBuffer
964
 252               		.stabn	68,0,593,.LM20-UIMgr_flushTxBuffer
965
 253               	.LM20:
965
 253               	.LM20:
966
 254 0076 9091 0000 		lds r25,UIMgr_txFifoHead
966
 254 0076 9091 0000 		lds r25,UIMgr_txFifoHead
Line 1016... Line 1016...
1016
 304 00a8 861B      		sub r24,r22
1016
 304 00a8 861B      		sub r24,r22
1017
 305 00aa 082F      		mov r16,r24
1017
 305 00aa 082F      		mov r16,r24
1018
 306 00ac 0250      		subi r16,lo8(-(-2))
1018
 306 00ac 0250      		subi r16,lo8(-(-2))
1019
 307               	.L22:
1019
 307               	.L22:
1020
 308               		.stabn	68,0,579,.LM26-UIMgr_txBuffer
1020
 308               		.stabn	68,0,579,.LM26-UIMgr_txBuffer
1021
GAS LISTING /tmp/cct6zTlg.s 			page 18
1021
GAS LISTING /tmp/ccRvT1Qm.s 			page 18
1022
 
1022
 
1023
 
1023
 
1024
 309               	.LM26:
1024
 309               	.LM26:
1025
 310 00ae 8991      		ld r24,Y+
1025
 310 00ae 8991      		ld r24,Y+
1026
 311 00b0 00D0      		rcall UartInt_txByte
1026
 311 00b0 00D0      		rcall UartInt_txByte
Line 1076... Line 1076...
1076
 361               	UIMgr_convertTokenToCmd:
1076
 361               	UIMgr_convertTokenToCmd:
1077
 362               		.stabd	46,0,0
1077
 362               		.stabd	46,0,0
1078
 363               		.stabn	68,0,450,.LM31-UIMgr_convertTokenToCmd
1078
 363               		.stabn	68,0,450,.LM31-UIMgr_convertTokenToCmd
1079
 364               	.LM31:
1079
 364               	.LM31:
1080
 365               	/* prologue: frame size=0 */
1080
 365               	/* prologue: frame size=0 */
1081
GAS LISTING /tmp/cct6zTlg.s 			page 19
1081
GAS LISTING /tmp/ccRvT1Qm.s 			page 19
1082
 
1082
 
1083
 
1083
 
1084
 366               	/* prologue end (size=0) */
1084
 366               	/* prologue end (size=0) */
1085
 367               		.stabn	68,0,451,.LM32-UIMgr_convertTokenToCmd
1085
 367               		.stabn	68,0,451,.LM32-UIMgr_convertTokenToCmd
1086
 368               	.LM32:
1086
 368               	.LM32:
Line 1136... Line 1136...
1136
 418 0120 8093 0000 		sts receivedCmd,r24
1136
 418 0120 8093 0000 		sts receivedCmd,r24
1137
 419 0124 2BC0      		rjmp .L34
1137
 419 0124 2BC0      		rjmp .L34
1138
 420               	.L32:
1138
 420               	.L32:
1139
 421               		.stabn	68,0,476,.LM41-UIMgr_convertTokenToCmd
1139
 421               		.stabn	68,0,476,.LM41-UIMgr_convertTokenToCmd
1140
 422               	.LM41:
1140
 422               	.LM41:
1141
GAS LISTING /tmp/cct6zTlg.s 			page 20
1141
GAS LISTING /tmp/ccRvT1Qm.s 			page 20
1142
 
1142
 
1143
 
1143
 
1144
 423 0126 9534      		cpi r25,lo8(69)
1144
 423 0126 9534      		cpi r25,lo8(69)
1145
 424 0128 41F4      		brne .L37
1145
 424 0128 41F4      		brne .L37
1146
 425 012a 8091 0000 		lds r24,asciiTokenBuffer+1
1146
 425 012a 8091 0000 		lds r24,asciiTokenBuffer+1
Line 1196... Line 1196...
1196
 475 0176 89E0      		ldi r24,lo8(9)
1196
 475 0176 89E0      		ldi r24,lo8(9)
1197
 476 0178 8093 0000 		sts receivedCmd,r24
1197
 476 0178 8093 0000 		sts receivedCmd,r24
1198
 477               	.L34:
1198
 477               	.L34:
1199
 478               		.stabn	68,0,503,.LM50-UIMgr_convertTokenToCmd
1199
 478               		.stabn	68,0,503,.LM50-UIMgr_convertTokenToCmd
1200
 479               	.LM50:
1200
 479               	.LM50:
1201
GAS LISTING /tmp/cct6zTlg.s 			page 21
1201
GAS LISTING /tmp/ccRvT1Qm.s 			page 21
1202
 
1202
 
1203
 
1203
 
1204
 480 017c 83E0      		ldi r24,lo8(3)
1204
 480 017c 83E0      		ldi r24,lo8(3)
1205
 481 017e E0E0      		ldi r30,lo8(asciiTokenBuffer)
1205
 481 017e E0E0      		ldi r30,lo8(asciiTokenBuffer)
1206
 482 0180 F0E0      		ldi r31,hi8(asciiTokenBuffer)
1206
 482 0180 F0E0      		ldi r31,hi8(asciiTokenBuffer)
Line 1256... Line 1256...
1256
 532               	.LM57:
1256
 532               	.LM57:
1257
 533 01ba 80E2      		ldi r24,lo8(32)
1257
 533 01ba 80E2      		ldi r24,lo8(32)
1258
 534 01bc E0E0      		ldi r30,lo8(UIMgr_rxFifo)
1258
 534 01bc E0E0      		ldi r30,lo8(UIMgr_rxFifo)
1259
 535 01be F0E0      		ldi r31,hi8(UIMgr_rxFifo)
1259
 535 01be F0E0      		ldi r31,hi8(UIMgr_rxFifo)
1260
 536 01c0 1192      		st Z+,__zero_reg__
1260
 536 01c0 1192      		st Z+,__zero_reg__
1261
GAS LISTING /tmp/cct6zTlg.s 			page 22
1261
GAS LISTING /tmp/ccRvT1Qm.s 			page 22
1262
 
1262
 
1263
 
1263
 
1264
 537 01c2 8A95      	        dec r24
1264
 537 01c2 8A95      	        dec r24
1265
 538 01c4 E9F7      		brne .-6
1265
 538 01c4 E9F7      		brne .-6
1266
 539               	/* epilogue: frame size=0 */
1266
 539               	/* epilogue: frame size=0 */
Line 1316... Line 1316...
1316
 589 01fc 2083      		st Z,r18
1316
 589 01fc 2083      		st Z,r18
1317
 590               	.L61:
1317
 590               	.L61:
1318
 591               		.stabn	68,0,437,.LM64-UIMgr_convertTokenToValue
1318
 591               		.stabn	68,0,437,.LM64-UIMgr_convertTokenToValue
1319
 592               	.LM64:
1319
 592               	.LM64:
1320
 593 01fe 83E0      		ldi r24,lo8(3)
1320
 593 01fe 83E0      		ldi r24,lo8(3)
1321
GAS LISTING /tmp/cct6zTlg.s 			page 23
1321
GAS LISTING /tmp/ccRvT1Qm.s 			page 23
1322
 
1322
 
1323
 
1323
 
1324
 594 0200 E0E0      		ldi r30,lo8(asciiTokenBuffer)
1324
 594 0200 E0E0      		ldi r30,lo8(asciiTokenBuffer)
1325
 595 0202 F0E0      		ldi r31,hi8(asciiTokenBuffer)
1325
 595 0202 F0E0      		ldi r31,hi8(asciiTokenBuffer)
1326
 596 0204 1192      		st Z+,__zero_reg__
1326
 596 0204 1192      		st Z+,__zero_reg__
Line 1376... Line 1376...
1376
 646 022c FF27      		clr r31
1376
 646 022c FF27      		clr r31
1377
 647 022e E050      		subi r30,lo8(-(UIMgr_rxFifo))
1377
 647 022e E050      		subi r30,lo8(-(UIMgr_rxFifo))
1378
 648 0230 F040      		sbci r31,hi8(-(UIMgr_rxFifo))
1378
 648 0230 F040      		sbci r31,hi8(-(UIMgr_rxFifo))
1379
 649 0232 9081      		ld r25,Z
1379
 649 0232 9081      		ld r25,Z
1380
 650               		.stabn	68,0,615,.LM70-UIMgr_processReceivedData
1380
 650               		.stabn	68,0,615,.LM70-UIMgr_processReceivedData
1381
GAS LISTING /tmp/cct6zTlg.s 			page 24
1381
GAS LISTING /tmp/ccRvT1Qm.s 			page 24
1382
 
1382
 
1383
 
1383
 
1384
 651               	.LM70:
1384
 651               	.LM70:
1385
 652 0234 822F      		mov r24,r18
1385
 652 0234 822F      		mov r24,r18
1386
 653 0236 8F5F      		subi r24,lo8(-(1))
1386
 653 0236 8F5F      		subi r24,lo8(-(1))
Line 1436... Line 1436...
1436
 703 0270 F4DE      		rcall UIMgr_writeTxFifo
1436
 703 0270 F4DE      		rcall UIMgr_writeTxFifo
1437
 704               		.stabn	68,0,532,.LM80-UIMgr_processReceivedData
1437
 704               		.stabn	68,0,532,.LM80-UIMgr_processReceivedData
1438
 705               	.LM80:
1438
 705               	.LM80:
1439
 706 0272 83E4      		ldi r24,lo8(67)
1439
 706 0272 83E4      		ldi r24,lo8(67)
1440
 707 0274 F2DE      		rcall UIMgr_writeTxFifo
1440
 707 0274 F2DE      		rcall UIMgr_writeTxFifo
1441
GAS LISTING /tmp/cct6zTlg.s 			page 25
1441
GAS LISTING /tmp/ccRvT1Qm.s 			page 25
1442
 
1442
 
1443
 
1443
 
1444
 708               		.stabn	68,0,533,.LM81-UIMgr_processReceivedData
1444
 708               		.stabn	68,0,533,.LM81-UIMgr_processReceivedData
1445
 709               	.LM81:
1445
 709               	.LM81:
1446
 710 0276 8BE4      		ldi r24,lo8(75)
1446
 710 0276 8BE4      		ldi r24,lo8(75)
Line 1496... Line 1496...
1496
 760               		.stabn	68,0,322,.LM91-UIMgr_processReceivedData
1496
 760               		.stabn	68,0,322,.LM91-UIMgr_processReceivedData
1497
 761               	.LM91:
1497
 761               	.LM91:
1498
 762 02a6 8091 0000 		lds r24,AVRcamVersion
1498
 762 02a6 8091 0000 		lds r24,AVRcamVersion
1499
 763 02aa 8823      		tst r24
1499
 763 02aa 8823      		tst r24
1500
 764 02ac 09F4      		brne .+2
1500
 764 02ac 09F4      		brne .+2
1501
GAS LISTING /tmp/cct6zTlg.s 			page 26
1501
GAS LISTING /tmp/ccRvT1Qm.s 			page 26
1502
 
1502
 
1503
 
1503
 
1504
 765 02ae 73C0      		rjmp .L73
1504
 765 02ae 73C0      		rjmp .L73
1505
 766 02b0 C0E0      		ldi r28,lo8(AVRcamVersion)
1505
 766 02b0 C0E0      		ldi r28,lo8(AVRcamVersion)
1506
 767 02b2 D0E0      		ldi r29,hi8(AVRcamVersion)
1506
 767 02b2 D0E0      		ldi r29,hi8(AVRcamVersion)
Line 1556... Line 1556...
1556
 817               	.LM101:
1556
 817               	.LM101:
1557
 818 02e8 E12F      		mov r30,r17
1557
 818 02e8 E12F      		mov r30,r17
1558
 819 02ea FF27      		clr r31
1558
 819 02ea FF27      		clr r31
1559
 820 02ec E050      		subi r30,lo8(-(tokenBuffer))
1559
 820 02ec E050      		subi r30,lo8(-(tokenBuffer))
1560
 821 02ee F040      		sbci r31,hi8(-(tokenBuffer))
1560
 821 02ee F040      		sbci r31,hi8(-(tokenBuffer))
1561
GAS LISTING /tmp/cct6zTlg.s 			page 27
1561
GAS LISTING /tmp/ccRvT1Qm.s 			page 27
1562
 
1562
 
1563
 
1563
 
1564
 822 02f0 6181      		ldd r22,Z+1
1564
 822 02f0 6181      		ldd r22,Z+1
1565
 823 02f2 8081      		ld r24,Z
1565
 823 02f2 8081      		ld r24,Z
1566
 824 02f4 00D0      		rcall CamConfig_setCamReg
1566
 824 02f4 00D0      		rcall CamConfig_setCamReg
Line 1616... Line 1616...
1616
 874 0330 00E0      		ldi r16,lo8(tokenBuffer)
1616
 874 0330 00E0      		ldi r16,lo8(tokenBuffer)
1617
 875 0332 10E0      		ldi r17,hi8(tokenBuffer)
1617
 875 0332 10E0      		ldi r17,hi8(tokenBuffer)
1618
 876 0334 60E0      		ldi r22,lo8(colorMap)
1618
 876 0334 60E0      		ldi r22,lo8(colorMap)
1619
 877 0336 70E0      		ldi r23,hi8(colorMap)
1619
 877 0336 70E0      		ldi r23,hi8(colorMap)
1620
 878               	.L94:
1620
 878               	.L94:
1621
GAS LISTING /tmp/cct6zTlg.s 			page 28
1621
GAS LISTING /tmp/ccRvT1Qm.s 			page 28
1622
 
1622
 
1623
 
1623
 
1624
 879               		.stabn	68,0,369,.LM111-UIMgr_processReceivedData
1624
 879               		.stabn	68,0,369,.LM111-UIMgr_processReceivedData
1625
 880               	.LM111:
1625
 880               	.LM111:
1626
 881 0338 842F      		mov r24,r20
1626
 881 0338 842F      		mov r24,r20
Line 1676... Line 1676...
1676
  34:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /*
1676
  34:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /*
1677
  35:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****    eeprom.h
1677
  35:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****    eeprom.h
1678
  36:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1678
  36:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1679
  37:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****    Contributors:
1679
  37:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****    Contributors:
1680
  38:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      Created by Marek Michalkiewicz <marekm@linux.org.pl>
1680
  38:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      Created by Marek Michalkiewicz <marekm@linux.org.pl>
1681
GAS LISTING /tmp/cct6zTlg.s 			page 29
1681
GAS LISTING /tmp/ccRvT1Qm.s 			page 29
1682
 
1682
 
1683
 
1683
 
1684
  39:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      eeprom_write_word and eeprom_write_block added by Artur Lipowski 
1684
  39:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      eeprom_write_word and eeprom_write_block added by Artur Lipowski 
1685
  40:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      <LAL@pro.onet.pl>
1685
  40:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      <LAL@pro.onet.pl>
1686
  41:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      Complete rewrite using the original interface by Bjoern Haase 
1686
  41:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      Complete rewrite using the original interface by Bjoern Haase 
Line 1736... Line 1736...
1736
  91:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     routines suitable for handling the data EEPROM contained in the
1736
  91:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     routines suitable for handling the data EEPROM contained in the
1737
  92:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     AVR microcontrollers.  The implementation uses a simple polled
1737
  92:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     AVR microcontrollers.  The implementation uses a simple polled
1738
  93:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     mode interface.  Applications that require interrupt-controlled
1738
  93:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     mode interface.  Applications that require interrupt-controlled
1739
  94:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     EEPROM access to ensure that no time will be wasted in spinloops
1739
  94:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     EEPROM access to ensure that no time will be wasted in spinloops
1740
  95:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     will have to deploy their own implementation.
1740
  95:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     will have to deploy their own implementation.
1741
GAS LISTING /tmp/cct6zTlg.s 			page 30
1741
GAS LISTING /tmp/ccRvT1Qm.s 			page 30
1742
 
1742
 
1743
 
1743
 
1744
  96:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1744
  96:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1745
  97:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \note All of the read/write functions first make sure the EEPROM
1745
  97:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \note All of the read/write functions first make sure the EEPROM
1746
  98:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      is ready to be accessed.  Since this may cause long delays if a
1746
  98:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****      is ready to be accessed.  Since this may cause long delays if a
Line 1796... Line 1796...
1796
 148:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1796
 148:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1797
 149:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \name avr-libc declarations */
1797
 149:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \name avr-libc declarations */
1798
 150:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1798
 150:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1799
 151:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /*@{*/
1799
 151:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /*@{*/
1800
 152:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1800
 152:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** 
1801
GAS LISTING /tmp/cct6zTlg.s 			page 31
1801
GAS LISTING /tmp/ccRvT1Qm.s 			page 31
1802
 
1802
 
1803
 
1803
 
1804
 153:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \def EEMEM
1804
 153:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \def EEMEM
1805
 154:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \ingroup avr_eeprom
1805
 154:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     \ingroup avr_eeprom
1806
 155:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     Attribute expression causing a variable to be allocated within the .eeprom
1806
 155:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     Attribute expression causing a variable to be allocated within the .eeprom
Line 1856... Line 1856...
1856
 910               	.LM113:
1856
 910               	.LM113:
1857
 911 0358 E817      		cp r30,r24
1857
 911 0358 E817      		cp r30,r24
1858
 912 035a C1F0      		breq .L95
1858
 912 035a C1F0      		breq .L95
1859
 913               	.LBB32:
1859
 913               	.LBB32:
1860
 914               	.LBB33:
1860
 914               	.LBB33:
1861
GAS LISTING /tmp/cct6zTlg.s 			page 32
1861
GAS LISTING /tmp/ccRvT1Qm.s 			page 32
1862
 
1862
 
1863
 
1863
 
1864
 915               		.stabs	"/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h",132,0,0,.Ltext3
1864
 915               		.stabs	"/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h",132,0,0,.Ltext3
1865
 916               	.Ltext3:
1865
 916               	.Ltext3:
1866
 193:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****       ( XCALL " __eeprom_read_byte_" _REG_LOCATION_SUFFIX CR_TAB
1866
 193:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****       ( XCALL " __eeprom_read_byte_" _REG_LOCATION_SUFFIX CR_TAB
Line 1916... Line 1916...
1916
 243:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****             "+w" (size)
1916
 243:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****             "+w" (size)
1917
 244:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****            : "x" (pointer_eeprom), 
1917
 244:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****            : "x" (pointer_eeprom), 
1918
 245:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****              "z" (pointer_ram)
1918
 245:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****              "z" (pointer_ram)
1919
 246:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****            : "memory");
1919
 246:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****            : "memory");
1920
 247:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     }
1920
 247:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     }
1921
GAS LISTING /tmp/cct6zTlg.s 			page 33
1921
GAS LISTING /tmp/ccRvT1Qm.s 			page 33
1922
 
1922
 
1923
 
1923
 
1924
 248:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****   else
1924
 248:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****   else
1925
 249:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     {
1925
 249:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****     {
1926
 250:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****       if (n != 0)
1926
 250:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****       if (n != 0)
Line 1976... Line 1976...
1976
 930 0362 D901      		movw r26,r18
1976
 930 0362 D901      		movw r26,r18
1977
 931               	/* #APP */
1977
 931               	/* #APP */
1978
 932 0364 00D0      		rcall __eeprom_read_byte_1C1D1E
1978
 932 0364 00D0      		rcall __eeprom_read_byte_1C1D1E
1979
 933 0366 802D      		mov r24,__tmp_reg__
1979
 933 0366 802D      		mov r24,__tmp_reg__
1980
 934               	/* #NOAPP */
1980
 934               	/* #NOAPP */
1981
GAS LISTING /tmp/cct6zTlg.s 			page 34
1981
GAS LISTING /tmp/ccRvT1Qm.s 			page 34
1982
 
1982
 
1983
 
1983
 
1984
 935               	.LBE35:
1984
 935               	.LBE35:
1985
 936               	.LBE34:
1985
 936               	.LBE34:
1986
 937               		.stabs	"UIMgr.c",132,0,0,.Ltext4
1986
 937               		.stabs	"UIMgr.c",132,0,0,.Ltext4
Line 2036... Line 2036...
2036
 987               	.LBE40:
2036
 987               	.LBE40:
2037
 988               	.LBB42:
2037
 988               	.LBB42:
2038
 989               	.LBB43:
2038
 989               	.LBB43:
2039
 990               		.stabn	68,0,192,.LM121-UIMgr_processReceivedData
2039
 990               		.stabn	68,0,192,.LM121-UIMgr_processReceivedData
2040
 991               	.LM121:
2040
 991               	.LM121:
2041
GAS LISTING /tmp/cct6zTlg.s 			page 35
2041
GAS LISTING /tmp/ccRvT1Qm.s 			page 35
2042
 
2042
 
2043
 
2043
 
2044
 992 0386 D901      		movw r26,r18
2044
 992 0386 D901      		movw r26,r18
2045
 993               	/* #APP */
2045
 993               	/* #APP */
2046
 994 0388 00D0      		rcall __eeprom_read_byte_1C1D1E
2046
 994 0388 00D0      		rcall __eeprom_read_byte_1C1D1E
Line 2096... Line 2096...
2096
 1044               	.LM129:
2096
 1044               	.LM129:
2097
 1045 03c2 9927      		clr r25
2097
 1045 03c2 9927      		clr r25
2098
 1046 03c4 CF97      		sbiw r24,63
2098
 1046 03c4 CF97      		sbiw r24,63
2099
 1047 03c6 4CF0      		brlt .L103
2099
 1047 03c6 4CF0      		brlt .L103
2100
 1048               		.stabn	68,0,259,.LM130-UIMgr_processReceivedData
2100
 1048               		.stabn	68,0,259,.LM130-UIMgr_processReceivedData
2101
GAS LISTING /tmp/cct6zTlg.s 			page 36
2101
GAS LISTING /tmp/ccRvT1Qm.s 			page 36
2102
 
2102
 
2103
 
2103
 
2104
 1049               	.LM130:
2104
 1049               	.LM130:
2105
 1050 03c8 1092 0000 		sts charCount,__zero_reg__
2105
 1050 03c8 1092 0000 		sts charCount,__zero_reg__
2106
 1051               		.stabn	68,0,260,.LM131-UIMgr_processReceivedData
2106
 1051               		.stabn	68,0,260,.LM131-UIMgr_processReceivedData
Line 2156... Line 2156...
2156
 1101 0414 9430      		cpi r25,lo8(4)
2156
 1101 0414 9430      		cpi r25,lo8(4)
2157
 1102 0416 38F0      		brlo .L119
2157
 1102 0416 38F0      		brlo .L119
2158
 1103               		.stabn	68,0,284,.LM141-UIMgr_processReceivedData
2158
 1103               		.stabn	68,0,284,.LM141-UIMgr_processReceivedData
2159
 1104               	.LM141:
2159
 1104               	.LM141:
2160
 1105 0418 F092 0000 		sts receivedCmd,r15
2160
 1105 0418 F092 0000 		sts receivedCmd,r15
2161
GAS LISTING /tmp/cct6zTlg.s 			page 37
2161
GAS LISTING /tmp/ccRvT1Qm.s 			page 37
2162
 
2162
 
2163
 
2163
 
2164
 1106               		.stabn	68,0,285,.LM142-UIMgr_processReceivedData
2164
 1106               		.stabn	68,0,285,.LM142-UIMgr_processReceivedData
2165
 1107               	.LM142:
2165
 1107               	.LM142:
2166
 1108 041c 1092 0000 		sts charIndex,__zero_reg__
2166
 1108 041c 1092 0000 		sts charIndex,__zero_reg__
Line 2216... Line 2216...
2216
 1158 0442 8031      		cpi r24,lo8(16)
2216
 1158 0442 8031      		cpi r24,lo8(16)
2217
 1159 0444 29F0      		breq .L123
2217
 1159 0444 29F0      		breq .L123
2218
 1160               		.stabn	68,0,153,.LM148-UIMgr_dispatchEvent
2218
 1160               		.stabn	68,0,153,.LM148-UIMgr_dispatchEvent
2219
 1161               	.LM148:
2219
 1161               	.LM148:
2220
 1162 0446 8039      		cpi r24,lo8(-112)
2220
 1162 0446 8039      		cpi r24,lo8(-112)
2221
GAS LISTING /tmp/cct6zTlg.s 			page 38
2221
GAS LISTING /tmp/ccRvT1Qm.s 			page 38
2222
 
2222
 
2223
 
2223
 
2224
 1163 0448 39F0      		breq .L124
2224
 1163 0448 39F0      		breq .L124
2225
 1164 044a 8130      		cpi r24,lo8(1)
2225
 1164 044a 8130      		cpi r24,lo8(1)
2226
 1165 044c 31F4      		brne .L125
2226
 1165 044c 31F4      		brne .L125
Line 2276... Line 2276...
2276
 1215 0003 00        		.skip 1,0
2276
 1215 0003 00        		.skip 1,0
2277
 1216               		.lcomm tokenCount,1
2277
 1216               		.lcomm tokenCount,1
2278
 1217               		.data
2278
 1217               		.data
2279
 1218               		.type	receivedCmd, @object
2279
 1218               		.type	receivedCmd, @object
2280
 1219               		.size	receivedCmd, 1
2280
 1219               		.size	receivedCmd, 1
2281
GAS LISTING /tmp/cct6zTlg.s 			page 39
2281
GAS LISTING /tmp/ccRvT1Qm.s 			page 39
2282
 
2282
 
2283
 
2283
 
2284
 1220               	receivedCmd:
2284
 1220               	receivedCmd:
2285
 1221 0000 08        		.byte	8
2285
 1221 0000 08        		.byte	8
2286
 1222               		.lcomm charCount,1
2286
 1222               		.lcomm charCount,1
Line 2311... Line 2311...
2311
 1244               		.stabs	"UIMgr_txFifoTail:G(0,11)",32,0,117,0
2311
 1244               		.stabs	"UIMgr_txFifoTail:G(0,11)",32,0,117,0
2312
 1245               		.text
2312
 1245               		.text
2313
 1246               		.stabs	"",100,0,0,.Letext0
2313
 1246               		.stabs	"",100,0,0,.Letext0
2314
 1247               	.Letext0:
2314
 1247               	.Letext0:
2315
 1248               	/* File "UIMgr.c": code  582 = 0x0246 ( 557), prologues   9, epilogues  16 */
2315
 1248               	/* File "UIMgr.c": code  582 = 0x0246 ( 557), prologues   9, epilogues  16 */
2316
GAS LISTING /tmp/cct6zTlg.s 			page 40
2316
GAS LISTING /tmp/ccRvT1Qm.s 			page 40
2317
 
2317
 
2318
 
2318
 
2319
DEFINED SYMBOLS
2319
DEFINED SYMBOLS
2320
                            *ABS*:00000000 UIMgr.c
2320
                            *ABS*:00000000 UIMgr.c
2321
     /tmp/cct6zTlg.s:3      *ABS*:0000003f __SREG__
2321
     /tmp/ccRvT1Qm.s:3      *ABS*:0000003f __SREG__
2322
     /tmp/cct6zTlg.s:4      *ABS*:0000003e __SP_H__
2322
     /tmp/ccRvT1Qm.s:4      *ABS*:0000003e __SP_H__
2323
     /tmp/cct6zTlg.s:5      *ABS*:0000003d __SP_L__
2323
     /tmp/ccRvT1Qm.s:5      *ABS*:0000003d __SP_L__
2324
     /tmp/cct6zTlg.s:6      *ABS*:00000000 __tmp_reg__
2324
     /tmp/ccRvT1Qm.s:6      *ABS*:00000000 __tmp_reg__
2325
     /tmp/cct6zTlg.s:7      *ABS*:00000001 __zero_reg__
2325
     /tmp/ccRvT1Qm.s:7      *ABS*:00000001 __zero_reg__
2326
     /tmp/cct6zTlg.s:94     .text:00000000 UIMgr_writeBufferToTxFifo
2326
     /tmp/ccRvT1Qm.s:94     .text:00000000 UIMgr_writeBufferToTxFifo
2327
                            *COM*:00000040 UIMgr_txFifo
2327
                            *COM*:00000040 UIMgr_txFifo
2328
     /tmp/cct6zTlg.s:1208   .bss:00000002 UIMgr_txFifoHead
2328
     /tmp/ccRvT1Qm.s:1208   .bss:00000002 UIMgr_txFifoHead
2329
     /tmp/cct6zTlg.s:159    .text:0000003c UIMgr_readTxFifo
2329
     /tmp/ccRvT1Qm.s:159    .text:0000003c UIMgr_readTxFifo
2330
     /tmp/cct6zTlg.s:1214   .bss:00000003 UIMgr_txFifoTail
2330
     /tmp/ccRvT1Qm.s:1214   .bss:00000003 UIMgr_txFifoTail
2331
     /tmp/cct6zTlg.s:206    .text:0000005a UIMgr_writeTxFifo
2331
     /tmp/ccRvT1Qm.s:206    .text:0000005a UIMgr_writeTxFifo
2332
     /tmp/cct6zTlg.s:246    .text:00000076 UIMgr_flushTxBuffer
2332
     /tmp/ccRvT1Qm.s:246    .text:00000076 UIMgr_flushTxBuffer
2333
     /tmp/cct6zTlg.s:284    .text:00000094 UIMgr_txBuffer
2333
     /tmp/ccRvT1Qm.s:284    .text:00000094 UIMgr_txBuffer
2334
     /tmp/cct6zTlg.s:333    .text:000000c2 UIMgr_transmitPendingData
2334
     /tmp/ccRvT1Qm.s:333    .text:000000c2 UIMgr_transmitPendingData
2335
     /tmp/cct6zTlg.s:361    .text:000000d4 UIMgr_convertTokenToCmd
2335
     /tmp/ccRvT1Qm.s:361    .text:000000d4 UIMgr_convertTokenToCmd
2336
     /tmp/cct6zTlg.s:1223   .bss:00000007 asciiTokenBuffer
2336
     /tmp/ccRvT1Qm.s:1223   .bss:00000007 asciiTokenBuffer
2337
     /tmp/cct6zTlg.s:1220   .data:00000000 receivedCmd
2337
     /tmp/ccRvT1Qm.s:1220   .data:00000000 receivedCmd
2338
     /tmp/cct6zTlg.s:1222   .bss:00000006 charIndex
2338
     /tmp/ccRvT1Qm.s:1222   .bss:00000006 charIndex
2339
     /tmp/cct6zTlg.s:1216   .bss:00000005 charCount
2339
     /tmp/ccRvT1Qm.s:1216   .bss:00000005 charCount
2340
     /tmp/cct6zTlg.s:503    .text:00000192 UIMgr_init
2340
     /tmp/ccRvT1Qm.s:503    .text:00000192 UIMgr_init
2341
     /tmp/cct6zTlg.s:1228   .bss:0000000b tokenBuffer
2341
     /tmp/ccRvT1Qm.s:1228   .bss:0000000b tokenBuffer
2342
                            *COM*:00000020 UIMgr_rxFifo
2342
                            *COM*:00000020 UIMgr_rxFifo
2343
     /tmp/cct6zTlg.s:549    .text:000001c8 UIMgr_convertTokenToValue
2343
     /tmp/ccRvT1Qm.s:549    .text:000001c8 UIMgr_convertTokenToValue
2344
                             .bss:00000004 tokenCount
2344
                             .bss:00000004 tokenCount
2345
     /tmp/cct6zTlg.s:619    .text:00000214 UIMgr_processReceivedData
2345
     /tmp/ccRvT1Qm.s:619    .text:00000214 UIMgr_processReceivedData
2346
     /tmp/cct6zTlg.s:1202   .bss:00000001 UIMgr_rxFifoTail
2346
     /tmp/ccRvT1Qm.s:1202   .bss:00000001 UIMgr_rxFifoTail
2347
     /tmp/cct6zTlg.s:1226   .data:00000001 AVRcamVersion
2347
     /tmp/ccRvT1Qm.s:1226   .data:00000001 AVRcamVersion
2348
     /tmp/cct6zTlg.s:1196   .bss:00000000 UIMgr_rxFifoHead
2348
     /tmp/ccRvT1Qm.s:1196   .bss:00000000 UIMgr_rxFifoHead
2349
     /tmp/cct6zTlg.s:1150   .text:00000442 UIMgr_dispatchEvent
2349
     /tmp/ccRvT1Qm.s:1150   .text:00000442 UIMgr_dispatchEvent
2350
 
2350
 
2351
UNDEFINED SYMBOLS
2351
UNDEFINED SYMBOLS
2352
__do_copy_data
2352
__do_copy_data
2353
__do_clear_bss
2353
__do_clear_bss
2354
UartInt_txByte
2354
UartInt_txByte