Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 173 → Rev 174

/programy/Atmel_C/AVRcam/DebugInterface.lst
1,66 → 1,89
GAS LISTING C:\DOCUME~1\John\LOCALS~1\Temp/ccm4aaaa.s page 1
 
 
1 .file "DebugInterface.c"
2 .arch atmega8
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .global __do_copy_data
9 .global __do_clear_bss
10 .stabs "C:\\WinAVR\\AVRcam_dev_1_3_2/",100,0,0,.Ltext0
11 .stabs "DebugInterface.c",100,0,0,.Ltext0
12 .text
13 .Ltext0:
14 .stabs "gcc2_compiled.",60,0,0,0
15 .stabs "int:t(0,1)=r(0,1);-32768;32767;",128,0,0,0
16 .stabs "char:t(0,2)=@s8;r(0,2);0;255;",128,0,0,0
17 .stabs "long int:t(0,3)=@s32;r(0,3);0020000000000;0017777777777;",128,0,0,0
18 .stabs "unsigned int:t(0,4)=r(0,4);0000000000000;0000000177777;",128,0,0,0
19 .stabs "long unsigned int:t(0,5)=@s32;r(0,5);0000000000000;0037777777777;",128,0,0,0
20 .stabs "long long int:t(0,6)=@s64;r(0,6);01000000000000000000000;0777777777777777777777;",128,0,0,
21 .stabs "long long unsigned int:t(0,7)=@s64;r(0,7);0000000000000;01777777777777777777777;",128,0,0,
22 .stabs "short int:t(0,8)=r(0,8);-32768;32767;",128,0,0,0
23 .stabs "short unsigned int:t(0,9)=r(0,9);0000000000000;0000000177777;",128,0,0,0
24 .stabs "signed char:t(0,10)=@s8;r(0,10);-128;127;",128,0,0,0
25 .stabs "unsigned char:t(0,11)=@s8;r(0,11);0;255;",128,0,0,0
26 .stabs "float:t(0,12)=r(0,1);4;0;",128,0,0,0
27 .stabs "double:t(0,13)=r(0,1);4;0;",128,0,0,0
28 .stabs "long double:t(0,14)=r(0,1);4;0;",128,0,0,0
29 .stabs "complex int:t(0,15)=s4real:(0,1),0,16;imag:(0,1),16,16;;",128,0,0,0
30 .stabs "complex float:t(0,16)=R3;8;0;",128,0,0,0
31 .stabs "complex double:t(0,17)=R3;8;0;",128,0,0,0
32 .stabs "complex long double:t(0,18)=R3;8;0;",128,0,0,0
33 .stabs "__builtin_va_list:t(0,19)=*(0,20)=(0,20)",128,0,0,0
34 .stabs "_Bool:t(0,21)=@s8;-16;",128,0,0,0
35 .stabs "DebugInterface.c",130,0,0,0
36 .stabs "CommonDefs.h",130,0,0,0
37 .stabs "C:/WinAVR/avr/include/avr/interrupt.h",130,0,0,0
38 .stabs "C:/WinAVR/avr/include/avr/io.h",130,0,0,0
39 .stabs "C:/WinAVR/avr/include/avr/sfr_defs.h",130,0,0,0
40 .stabn 162,0,0,0
41 .stabs "C:/WinAVR/avr/include/avr/iom8.h",130,0,0,0
42 .stabn 162,0,0,0
43 .stabn 162,0,0,0
44 .stabn 162,0,0,0
45 .stabs "bool_t:t(2,1)=(0,11)",128,0,56,0
46 .stabn 162,0,0,0
47 .stabs "UartInterface.h",130,0,0,0
48 .stabn 162,0,0,0
49 .stabs "Utility.h",130,0,0,0
50 .stabn 162,0,0,0
51 .stabs "DebugInt_init:F(0,20)",36,0,71,DebugInt_init
52 .global DebugInt_init
53 .type DebugInt_init, @function
54 DebugInt_init:
GAS LISTING /tmp/ccATXzNG.s page 1
 
 
1 .file "DebugInterface.c"
2 .arch atmega8
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .global __do_copy_data
9 .global __do_clear_bss
10 .stabs "/home/kaklik/projects/programy/Atmel_C/AVRcam/",100,0,2,.Ltext0
11 .stabs "DebugInterface.c",100,0,2,.Ltext0
12 .text
13 .Ltext0:
14 .stabs "gcc2_compiled.",60,0,0,0
15 .stabs "int:t(0,1)=r(0,1);-32768;32767;",128,0,0,0
16 .stabs "char:t(0,2)=@s8;r(0,2);0;255;",128,0,0,0
17 .stabs "long int:t(0,3)=@s32;r(0,3);020000000000;017777777777;",128,0,0,0
18 .stabs "unsigned int:t(0,4)=r(0,4);0;0177777;",128,0,0,0
19 .stabs "long unsigned int:t(0,5)=@s32;r(0,5);0;037777777777;",128,0,0,0
20 .stabs "long long int:t(0,6)=@s64;r(0,6);01000000000000000000000;0777777777777777777777;",128,0,0,
21 .stabs "long long unsigned int:t(0,7)=@s64;r(0,7);0;01777777777777777777777;",128,0,0,0
22 .stabs "short int:t(0,8)=r(0,8);-32768;32767;",128,0,0,0
23 .stabs "short unsigned int:t(0,9)=r(0,9);0;0177777;",128,0,0,0
24 .stabs "signed char:t(0,10)=@s8;r(0,10);-128;127;",128,0,0,0
25 .stabs "unsigned char:t(0,11)=@s8;r(0,11);0;255;",128,0,0,0
26 .stabs "float:t(0,12)=r(0,1);4;0;",128,0,0,0
27 .stabs "double:t(0,13)=r(0,1);4;0;",128,0,0,0
28 .stabs "long double:t(0,14)=r(0,1);4;0;",128,0,0,0
29 .stabs "void:t(0,15)=(0,15)",128,0,0,0
30 .stabs "CommonDefs.h",130,0,0,0
31 .stabs "/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/interrupt.h",130,0,0,0
32 .stabs "/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/io.h",130,0,0,0
33 .stabs "/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/sfr_defs.h",130,0,0,0
34 .stabs "/usr/lib/gcc/avr/4.1.0/../../../../avr/include/inttypes.h",130,0,0,0
35 .stabs "/usr/lib/gcc/avr/4.1.0/../../../../avr/include/stdint.h",130,0,0,0
36 .stabs "int8_t:t(6,1)=(0,10)",128,0,116,0
37 .stabs "uint8_t:t(6,2)=(0,11)",128,0,117,0
38 .stabs "int16_t:t(6,3)=(0,1)",128,0,118,0
39 .stabs "uint16_t:t(6,4)=(0,4)",128,0,119,0
40 .stabs "int32_t:t(6,5)=(0,3)",128,0,120,0
41 .stabs "uint32_t:t(6,6)=(0,5)",128,0,121,0
42 .stabs "int64_t:t(6,7)=(0,6)",128,0,122,0
43 .stabs "uint64_t:t(6,8)=(0,7)",128,0,123,0
44 .stabs "intptr_t:t(6,9)=(6,3)",128,0,135,0
45 .stabs "uintptr_t:t(6,10)=(6,4)",128,0,140,0
46 .stabs "int_least8_t:t(6,11)=(6,1)",128,0,152,0
47 .stabs "uint_least8_t:t(6,12)=(6,2)",128,0,157,0
48 .stabs "int_least16_t:t(6,13)=(6,3)",128,0,162,0
49 .stabs "uint_least16_t:t(6,14)=(6,4)",128,0,167,0
50 .stabs "int_least32_t:t(6,15)=(6,5)",128,0,172,0
51 .stabs "uint_least32_t:t(6,16)=(6,6)",128,0,177,0
52 .stabs "int_least64_t:t(6,17)=(6,7)",128,0,182,0
53 .stabs "uint_least64_t:t(6,18)=(6,8)",128,0,187,0
54 .stabs "int_fast8_t:t(6,19)=(6,1)",128,0,200,0
55 .stabs "uint_fast8_t:t(6,20)=(6,2)",128,0,205,0
56 .stabs "int_fast16_t:t(6,21)=(6,3)",128,0,210,0
57 .stabs "uint_fast16_t:t(6,22)=(6,4)",128,0,215,0
GAS LISTING /tmp/ccATXzNG.s page 2
 
 
58 .stabs "int_fast32_t:t(6,23)=(6,5)",128,0,220,0
59 .stabs "uint_fast32_t:t(6,24)=(6,6)",128,0,225,0
60 .stabs "int_fast64_t:t(6,25)=(6,7)",128,0,230,0
61 .stabs "uint_fast64_t:t(6,26)=(6,8)",128,0,235,0
62 .stabs "intmax_t:t(6,27)=(6,7)",128,0,249,0
63 .stabs "uintmax_t:t(6,28)=(6,8)",128,0,254,0
64 .stabn 162,0,0,0
65 .stabs "int_farptr_t:t(5,1)=(6,5)",128,0,76,0
66 .stabs "uint_farptr_t:t(5,2)=(6,6)",128,0,80,0
67 .stabn 162,0,0,0
68 .stabn 162,0,0,0
69 .stabn 162,0,0,0
70 .stabn 162,0,0,0
71 .stabs "bool_t:t(1,1)=(0,11)",128,0,56,0
72 .stabn 162,0,0,0
73 .stabs "DebugInt_init:F(0,15)",36,0,71,DebugInt_init
74 .global DebugInt_init
75 .type DebugInt_init, @function
76 DebugInt_init:
77 .stabd 46,0,0
1:DebugInterface.c **** /*
2:DebugInterface.c **** Copyright (C) 2004 John Orlando
3:DebugInterface.c ****
GAS LISTING C:\DOCUME~1\John\LOCALS~1\Temp/ccm4aaaa.s page 2
 
 
4:DebugInterface.c **** AVRcam: a small real-time image processing engine.
5:DebugInterface.c ****
6:DebugInterface.c **** This program is free software; you can redistribute it and/or
95,6 → 118,9
35:DebugInterface.c **** addition to the LED hooked up at PORTD bit 6.
36:DebugInterface.c ****
37:DebugInterface.c **** Revision History:
GAS LISTING /tmp/ccATXzNG.s page 3
 
 
38:DebugInterface.c **** Date Rel Ver. Notes
39:DebugInterface.c **** 4/10/2004 0.1 Module created
40:DebugInterface.c **** 6/30/2004 1.0 Initial release for Circuit Cellar
118,9 → 144,6
58:DebugInterface.c **** Function Name: DebugInt_init
59:DebugInterface.c **** Function Description: This function is responsible for
60:DebugInterface.c **** initializing the debug module. It sets up the debug LED
GAS LISTING C:\DOCUME~1\John\LOCALS~1\Temp/ccm4aaaa.s page 3
 
 
61:DebugInterface.c **** as well as any other debugging that will be done. The
62:DebugInterface.c **** LED blinks four times, which indicates to the user
63:DebugInterface.c **** that the system is available for re-programming if
132,120 → 155,110
69:DebugInterface.c **** ***********************************************************/
70:DebugInterface.c **** void DebugInt_init(void)
71:DebugInterface.c **** {
55 .stabn 68,0,71,.LM1-DebugInt_init
56 .LM1:
57 /* prologue: frame size=0 */
58 0000 1F93 push r17
59 /* prologue end (size=1) */
78 .stabn 68,0,71,.LM0-DebugInt_init
79 .LM0:
80 /* prologue: frame size=0 */
81 /* prologue end (size=0) */
72:DebugInterface.c **** /* set PortD pin6 for output */
73:DebugInterface.c **** DDRD |= 0x40;
60 .stabn 68,0,73,.LM2-DebugInt_init
61 .LM2:
62 0002 8E9A sbi 49-0x20,6
82 .stabn 68,0,73,.LM1-DebugInt_init
83 .LM1:
84 0000 8E9A sbi 49-0x20,6
74:DebugInterface.c **** /* turn on LED */
75:DebugInterface.c **** PORTD |= 0x40;
63 .stabn 68,0,75,.LM3-DebugInt_init
64 .LM3:
65 0004 969A sbi 50-0x20,6
85 .stabn 68,0,75,.LM2-DebugInt_init
86 .LM2:
87 0002 969A sbi 50-0x20,6
76:DebugInterface.c **** Utility_delay(500);
66 .stabn 68,0,76,.LM4-DebugInt_init
67 .LM4:
68 0006 84EF ldi r24,lo8(500)
69 0008 91E0 ldi r25,hi8(500)
70 000a 00D0 rcall Utility_delay
88 .stabn 68,0,76,.LM3-DebugInt_init
89 .LM3:
90 0004 84EF ldi r24,lo8(500)
91 0006 91E0 ldi r25,hi8(500)
92 0008 00D0 rcall Utility_delay
77:DebugInterface.c **** PORTD &= 0xBF;
71 .stabn 68,0,77,.LM5-DebugInt_init
72 .LM5:
73 000c 1FEB ldi r17,lo8(-65)
74 000e 82B3 in r24,50-0x20
75 0010 8123 and r24,r17
76 0012 82BB out 50-0x20,r24
93 .stabn 68,0,77,.LM4-DebugInt_init
94 .LM4:
GAS LISTING /tmp/ccATXzNG.s page 4
 
 
95 000a 9698 cbi 50-0x20,6
78:DebugInterface.c **** Utility_delay(500);
77 .stabn 68,0,78,.LM6-DebugInt_init
78 .LM6:
79 0014 84EF ldi r24,lo8(500)
80 0016 91E0 ldi r25,hi8(500)
81 0018 00D0 rcall Utility_delay
96 .stabn 68,0,78,.LM5-DebugInt_init
97 .LM5:
98 000c 84EF ldi r24,lo8(500)
99 000e 91E0 ldi r25,hi8(500)
100 0010 00D0 rcall Utility_delay
79:DebugInterface.c **** PORTD |= 0x40;
82 .stabn 68,0,79,.LM7-DebugInt_init
83 .LM7:
84 001a 969A sbi 50-0x20,6
101 .stabn 68,0,79,.LM6-DebugInt_init
102 .LM6:
103 0012 969A sbi 50-0x20,6
80:DebugInterface.c **** Utility_delay(500);
85 .stabn 68,0,80,.LM8-DebugInt_init
86 .LM8:
87 001c 84EF ldi r24,lo8(500)
88 001e 91E0 ldi r25,hi8(500)
89 0020 00D0 rcall Utility_delay
104 .stabn 68,0,80,.LM7-DebugInt_init
105 .LM7:
106 0014 84EF ldi r24,lo8(500)
107 0016 91E0 ldi r25,hi8(500)
108 0018 00D0 rcall Utility_delay
81:DebugInterface.c **** PORTD &= 0xBF;
90 .stabn 68,0,81,.LM9-DebugInt_init
GAS LISTING C:\DOCUME~1\John\LOCALS~1\Temp/ccm4aaaa.s page 4
 
 
91 .LM9:
92 0022 82B3 in r24,50-0x20
93 0024 8123 and r24,r17
94 0026 82BB out 50-0x20,r24
109 .stabn 68,0,81,.LM8-DebugInt_init
110 .LM8:
111 001a 9698 cbi 50-0x20,6
82:DebugInterface.c **** Utility_delay(500);
95 .stabn 68,0,82,.LM10-DebugInt_init
96 .LM10:
97 0028 84EF ldi r24,lo8(500)
98 002a 91E0 ldi r25,hi8(500)
99 002c 00D0 rcall Utility_delay
112 .stabn 68,0,82,.LM9-DebugInt_init
113 .LM9:
114 001c 84EF ldi r24,lo8(500)
115 001e 91E0 ldi r25,hi8(500)
116 0020 00D0 rcall Utility_delay
83:DebugInterface.c **** PORTD |= 0x40;
100 .stabn 68,0,83,.LM11-DebugInt_init
101 .LM11:
102 002e 969A sbi 50-0x20,6
117 .stabn 68,0,83,.LM10-DebugInt_init
118 .LM10:
119 0022 969A sbi 50-0x20,6
84:DebugInterface.c **** Utility_delay(500);
103 .stabn 68,0,84,.LM12-DebugInt_init
104 .LM12:
105 0030 84EF ldi r24,lo8(500)
106 0032 91E0 ldi r25,hi8(500)
107 0034 00D0 rcall Utility_delay
120 .stabn 68,0,84,.LM11-DebugInt_init
121 .LM11:
122 0024 84EF ldi r24,lo8(500)
123 0026 91E0 ldi r25,hi8(500)
124 0028 00D0 rcall Utility_delay
85:DebugInterface.c **** PORTD &= 0xBF;
108 .stabn 68,0,85,.LM13-DebugInt_init
109 .LM13:
110 0036 82B3 in r24,50-0x20
111 0038 8123 and r24,r17
112 003a 82BB out 50-0x20,r24
125 .stabn 68,0,85,.LM12-DebugInt_init
126 .LM12:
127 002a 9698 cbi 50-0x20,6
86:DebugInterface.c **** Utility_delay(500);
113 .stabn 68,0,86,.LM14-DebugInt_init
114 .LM14:
115 003c 84EF ldi r24,lo8(500)
116 003e 91E0 ldi r25,hi8(500)
117 0040 00D0 rcall Utility_delay
128 .stabn 68,0,86,.LM13-DebugInt_init
129 .LM13:
130 002c 84EF ldi r24,lo8(500)
131 002e 91E0 ldi r25,hi8(500)
132 0030 00D0 rcall Utility_delay
87:DebugInterface.c **** PORTD |= 0x40;
118 .stabn 68,0,87,.LM15-DebugInt_init
119 .LM15:
120 0042 969A sbi 50-0x20,6
88:DebugInterface.c **** }
121 .stabn 68,0,88,.LM16-DebugInt_init
122 .LM16:
123 /* epilogue: frame size=0 */
124 0044 1F91 pop r17
125 0046 0895 ret
126 /* epilogue end (size=2) */
127 /* function DebugInt_init size 36 (33) */
128 .size DebugInt_init, .-DebugInt_init
129 .Lscope0:
130 .stabs "",36,0,0,.Lscope0-DebugInt_init
131 .text
132 .stabs "",100,0,0,Letext
133 Letext:
134 /* File "DebugInterface.c": code 36 = 0x0024 ( 33), prologues 1, epilogues 2 */
GAS LISTING C:\DOCUME~1\John\LOCALS~1\Temp/ccm4aaaa.s page 5
 
 
DEFINED SYMBOLS
*ABS*:00000000 DebugInterface.c
*ABS*:0000003f __SREG__
*ABS*:0000003e __SP_H__
*ABS*:0000003d __SP_L__
*ABS*:00000000 __tmp_reg__
*ABS*:00000001 __zero_reg__
C:\DOCUME~1\John\LOCALS~1\Temp/ccm4aaaa.s:54 .text:00000000 DebugInt_init
C:\DOCUME~1\John\LOCALS~1\Temp/ccm4aaaa.s:133 .text:00000048 Letext
 
UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
Utility_delay
133 .stabn 68,0,87,.LM14-DebugInt_init
134 .LM14:
135 0032 969A sbi 50-0x20,6
136 /* epilogue: frame size=0 */
137 0034 0895 ret
138 /* epilogue end (size=1) */
139 /* function DebugInt_init size 27 (26) */
140 .size DebugInt_init, .-DebugInt_init
141 .Lscope0:
GAS LISTING /tmp/ccATXzNG.s page 5
 
 
142 .stabs "",36,0,0,.Lscope0-DebugInt_init
143 .stabd 78,0,0
144 .stabs "",100,0,0,.Letext0
145 .Letext0:
146 /* File "DebugInterface.c": code 27 = 0x001b ( 26), prologues 0, epilogues 1 */
GAS LISTING /tmp/ccATXzNG.s page 6
 
 
DEFINED SYMBOLS
*ABS*:00000000 DebugInterface.c
/tmp/ccATXzNG.s:3 *ABS*:0000003f __SREG__
/tmp/ccATXzNG.s:4 *ABS*:0000003e __SP_H__
/tmp/ccATXzNG.s:5 *ABS*:0000003d __SP_L__
/tmp/ccATXzNG.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccATXzNG.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccATXzNG.s:76 .text:00000000 DebugInt_init
 
UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
Utility_delay