1,4 → 1,4 |
GAS LISTING /tmp/cc2L16GD.s page 1 |
GAS LISTING /tmp/cct6zTlg.s page 1 |
|
|
1 .file "UIMgr.c" |
10,7 → 10,7 |
7 __zero_reg__ = 1 |
8 .global __do_copy_data |
9 .global __do_clear_bss |
10 .stabs "/home/kaklik/projects/roboti/istrobot/2007/ATmega8/AVRcam/",100,0,2,.Ltext0 |
10 .stabs "/home/kaklik/projects/programy/Atmel_C/AVRcam/",100,0,2,.Ltext0 |
11 .stabs "UIMgr.c",100,0,2,.Ltext0 |
12 .text |
13 .Ltext0: |
58,7 → 58,7 |
55 .stabs "uint_fast16_t:t(4,22)=(4,4)",128,0,215,0 |
56 .stabs "int_fast32_t:t(4,23)=(4,5)",128,0,220,0 |
57 .stabs "uint_fast32_t:t(4,24)=(4,6)",128,0,225,0 |
GAS LISTING /tmp/cc2L16GD.s page 2 |
GAS LISTING /tmp/cct6zTlg.s page 2 |
|
|
58 .stabs "int_fast64_t:t(4,25)=(4,7)",128,0,230,0 |
118,7 → 118,7 |
17:UIMgr.c **** License along with this program; if not, write to the Free Software |
18:UIMgr.c **** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19:UIMgr.c **** |
GAS LISTING /tmp/cc2L16GD.s page 3 |
GAS LISTING /tmp/cct6zTlg.s page 3 |
|
|
20:UIMgr.c **** For more information on the AVRcam, please contact: |
178,7 → 178,7 |
74:UIMgr.c **** dumpFrameCmd, |
75:UIMgr.c **** enableTrackingCmd, |
76:UIMgr.c **** disableTrackingCmd, |
GAS LISTING /tmp/cc2L16GD.s page 4 |
GAS LISTING /tmp/cct6zTlg.s page 4 |
|
|
77:UIMgr.c **** setColorMapCmd, |
238,7 → 238,7 |
131:UIMgr.c **** initializing the UIMgr module. It sets up the fifo |
132:UIMgr.c **** used to hold incoming data, etc. |
133:UIMgr.c **** Inputs: none |
GAS LISTING /tmp/cc2L16GD.s page 5 |
GAS LISTING /tmp/cct6zTlg.s page 5 |
|
|
134:UIMgr.c **** Outputs: none |
298,7 → 298,7 |
188:UIMgr.c **** parsing any serial data waiting in the rx fifo |
189:UIMgr.c **** Inputs: none |
190:UIMgr.c **** Outputs: none |
GAS LISTING /tmp/cc2L16GD.s page 6 |
GAS LISTING /tmp/cct6zTlg.s page 6 |
|
|
191:UIMgr.c **** ***********************************************************/ |
358,7 → 358,7 |
245:UIMgr.c **** means we have received a token, with tokenCount == 0, which means it is a |
246:UIMgr.c **** command...why is this contributing to tokenCount? |
247:UIMgr.c **** This might cause the set color map command to include too much data, since |
GAS LISTING /tmp/cc2L16GD.s page 7 |
GAS LISTING /tmp/cct6zTlg.s page 7 |
|
|
248:UIMgr.c **** it sets the color map based on tokenCount...CHECK*/ |
418,7 → 418,7 |
302:UIMgr.c **** executing whatever cmd is stored in the receivedCmd |
303:UIMgr.c **** object. |
304:UIMgr.c **** Inputs: none |
GAS LISTING /tmp/cc2L16GD.s page 8 |
GAS LISTING /tmp/cct6zTlg.s page 8 |
|
|
305:UIMgr.c **** Outputs: none |
478,7 → 478,7 |
359:UIMgr.c **** } |
360:UIMgr.c **** else if (receivedCmd == disableTrackingCmd) |
361:UIMgr.c **** { |
GAS LISTING /tmp/cc2L16GD.s page 9 |
GAS LISTING /tmp/cct6zTlg.s page 9 |
|
|
362:UIMgr.c **** PUBLISH_EVENT(EV_DISABLE_TRACKING); |
538,7 → 538,7 |
416:UIMgr.c **** access the asciiTokenBuffer directly, and store the |
417:UIMgr.c **** result in the appropriate token buffer. |
418:UIMgr.c **** Inputs: none |
GAS LISTING /tmp/cc2L16GD.s page 10 |
GAS LISTING /tmp/cct6zTlg.s page 10 |
|
|
419:UIMgr.c **** Outputs: none |
598,7 → 598,7 |
473:UIMgr.c **** /* the user wants to set registers in the OV6620 */ |
474:UIMgr.c **** receivedCmd = setCameraRegsCmd; |
475:UIMgr.c **** } |
GAS LISTING /tmp/cc2L16GD.s page 11 |
GAS LISTING /tmp/cct6zTlg.s page 11 |
|
|
476:UIMgr.c **** else if ( (asciiTokenBuffer[0] == 'E') && |
658,7 → 658,7 |
530:UIMgr.c **** { |
531:UIMgr.c **** UIMgr_writeTxFifo('N'); |
532:UIMgr.c **** UIMgr_writeTxFifo('C'); |
GAS LISTING /tmp/cc2L16GD.s page 12 |
GAS LISTING /tmp/cct6zTlg.s page 12 |
|
|
533:UIMgr.c **** UIMgr_writeTxFifo('K'); |
718,7 → 718,7 |
125 001c 8091 0000 lds r24,UIMgr_txFifoHead |
126 0020 FA01 movw r30,r20 |
127 0022 E80F add r30,r24 |
GAS LISTING /tmp/cc2L16GD.s page 13 |
GAS LISTING /tmp/cct6zTlg.s page 13 |
|
|
128 0024 F11D adc r31,__zero_reg__ |
778,7 → 778,7 |
579:UIMgr.c **** UartInt_txByte(*pData++); |
580:UIMgr.c **** } |
581:UIMgr.c **** } |
GAS LISTING /tmp/cc2L16GD.s page 14 |
GAS LISTING /tmp/cct6zTlg.s page 14 |
|
|
582:UIMgr.c **** |
838,7 → 838,7 |
632:UIMgr.c **** |
633:UIMgr.c **** /* just return the current tail from the tx fifo */ |
634:UIMgr.c **** DISABLE_INTS(); |
GAS LISTING /tmp/cc2L16GD.s page 15 |
GAS LISTING /tmp/cct6zTlg.s page 15 |
|
|
165 .stabn 68,0,634,.LM9-UIMgr_readTxFifo |
898,7 → 898,7 |
646:UIMgr.c **** writing a single byte to the TxFifo and |
647:UIMgr.c **** updating the appropriate pointers. |
648:UIMgr.c **** Inputs: data - the byte to write to the Fifo |
GAS LISTING /tmp/cc2L16GD.s page 16 |
GAS LISTING /tmp/cct6zTlg.s page 16 |
|
|
649:UIMgr.c **** Outputs: none |
958,7 → 958,7 |
249 .LM19: |
250 /* prologue: frame size=0 */ |
251 /* prologue end (size=0) */ |
GAS LISTING /tmp/cc2L16GD.s page 17 |
GAS LISTING /tmp/cct6zTlg.s page 17 |
|
|
252 .stabn 68,0,593,.LM20-UIMgr_flushTxBuffer |
1018,7 → 1018,7 |
306 00ac 0250 subi r16,lo8(-(-2)) |
307 .L22: |
308 .stabn 68,0,579,.LM26-UIMgr_txBuffer |
GAS LISTING /tmp/cc2L16GD.s page 18 |
GAS LISTING /tmp/cct6zTlg.s page 18 |
|
|
309 .LM26: |
1078,7 → 1078,7 |
363 .stabn 68,0,450,.LM31-UIMgr_convertTokenToCmd |
364 .LM31: |
365 /* prologue: frame size=0 */ |
GAS LISTING /tmp/cc2L16GD.s page 19 |
GAS LISTING /tmp/cct6zTlg.s page 19 |
|
|
366 /* prologue end (size=0) */ |
1138,7 → 1138,7 |
420 .L32: |
421 .stabn 68,0,476,.LM41-UIMgr_convertTokenToCmd |
422 .LM41: |
GAS LISTING /tmp/cc2L16GD.s page 20 |
GAS LISTING /tmp/cct6zTlg.s page 20 |
|
|
423 0126 9534 cpi r25,lo8(69) |
1198,7 → 1198,7 |
477 .L34: |
478 .stabn 68,0,503,.LM50-UIMgr_convertTokenToCmd |
479 .LM50: |
GAS LISTING /tmp/cc2L16GD.s page 21 |
GAS LISTING /tmp/cct6zTlg.s page 21 |
|
|
480 017c 83E0 ldi r24,lo8(3) |
1258,7 → 1258,7 |
534 01bc E0E0 ldi r30,lo8(UIMgr_rxFifo) |
535 01be F0E0 ldi r31,hi8(UIMgr_rxFifo) |
536 01c0 1192 st Z+,__zero_reg__ |
GAS LISTING /tmp/cc2L16GD.s page 22 |
GAS LISTING /tmp/cct6zTlg.s page 22 |
|
|
537 01c2 8A95 dec r24 |
1318,7 → 1318,7 |
591 .stabn 68,0,437,.LM64-UIMgr_convertTokenToValue |
592 .LM64: |
593 01fe 83E0 ldi r24,lo8(3) |
GAS LISTING /tmp/cc2L16GD.s page 23 |
GAS LISTING /tmp/cct6zTlg.s page 23 |
|
|
594 0200 E0E0 ldi r30,lo8(asciiTokenBuffer) |
1378,7 → 1378,7 |
648 0230 F040 sbci r31,hi8(-(UIMgr_rxFifo)) |
649 0232 9081 ld r25,Z |
650 .stabn 68,0,615,.LM70-UIMgr_processReceivedData |
GAS LISTING /tmp/cc2L16GD.s page 24 |
GAS LISTING /tmp/cct6zTlg.s page 24 |
|
|
651 .LM70: |
1438,7 → 1438,7 |
705 .LM80: |
706 0272 83E4 ldi r24,lo8(67) |
707 0274 F2DE rcall UIMgr_writeTxFifo |
GAS LISTING /tmp/cc2L16GD.s page 25 |
GAS LISTING /tmp/cct6zTlg.s page 25 |
|
|
708 .stabn 68,0,533,.LM81-UIMgr_processReceivedData |
1498,7 → 1498,7 |
762 02a6 8091 0000 lds r24,AVRcamVersion |
763 02aa 8823 tst r24 |
764 02ac 09F4 brne .+2 |
GAS LISTING /tmp/cc2L16GD.s page 26 |
GAS LISTING /tmp/cct6zTlg.s page 26 |
|
|
765 02ae 73C0 rjmp .L73 |
1558,7 → 1558,7 |
819 02ea FF27 clr r31 |
820 02ec E050 subi r30,lo8(-(tokenBuffer)) |
821 02ee F040 sbci r31,hi8(-(tokenBuffer)) |
GAS LISTING /tmp/cc2L16GD.s page 27 |
GAS LISTING /tmp/cct6zTlg.s page 27 |
|
|
822 02f0 6181 ldd r22,Z+1 |
1618,7 → 1618,7 |
876 0334 60E0 ldi r22,lo8(colorMap) |
877 0336 70E0 ldi r23,hi8(colorMap) |
878 .L94: |
GAS LISTING /tmp/cc2L16GD.s page 28 |
GAS LISTING /tmp/cct6zTlg.s page 28 |
|
|
879 .stabn 68,0,369,.LM111-UIMgr_processReceivedData |
1678,7 → 1678,7 |
36:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** |
37:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** Contributors: |
38:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** Created by Marek Michalkiewicz <marekm@linux.org.pl> |
GAS LISTING /tmp/cc2L16GD.s page 29 |
GAS LISTING /tmp/cct6zTlg.s page 29 |
|
|
39:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** eeprom_write_word and eeprom_write_block added by Artur Lipowski |
1738,7 → 1738,7 |
93:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** mode interface. Applications that require interrupt-controlled |
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 |
95:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** will have to deploy their own implementation. |
GAS LISTING /tmp/cc2L16GD.s page 30 |
GAS LISTING /tmp/cct6zTlg.s page 30 |
|
|
96:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** |
1798,7 → 1798,7 |
150:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** |
151:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /*@{*/ |
152:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** |
GAS LISTING /tmp/cc2L16GD.s page 31 |
GAS LISTING /tmp/cct6zTlg.s page 31 |
|
|
153:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \def EEMEM |
1858,7 → 1858,7 |
912 035a C1F0 breq .L95 |
913 .LBB32: |
914 .LBB33: |
GAS LISTING /tmp/cc2L16GD.s page 32 |
GAS LISTING /tmp/cct6zTlg.s page 32 |
|
|
915 .stabs "/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h",132,0,0,.Ltext3 |
1918,7 → 1918,7 |
245:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** "z" (pointer_ram) |
246:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** : "memory"); |
247:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** } |
GAS LISTING /tmp/cc2L16GD.s page 33 |
GAS LISTING /tmp/cct6zTlg.s page 33 |
|
|
248:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** else |
1978,7 → 1978,7 |
932 0364 00D0 rcall __eeprom_read_byte_1C1D1E |
933 0366 802D mov r24,__tmp_reg__ |
934 /* #NOAPP */ |
GAS LISTING /tmp/cc2L16GD.s page 34 |
GAS LISTING /tmp/cct6zTlg.s page 34 |
|
|
935 .LBE35: |
2038,7 → 2038,7 |
989 .LBB43: |
990 .stabn 68,0,192,.LM121-UIMgr_processReceivedData |
991 .LM121: |
GAS LISTING /tmp/cc2L16GD.s page 35 |
GAS LISTING /tmp/cct6zTlg.s page 35 |
|
|
992 0386 D901 movw r26,r18 |
2098,7 → 2098,7 |
1046 03c4 CF97 sbiw r24,63 |
1047 03c6 4CF0 brlt .L103 |
1048 .stabn 68,0,259,.LM130-UIMgr_processReceivedData |
GAS LISTING /tmp/cc2L16GD.s page 36 |
GAS LISTING /tmp/cct6zTlg.s page 36 |
|
|
1049 .LM130: |
2158,7 → 2158,7 |
1103 .stabn 68,0,284,.LM141-UIMgr_processReceivedData |
1104 .LM141: |
1105 0418 F092 0000 sts receivedCmd,r15 |
GAS LISTING /tmp/cc2L16GD.s page 37 |
GAS LISTING /tmp/cct6zTlg.s page 37 |
|
|
1106 .stabn 68,0,285,.LM142-UIMgr_processReceivedData |
2218,7 → 2218,7 |
1160 .stabn 68,0,153,.LM148-UIMgr_dispatchEvent |
1161 .LM148: |
1162 0446 8039 cpi r24,lo8(-112) |
GAS LISTING /tmp/cc2L16GD.s page 38 |
GAS LISTING /tmp/cct6zTlg.s page 38 |
|
|
1163 0448 39F0 breq .L124 |
2278,7 → 2278,7 |
1217 .data |
1218 .type receivedCmd, @object |
1219 .size receivedCmd, 1 |
GAS LISTING /tmp/cc2L16GD.s page 39 |
GAS LISTING /tmp/cct6zTlg.s page 39 |
|
|
1220 receivedCmd: |
2313,40 → 2313,40 |
1246 .stabs "",100,0,0,.Letext0 |
1247 .Letext0: |
1248 /* File "UIMgr.c": code 582 = 0x0246 ( 557), prologues 9, epilogues 16 */ |
GAS LISTING /tmp/cc2L16GD.s page 40 |
GAS LISTING /tmp/cct6zTlg.s page 40 |
|
|
DEFINED SYMBOLS |
*ABS*:00000000 UIMgr.c |
/tmp/cc2L16GD.s:3 *ABS*:0000003f __SREG__ |
/tmp/cc2L16GD.s:4 *ABS*:0000003e __SP_H__ |
/tmp/cc2L16GD.s:5 *ABS*:0000003d __SP_L__ |
/tmp/cc2L16GD.s:6 *ABS*:00000000 __tmp_reg__ |
/tmp/cc2L16GD.s:7 *ABS*:00000001 __zero_reg__ |
/tmp/cc2L16GD.s:94 .text:00000000 UIMgr_writeBufferToTxFifo |
/tmp/cct6zTlg.s:3 *ABS*:0000003f __SREG__ |
/tmp/cct6zTlg.s:4 *ABS*:0000003e __SP_H__ |
/tmp/cct6zTlg.s:5 *ABS*:0000003d __SP_L__ |
/tmp/cct6zTlg.s:6 *ABS*:00000000 __tmp_reg__ |
/tmp/cct6zTlg.s:7 *ABS*:00000001 __zero_reg__ |
/tmp/cct6zTlg.s:94 .text:00000000 UIMgr_writeBufferToTxFifo |
*COM*:00000040 UIMgr_txFifo |
/tmp/cc2L16GD.s:1208 .bss:00000002 UIMgr_txFifoHead |
/tmp/cc2L16GD.s:159 .text:0000003c UIMgr_readTxFifo |
/tmp/cc2L16GD.s:1214 .bss:00000003 UIMgr_txFifoTail |
/tmp/cc2L16GD.s:206 .text:0000005a UIMgr_writeTxFifo |
/tmp/cc2L16GD.s:246 .text:00000076 UIMgr_flushTxBuffer |
/tmp/cc2L16GD.s:284 .text:00000094 UIMgr_txBuffer |
/tmp/cc2L16GD.s:333 .text:000000c2 UIMgr_transmitPendingData |
/tmp/cc2L16GD.s:361 .text:000000d4 UIMgr_convertTokenToCmd |
/tmp/cc2L16GD.s:1223 .bss:00000007 asciiTokenBuffer |
/tmp/cc2L16GD.s:1220 .data:00000000 receivedCmd |
/tmp/cc2L16GD.s:1222 .bss:00000006 charIndex |
/tmp/cc2L16GD.s:1216 .bss:00000005 charCount |
/tmp/cc2L16GD.s:503 .text:00000192 UIMgr_init |
/tmp/cc2L16GD.s:1228 .bss:0000000b tokenBuffer |
/tmp/cct6zTlg.s:1208 .bss:00000002 UIMgr_txFifoHead |
/tmp/cct6zTlg.s:159 .text:0000003c UIMgr_readTxFifo |
/tmp/cct6zTlg.s:1214 .bss:00000003 UIMgr_txFifoTail |
/tmp/cct6zTlg.s:206 .text:0000005a UIMgr_writeTxFifo |
/tmp/cct6zTlg.s:246 .text:00000076 UIMgr_flushTxBuffer |
/tmp/cct6zTlg.s:284 .text:00000094 UIMgr_txBuffer |
/tmp/cct6zTlg.s:333 .text:000000c2 UIMgr_transmitPendingData |
/tmp/cct6zTlg.s:361 .text:000000d4 UIMgr_convertTokenToCmd |
/tmp/cct6zTlg.s:1223 .bss:00000007 asciiTokenBuffer |
/tmp/cct6zTlg.s:1220 .data:00000000 receivedCmd |
/tmp/cct6zTlg.s:1222 .bss:00000006 charIndex |
/tmp/cct6zTlg.s:1216 .bss:00000005 charCount |
/tmp/cct6zTlg.s:503 .text:00000192 UIMgr_init |
/tmp/cct6zTlg.s:1228 .bss:0000000b tokenBuffer |
*COM*:00000020 UIMgr_rxFifo |
/tmp/cc2L16GD.s:549 .text:000001c8 UIMgr_convertTokenToValue |
/tmp/cct6zTlg.s:549 .text:000001c8 UIMgr_convertTokenToValue |
.bss:00000004 tokenCount |
/tmp/cc2L16GD.s:619 .text:00000214 UIMgr_processReceivedData |
/tmp/cc2L16GD.s:1202 .bss:00000001 UIMgr_rxFifoTail |
/tmp/cc2L16GD.s:1226 .data:00000001 AVRcamVersion |
/tmp/cc2L16GD.s:1196 .bss:00000000 UIMgr_rxFifoHead |
/tmp/cc2L16GD.s:1150 .text:00000442 UIMgr_dispatchEvent |
/tmp/cct6zTlg.s:619 .text:00000214 UIMgr_processReceivedData |
/tmp/cct6zTlg.s:1202 .bss:00000001 UIMgr_rxFifoTail |
/tmp/cct6zTlg.s:1226 .data:00000001 AVRcamVersion |
/tmp/cct6zTlg.s:1196 .bss:00000000 UIMgr_rxFifoHead |
/tmp/cct6zTlg.s:1150 .text:00000442 UIMgr_dispatchEvent |
|
UNDEFINED SYMBOLS |
__do_copy_data |