Deleted commented source code and not used things

This commit is contained in:
Daniel Treitinger 2016-04-15 10:29:57 +02:00
parent 5e7cc1720d
commit 9c26dbcdae
17 changed files with 2977 additions and 3212 deletions

View File

@ -36,8 +36,8 @@ suite_guid={507D93FD-16F1-4270-980F-0C7C0207E6D3}
suite_state= suite_state=
[TOOL_SETTINGS] [TOOL_SETTINGS]
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}=C9=1 TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}=C9=1
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}_alt=yes
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}000= TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}000=
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}000_alt=yes
[ACTIVE_FILE_SETTINGS] [ACTIVE_FILE_SETTINGS]
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}000_active=yes TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}000_active=yes
[INSTRUMENTED_TRACE] [INSTRUMENTED_TRACE]

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,52 +1,51 @@
:020000001028C6 :020000001028C6
:10000800FE00030EF0000408F1000A08F200831253 :10000800FE00030EF0000408F1000A08F200831253
:1000180003137F08F3006729722983120313AD00C5 :1000180003137F08F3007229672983120313A100D1
:10002800872187217908013A83120313AC002C0831 :10002800802180217908013A83120313A000200857
:10003800F9007908013A031D222823282528872159 :10003800F9007908013A031D222823282528802160
:10004800272884212728043083120313AC002C08A6 :1000480027287D212728043083120313A0002008C5
:10005800AE002E08FF3A031D3228332835285428CD :10005800A2002208FF3A031D3228332835285428E5
:1000680054287608840083130008AC002E0A3E2822 :1000680054287608840083130008A000220A3E283A
:100078000310AC0CFF3E031D3C282C1C44284528CB :100078000310A00CFF3E031D3C28201C44284528E3
:1000880047288721492884214928013083120313EE :100088004728802149287D214928013083120313FC
:10009800AE022E08FF3A031D52285328352854284B :10009800A2022208FF3A031D522853283528542863
:1000A8000530AC002C08AE002E08FF3A031D5D2871 :1000A8000530A0002008A2002208FF3A031D5D28A1
:1000B8005E2860287F287F282D0884008313000885 :1000B8005E2860287F287F28210884008313000891
:1000C800AC002E0A69280310AC0CFF3E031D6728FC :1000C800A000220A69280310A00CFF3E031D672820
:1000D8002C1C6F2870287228872174288421742882 :1000D800201C6F2870287228802174287D2174289C
:1000E800013083120313AE022E08FF3A031D7D2848 :1000E800013083120313A2022208FF3A031D7D2860
:1000F8007E2860287F284721080083120313AC005C :1000F8007E2860287F284721080083120313A00068
:10010800AD010330F4007408AE002E08FF3A031D59 :10010800A1010330F4007408A2002208FF3A031D7D
:100118008E288F289128DF28DF28FF3086000130BD :100118008E288F289128DF28DF28FF3086000130BD
:10012800F4002E0A99280310F40DFF3E031D9728AA :10012800F400220A99280310F40DFF3E031D9728B6
:100138007408FF3AF500750886050430F400740861 :100138007408FF3AF500750886050430F400740861
:10014800AF0008302F02031CAA28AB28AD28D628F8 :10014800A30008302302031CAA28AB28AD28D62810
:10015800D6280130F4007408AD070608F4002F0A09 :10015800D6280130F4007408A1070608F400230A21
:10016800B7280310F40CFF3E031DB5287418BD28EA :10016800B7280310F40CFF3E031DB5287418BD28EA
:10017800BE28CB282D08F4002C08840074088313AB :10017800BE28CB282108F4002008840074088313C3
:1001880080000130AA000030AB00DF28DF280130F2 :1001880080000130AC000030AD00DF28DF280130EE
:10019800F4007408AF0708302F02031CD428D528B0 :10019800F4007408A30708302302031CD428D528C8
:1001A800AD28D6280130AE022E08FF3A031DDD28FF :1001A800AD28D6280130A2022208FF3A031DDD2817
:1001B800DE289128DF28080083120313B301B20157 :1001B800DE289128DF28080083120313A701A6016F
:1001C80002308316031381000730831203139F0044 :1001C80002308316031381000730831203139F0044
:1001D800831603138501F03086008B1783120313EF :1001D800831603138501F03086008B1783120313EF
:1001E8001F149F141F158501FF3086001D30B000B5 :1001E8001F149F141F158501FF3086001D30A400C1
:1001F8003008B2008B018B15B10104290429630072 :1001F8002408A6008B018B15A50104290429630096
:100208000B1C0729082903290929FF308312031326 :100208000B1C0729082903290929FF308312031326
:100218008600333081200130831203132A062B0411 :100218008600273081200130831203132C062D0419
:10022800031D1729182904293230B0003008F600B8 :10022800031D1729182904292630A4002408F600DC
:100238003330112083120313AA01AB01B101031457 :100238002730112083120313AC01AD01A50103146B
:10024800B10D0429042904291028F5018312031388 :10024800A50D0429042904291028F5018312031394
:1002580005140514051405140510051005100510DE :1002580005140514051405140510051005100510DE
:1002680005100510051005100510051005100130C2 :1002680005100510051005100510051005100130C2
:10027800F4007408F50720307502031C4429452949 :10027800F4007408F50720307502031C4429452949
:100288002A2905100800A001A201A4017430A200C7 :100288002A2905100800F701A801AA017430A8005E
:100298000230A0000130A400A00B5029A20B502965 :100298000230F7000130AA00F70B5029A80B5029AB
:1002A800A40B50290800F50183120313051001302F :1002A800AA0B50290800F501831203130510013029
:1002B800F4007408F5073C307502031C64296529AD :1002B800F4007408F5073C307502031C64296529AD
:1002C8005829662908007308FF0072088A00710817 :1002C800582966290800F701F801F901A801A901D0
:1002D8008400700E8300FE0E7E0E0900F701F801FF :1002D800AA01AB01AC01AD018301E0287308FF005E
:1002E800F9018313203084002C307C218301E0281D :1002E80072088A0071088400700E8300FE0E7E0E6C
:1002F80064008001840A04060319003404067D2979 :0E02F80009002921572108005721292108005B
:0C03080029215721080057212921080055
:02400E0001FFB0 :02400E0001FFB0
:00000001FF :00000001FF

View File

@ -2,12 +2,12 @@
### Memory Usage ### ### Memory Usage ###
Unused memory ranges: Unused memory ranges:
2h - 7h 2h - 7h
314h - 400Dh 306h - 400Dh
4010h - 403Fh 4010h - 403Fh
RC5_Remote_Control.hex ranges: RC5_Remote_Control.hex ranges:
0h - 1h 0h - 1h
8h - 313h 8h - 305h
400Eh - 400Fh 400Eh - 400Fh
### Hex Memory Map ### ### Hex Memory Map ###
@ -34,5 +34,5 @@
00000240: 1111111111111111111111111111111111111111111111111111111111111111 00000240: 1111111111111111111111111111111111111111111111111111111111111111
00000280: 1111111111111111111111111111111111111111111111111111111111111111 00000280: 1111111111111111111111111111111111111111111111111111111111111111
000002C0: 1111111111111111111111111111111111111111111111111111111111111111 000002C0: 1111111111111111111111111111111111111111111111111111111111111111
00000300: 11111111111111111111-------------------------------------------- 00000300: 111111----------------------------------------------------------
00004000: --------------11------------------------------------------------ 00004000: --------------11------------------------------------------------

File diff suppressed because it is too large Load Diff

View File

@ -28,21 +28,20 @@ startup.obj end_init 10 10 1
RC5_Remote_Control.obj RC5_Remote_Control.obj
intentry 4 4 C 8 0 intentry 4 4 C 8 0
config 2007 2007 1 400E 0 config 2007 2007 1 400E 0
text304 167 167 B 8 0 text304 172 172 B 8 0
text303 129 129 1E 8 0 text303 129 129 1E 8 0
text302 157 157 10 8 0 text302 157 157 10 8 0
text301 147 147 10 8 0 text301 147 147 10 8 0
text300 81 81 5F 8 0 text300 81 81 5F 8 0
text299 187 187 3 8 0 text299 180 180 3 8 0
text298 184 184 3 8 0 text298 17D 17D 3 8 0
text297 11 11 70 8 0 text297 11 11 70 8 0
maintext E0 E0 49 8 0 maintext E0 E0 49 8 0
cstackBANK0 2C 2C 8 20 1 cstackBANK0 20 20 8 20 1
cstackCOMMON 70 70 7 70 1 cstackCOMMON 70 70 7 70 1
clrtext 17C 17C 8 8 0 bssBANK0 28 28 6 20 1
bssBANK0 20 20 C 20 1
bssCOMMON 77 77 3 70 1 bssCOMMON 77 77 3 70 1
cinit 172 172 A 8 0 cinit 167 167 B 8 0
TOTAL Name Link Load Length Space TOTAL Name Link Load Length Space
CLASS CONST CLASS CONST
@ -51,17 +50,16 @@ TOTAL Name Link Load Length Sp
end_init 10 10 1 0 end_init 10 10 1 0
intentry 4 4 C 0 intentry 4 4 C 0
reset_vec 0 0 1 0 reset_vec 0 0 1 0
text304 167 167 B 0 text304 172 172 B 0
text303 129 129 1E 0 text303 129 129 1E 0
text302 157 157 10 0 text302 157 157 10 0
text301 147 147 10 0 text301 147 147 10 0
text300 81 81 5F 0 text300 81 81 5F 0
text299 187 187 3 0 text299 180 180 3 0
text298 184 184 3 0 text298 17D 17D 3 0
text297 11 11 70 0 text297 11 11 70 0
maintext E0 E0 49 0 maintext E0 E0 49 0
clrtext 17C 17C 8 0 cinit 167 167 B 0
cinit 172 172 A 0
CLASS STRCODE CLASS STRCODE
@ -70,8 +68,8 @@ TOTAL Name Link Load Length Sp
CLASS STRING CLASS STRING
CLASS BANK0 CLASS BANK0
cstackBANK0 2C 2C 8 1 cstackBANK0 20 20 8 1
bssBANK0 20 20 C 1 bssBANK0 28 28 6 1
CLASS BANK1 CLASS BANK1
@ -108,8 +106,8 @@ TOTAL Name Link Load Length Sp
SEGMENTS Name Load Length Top Selector Space Class Delta SEGMENTS Name Load Length Top Selector Space Class Delta
reset_vec 000000 000001 000001 0 0 CODE 2 reset_vec 000000 000001 000001 0 0 CODE 2
intentry 000004 000186 00018A 8 0 CODE 2 intentry 000004 00017F 000183 8 0 CODE 2
bssBANK0 000020 000014 000034 20 1 BANK0 1 cstackBANK0 000020 00000E 00002E 20 1 BANK0 1
cstackCOMMON 000070 00000A 00007A 70 1 COMMON 1 cstackCOMMON 000070 00000A 00007A 70 1 COMMON 1
config 002007 000001 002008 400E 0 CONFIG 2 config 002007 000001 002008 400E 0 CONFIG 2
@ -117,19 +115,19 @@ SEGMENTS Name Load Length Top Selector
UNUSED ADDRESS RANGES UNUSED ADDRESS RANGES
Name Unused Largest block Delta Name Unused Largest block Delta
BANK0 0034-006F 3C 1 BANK0 002E-006F 42 1
BANK1 00A0-00EF 50 1 BANK1 00A0-00EF 50 1
BANK2 0120-014F 30 1 BANK2 0120-014F 30 1
CODE 0001-0003 3 2 CODE 0001-0003 3 2
018A-07FF 676 0183-07FF 67D
COMMON 007A-007D 4 1 COMMON 007A-007D 4 1
CONST 0001-0003 3 2 CONST 0001-0003 3 2
018A-07FF 100 0183-07FF 100
EEDATA 2100-217F 80 2 EEDATA 2100-217F 80 2
ENTRY 0001-0003 3 2 ENTRY 0001-0003 3 2
018A-07FF 100 0183-07FF 100
IDLOC 2000-2003 4 2 IDLOC 2000-2003 4 2
RAM 0034-006F 3C 1 RAM 002E-006F 42 1
00A0-00EF 50 00A0-00EF 50
0120-014F 30 0120-014F 30
SFR0 0000-001F 20 1 SFR0 0000-001F 20 1
@ -137,66 +135,66 @@ UNUSED ADDRESS RANGES
SFR2 0100-011F 20 1 SFR2 0100-011F 20 1
SFR3 0180-01EF 70 1 SFR3 0180-01EF 70 1
STRCODE 0001-0003 3 2 STRCODE 0001-0003 3 2
018A-07FF 676 0183-07FF 67D
STRING 0001-0003 3 2 STRING 0001-0003 3 2
018A-07FF 100 0183-07FF 100
Symbol Table Symbol Table
??_AN cstackCOMMON 0074
??_AUS cstackCOMMON 0074
??_ISR cstackCOMMON 0070 ??_ISR cstackCOMMON 0070
??_SendEins cstackCOMMON 0076 ??_OFF cstackCOMMON 0074
??_SendNull cstackCOMMON 0076 ??_ON cstackCOMMON 0074
??_SendRc5 cstackBANK0 002C ??_One cstackCOMMON 0076
??_SendRc5 cstackBANK0 0020
??_Zero cstackCOMMON 0076
??_delay_89ms cstackCOMMON 0074 ??_delay_89ms cstackCOMMON 0074
??_evaluate_tastatur cstackCOMMON 0074 ??_evaluate_tastatur cstackCOMMON 0074
??_main cstackBANK0 0030 ??_main cstackBANK0 0024
?_AN cstackCOMMON 0070
?_AUS cstackCOMMON 0070
?_ISR cstackCOMMON 0070 ?_ISR cstackCOMMON 0070
?_SendEins cstackCOMMON 0070 ?_OFF cstackCOMMON 0070
?_SendNull cstackCOMMON 0070 ?_ON cstackCOMMON 0070
?_One cstackCOMMON 0070
?_SendRc5 cstackCOMMON 0076 ?_SendRc5 cstackCOMMON 0076
?_Zero cstackCOMMON 0070
?_delay_89ms cstackCOMMON 0070 ?_delay_89ms cstackCOMMON 0070
?_evaluate_tastatur cstackCOMMON 0070 ?_evaluate_tastatur cstackCOMMON 0070
?_main cstackCOMMON 0070 ?_main cstackCOMMON 0070
AN@i cstackCOMMON 0075 OFF@i cstackCOMMON 0075
AUS@i cstackCOMMON 0075 ON@i cstackCOMMON 0075
SendRc5@command cstackBANK0 002D SendRc5@command cstackBANK0 0021
SendRc5@group cstackCOMMON 0076 SendRc5@group cstackCOMMON 0076
SendRc5@i cstackBANK0 002E SendRc5@i cstackBANK0 0022
_AN text303 0129
_AUS text302 0157
_CARRY (abs) 0018 _CARRY (abs) 0018
_CM0 (abs) 00F8 _CM0 (abs) 00F8
_CM1 (abs) 00F9 _CM1 (abs) 00F9
_CM2 (abs) 00FA _CM2 (abs) 00FA
_CMCON (abs) 001F _CMCON (abs) 001F
_CountA bssBANK0 0020 _CountA bssCOMMON 0077
_CountB bssBANK0 0022 _CountB bssBANK0 0028
_CountC bssBANK0 0024 _CountC bssBANK0 002A
_EEADR (abs) 009B _EEADR (abs) 009B
_EECON1 (abs) 009C _EECON1 (abs) 009C
_EECON2 (abs) 009D _EECON2 (abs) 009D
_EEDATA (abs) 009A _EEDATA (abs) 009A
_GIE (abs) 005F _GIE (abs) 005F
_INTCON (abs) 000B _INTCON (abs) 000B
_ISR text304 0167 _ISR text304 0172
_OFF text302 0157
_ON text303 0129
_OPTION_REG (abs) 0081 _OPTION_REG (abs) 0081
_One text299 0180
_PORTA (abs) 0005 _PORTA (abs) 0005
_PORTB (abs) 0006 _PORTB (abs) 0006
_RA0 (abs) 0028 _RA0 (abs) 0028
_RBIE (abs) 005B _RBIE (abs) 005B
_RBIF (abs) 0058 _RBIF (abs) 0058
_RD (abs) 04E0 _RD (abs) 04E0
_SendEins text299 0187
_SendNull text298 0184
_SendRc5 text297 0011 _SendRc5 text297 0011
_TRISA (abs) 0085 _TRISA (abs) 0085
_TRISB (abs) 0086 _TRISB (abs) 0086
_WR (abs) 04E1 _WR (abs) 04E1
_WREN (abs) 04E2 _WREN (abs) 04E2
_Zero text298 017D
__Habs1 abs1 0000 __Habs1 abs1 0000
__Hbank0 bank0 0000 __Hbank0 bank0 0000
__Hbank1 bank1 0000 __Hbank1 bank1 0000
@ -260,57 +258,52 @@ __Ltext text 0000
__S0 (abs) 2008 __S0 (abs) 2008
__S1 (abs) 007A __S1 (abs) 007A
__S2 (abs) 0000 __S2 (abs) 0000
__end_of_AN text303 0147 __end_of_ISR text304 017D
__end_of_AUS text302 0167 __end_of_OFF text302 0167
__end_of_ISR text304 0172 __end_of_ON text303 0147
__end_of_SendEins text299 018A __end_of_One text299 0183
__end_of_SendNull text298 0187
__end_of_SendRc5 text297 0081 __end_of_SendRc5 text297 0081
__end_of_Zero text298 0180
__end_of_delay_89ms text301 0157 __end_of_delay_89ms text301 0157
__end_of_evaluate_tastatur text300 00E0 __end_of_evaluate_tastatur text300 00E0
__end_of_main maintext 0129 __end_of_main maintext 0129
__pbssBANK0 bssBANK0 0020 __pbssBANK0 bssBANK0 0028
__pbssCOMMON bssCOMMON 0077 __pbssCOMMON bssCOMMON 0077
__pcstackBANK0 cstackBANK0 002C __pcstackBANK0 cstackBANK0 0020
__pcstackCOMMON cstackCOMMON 0070 __pcstackCOMMON cstackCOMMON 0070
__pintentry intentry 0004 __pintentry intentry 0004
__pmaintext maintext 00E0 __pmaintext maintext 00E0
__ptext296 text296 0000 __ptext296 text296 0000
__ptext297 text297 0011 __ptext297 text297 0011
__ptext298 text298 0184 __ptext298 text298 017D
__ptext299 text299 0187 __ptext299 text299 0180
__ptext300 text300 0081 __ptext300 text300 0081
__ptext301 text301 0147 __ptext301 text301 0147
__ptext302 text302 0157 __ptext302 text302 0157
__ptext303 text303 0129 __ptext303 text303 0129
__ptext304 text304 0167 __ptext304 text304 0172
__ptext305 text305 0000 __ptext305 text305 0000
__size_of_AN (abs) 0000
__size_of_AUS (abs) 0000
__size_of_ISR (abs) 0000 __size_of_ISR (abs) 0000
__size_of_SendEins (abs) 0000 __size_of_OFF (abs) 0000
__size_of_SendNull (abs) 0000 __size_of_ON (abs) 0000
__size_of_One (abs) 0000
__size_of_SendRc5 (abs) 0000 __size_of_SendRc5 (abs) 0000
__size_of_Zero (abs) 0000
__size_of_delay_89ms (abs) 0000 __size_of_delay_89ms (abs) 0000
__size_of_evaluate_tastatur (abs) 0000 __size_of_evaluate_tastatur (abs) 0000
__size_of_main (abs) 0000 __size_of_main (abs) 0000
_counterms bssCOMMON 0077
_counterus bssCOMMON 0078
_cycl_1 bssBANK0 0026
_cycl_2 bssBANK0 0028
_delay_89ms text301 0147 _delay_89ms text301 0147
_evaluate_tastatur text300 0081 _evaluate_tastatur text300 0081
_exit init 0010 _exit init 0010
_main maintext 00E0 _main maintext 00E0
_somethingpressed bssBANK0 002A _somethingpressed bssBANK0 002C
_toggle bssCOMMON 0079 _toggle bssCOMMON 0079
btemp (abs) 007E btemp (abs) 007E
clear_ram clrtext 017C end_of_initialization cinit 0170
end_of_initialization cinit 017A evaluate_tastatur@a cstackBANK0 0023
evaluate_tastatur@a cstackBANK0 002F evaluate_tastatur@comcode cstackBANK0 0020
evaluate_tastatur@comcode cstackBANK0 002C evaluate_tastatur@e cstackBANK0 0021
evaluate_tastatur@e cstackBANK0 002D evaluate_tastatur@i cstackBANK0 0022
evaluate_tastatur@i cstackBANK0 002E
interrupt_function intentry 0004 interrupt_function intentry 0004
intlevel0 functab 0000 intlevel0 functab 0000
intlevel1 functab 0000 intlevel1 functab 0000
@ -318,11 +311,11 @@ intlevel2 functab 0000
intlevel3 functab 0000 intlevel3 functab 0000
intlevel4 functab 0000 intlevel4 functab 0000
intlevel5 functab 0000 intlevel5 functab 0000
main@comcode cstackBANK0 0033 main@comcode cstackBANK0 0027
main@help cstackBANK0 0031 main@help cstackBANK0 0025
main@subcode cstackBANK0 0032 main@subcode cstackBANK0 0026
reset_vec reset_vec 0000 reset_vec reset_vec 0000
saved_w (abs) 007E saved_w (abs) 007E
start init 0010 start init 0010
start_initialization cinit 0172 start_initialization cinit 0167
wtemp0 (abs) 007E wtemp0 (abs) 007E

Binary file not shown.

Binary file not shown.

View File

@ -228,8 +228,8 @@
`uc 1 VR3 1 0 :1:3 `uc 1 VR3 1 0 :1:3
] ]
[u S617 . 1 `S606 1 . 1 0 `S612 1 . 1 0 ] [u S617 . 1 `S606 1 . 1 0 `S612 1 . 1 0 ]
"160 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "59 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v F595 `(v 1 t 0 ] [v F591 `(v 1 t 0 ]
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\abdiv.c "5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\abdiv.c
[v ___abdiv `(c 1 e 1 0 ] [v ___abdiv `(c 1 e 1 0 ]
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\abmod.c "5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\abmod.c
@ -302,23 +302,23 @@
[v ___tmul `(um 1 e 3 0 ] [v ___tmul `(um 1 e 3 0 ]
"3 C:\Program Files\HI-TECH Software\PICC\9.82\sources\wmul.c "3 C:\Program Files\HI-TECH Software\PICC\9.82\sources\wmul.c
[v ___wmul `(ui 1 e 2 0 ] [v ___wmul `(ui 1 e 2 0 ]
"60 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "19 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v _AN `(v 1 e 0 0 ] [v _ON `(v 1 e 0 0 ]
"133 "46
[v _AUS `(v 1 e 0 0 ] [v _OFF `(v 1 e 0 0 ]
"160 "59
[v _ISR `I(v 1 e 0 0 ] [v _ISR `I(v 1 e 0 0 ]
"165 "64
[v _delay_89ms `(v 1 e 0 0 ] [v _delay_89ms `(v 1 e 0 0 ]
"190 "89
[v _SendEins `(v 1 e 0 0 ] [v _One `(v 1 e 0 0 ]
"195 "94
[v _SendNull `(v 1 e 0 0 ] [v _Zero `(v 1 e 0 0 ]
"202 "101
[v _evaluate_tastatur `(v 1 e 0 0 ] [v _evaluate_tastatur `(v 1 e 0 0 ]
"229 "128
[v _SendRc5 `(v 1 e 0 0 ] [v _SendRc5 `(v 1 e 0 0 ]
"260 "159
[v _main `(v 1 e 0 0 ] [v _main `(v 1 e 0 0 ]
"7 eeprom.c "7 eeprom.c
[v _eecpymem `(v 1 e 0 0 ] [v _eecpymem `(v 1 e 0 0 ]
@ -722,88 +722,81 @@
[v _EECON1bits `VES589 1 e 1 @156 ] [v _EECON1bits `VES589 1 e 1 @156 ]
"656 "656
[v _VRCONbits `VES617 1 e 1 @159 ] [v _VRCONbits `VES617 1 e 1 @159 ]
"50 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "12 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v _toggle `uc 1 e 1 0 ] [v _toggle `uc 1 e 1 0 ]
"51 "13
[v _counterus `uc 1 e 1 0 ]
"52
[v _counterms `uc 1 e 1 0 ]
"53
[v _cycl_1 `ui 1 e 2 0 ]
"54
[v _cycl_2 `ui 1 e 2 0 ]
[v _CountA `ui 1 e 2 0 ] [v _CountA `ui 1 e 2 0 ]
[v _CountB `ui 1 e 2 0 ] [v _CountB `ui 1 e 2 0 ]
[v _CountC `ui 1 e 2 0 ] [v _CountC `ui 1 e 2 0 ]
"55 "14
[v _somethingpressed `ui 1 e 2 0 ] [v _somethingpressed `ui 1 e 2 0 ]
"260 "159
[v _main `(v 1 e 0 0 ] [v _main `(v 1 e 0 0 ]
{ {
"261 "160
[v main@comcode `uc 1 a 1 7 ] [v main@comcode `uc 1 a 1 7 ]
"262 "161
[v main@subcode `uc 1 a 1 6 ] [v main@subcode `uc 1 a 1 6 ]
"280 "176
[v main@help `uc 1 a 1 5 ] [v main@help `uc 1 a 1 5 ]
"304 "191
} 0 } 0
"229 "128
[v _SendRc5 `(v 1 e 0 0 ] [v _SendRc5 `(v 1 e 0 0 ]
{ {
[v SendRc5@command `*.0uc 1 a 1 wreg ] [v SendRc5@command `*.0uc 1 a 1 wreg ]
"230 "129
[v SendRc5@i `uc 1 a 1 2 ] [v SendRc5@i `uc 1 a 1 2 ]
"229 "128
[v SendRc5@command `*.0uc 1 a 1 wreg ] [v SendRc5@command `*.0uc 1 a 1 wreg ]
[v SendRc5@group `*.0uc 1 p 1 6 ] [v SendRc5@group `*.0uc 1 p 1 6 ]
"256 "155
} 0 } 0
"195 "94
[v _SendNull `(v 1 e 0 0 ] [v _Zero `(v 1 e 0 0 ]
{ {
"198 "97
} 0 } 0
"190 "89
[v _SendEins `(v 1 e 0 0 ] [v _One `(v 1 e 0 0 ]
{ {
"193 "92
} 0 } 0
"202 "101
[v _evaluate_tastatur `(v 1 e 0 0 ] [v _evaluate_tastatur `(v 1 e 0 0 ]
{ {
[v evaluate_tastatur@comcode `*.0uc 1 a 1 wreg ] [v evaluate_tastatur@comcode `*.0uc 1 a 1 wreg ]
"204 "103
[v evaluate_tastatur@a `uc 1 a 1 3 ] [v evaluate_tastatur@a `uc 1 a 1 3 ]
"203 "102
[v evaluate_tastatur@i `uc 1 a 1 2 ] [v evaluate_tastatur@i `uc 1 a 1 2 ]
"205 "104
[v evaluate_tastatur@e `uc 1 a 1 1 ] [v evaluate_tastatur@e `uc 1 a 1 1 ]
"202 "101
[v evaluate_tastatur@comcode `*.0uc 1 a 1 wreg ] [v evaluate_tastatur@comcode `*.0uc 1 a 1 wreg ]
"226 "125
} 0 } 0
"165 "64
[v _delay_89ms `(v 1 e 0 0 ] [v _delay_89ms `(v 1 e 0 0 ]
{ {
"187 "86
} 0 } 0
"133 "46
[v _AUS `(v 1 e 0 0 ] [v _OFF `(v 1 e 0 0 ]
{ {
"134 "47
[v AUS@i `uc 1 a 1 5 ] [v OFF@i `uc 1 a 1 5 ]
"154 "53
} 0 } 0
"60 "19
[v _AN `(v 1 e 0 0 ] [v _ON `(v 1 e 0 0 ]
{ {
"61 "20
[v AN@i `uc 1 a 1 5 ] [v ON@i `uc 1 a 1 5 ]
"130 "43
} 0 } 0
"160 "59
[v _ISR `I(v 1 e 0 0 ] [v _ISR `I(v 1 e 0 0 ]
{ {
"162 "61
} 0 } 0

View File

@ -1,5 +1,5 @@
_RD 4E0 0 ABS _RD 4E0 0 ABS
_AN 129 0 CODE _ON 129 0 CODE
_WR 4E1 0 ABS _WR 4E1 0 ABS
_RA0 28 0 ABS _RA0 28 0 ABS
_CM0 F8 0 ABS _CM0 F8 0 ABS
@ -9,27 +9,31 @@ __S0 2008 0 ABS
__S1 7A 0 ABS __S1 7A 0 ABS
__S2 0 0 ABS __S2 0 0 ABS
_GIE 5F 0 ABS _GIE 5F 0 ABS
?_AN 70 0 COMMON _OFF 157 0 CODE
_AUS 157 0 CODE ?_ON 70 0 COMMON
_ISR 167 0 CODE _ISR 172 0 CODE
__Hintentry 10 0 CODE __Hintentry 10 0 CODE
__Lintentry 4 0 CODE __Lintentry 4 0 CODE
AN@i 75 0 COMMON ON@i 75 0 COMMON
__pintentry 4 0 CODE __pintentry 4 0 CODE
_One 180 0 CODE
_RBIE 5B 0 ABS _RBIE 5B 0 ABS
_RBIF 58 0 ABS _RBIF 58 0 ABS
??_AN 74 0 COMMON ?_OFF 70 0 COMMON
_WREN 4E2 0 ABS _WREN 4E2 0 ABS
?_AUS 70 0 COMMON ??_ON 74 0 COMMON
?_ISR 70 0 COMMON ?_ISR 70 0 COMMON
AUS@i 75 0 COMMON OFF@i 75 0 COMMON
?_One 70 0 COMMON
_main E0 0 CODE _main E0 0 CODE
_Zero 17D 0 CODE
btemp 7E 0 ABS btemp 7E 0 ABS
?_evaluate_tastatur 70 0 COMMON ?_evaluate_tastatur 70 0 COMMON
_exit 10 0 CODE _exit 10 0 CODE
start 10 0 CODE start 10 0 CODE
__end_of_SendRc5 81 0 CODE __end_of_SendRc5 81 0 CODE
_somethingpressed 2A 0 BANK0 _somethingpressed 2C 0 BANK0
??_OFF 74 0 COMMON
_TRISA 85 0 ABS _TRISA 85 0 ABS
_TRISB 86 0 ABS _TRISB 86 0 ABS
_PORTA 5 0 ABS _PORTA 5 0 ABS
@ -38,25 +42,21 @@ _PORTB 6 0 ABS
_EEADR 9B 0 ABS _EEADR 9B 0 ABS
_CMCON 1F 0 ABS _CMCON 1F 0 ABS
wtemp0 7E 0 ABS wtemp0 7E 0 ABS
??_AUS 74 0 COMMON
??_ISR 70 0 COMMON ??_ISR 70 0 COMMON
interrupt_function 4 0 CODE interrupt_function 4 0 CODE
_CARRY 18 0 ABS _CARRY 18 0 ABS
__Hconfig 2008 0 CONFIG __Hconfig 2008 0 CONFIG
__Lconfig 2007 0 CONFIG __Lconfig 2007 0 CONFIG
__end_of_SendEins 18A 0 CODE ??_One 76 0 COMMON
clear_ram 17C 0 CODE
__Hram 0 0 ABS __Hram 0 0 ABS
__Lram 0 0 ABS __Lram 0 0 ABS
?_main 70 0 COMMON ?_main 70 0 COMMON
_SendNull 184 0 CODE ?_Zero 70 0 COMMON
main@help 31 0 BANK0 main@help 25 0 BANK0
__end_of_AUS 167 0 CODE __end_of_ISR 17D 0 CODE
__end_of_ISR 172 0 CODE
__Hfunctab 0 0 CODE __Hfunctab 0 0 CODE
__Lfunctab 0 0 CODE __Lfunctab 0 0 CODE
_EECON1 9C 0 ABS _EECON1 9C 0 ABS
_SendEins 187 0 CODE
_EECON2 9D 0 ABS _EECON2 9D 0 ABS
_OPTION_REG 81 0 ABS _OPTION_REG 81 0 ABS
__size_of_evaluate_tastatur 0 0 ABS __size_of_evaluate_tastatur 0 0 ABS
@ -65,9 +65,8 @@ __Lcommon 0 0 ABS
__Heeprom_data 0 0 EEDATA __Heeprom_data 0 0 EEDATA
__Leeprom_data 0 0 EEDATA __Leeprom_data 0 0 EEDATA
_EEDATA 9A 0 ABS _EEDATA 9A 0 ABS
__size_of_ON 0 0 ABS
SendRc5@group 76 0 COMMON SendRc5@group 76 0 COMMON
_cycl_1 26 0 BANK0
_cycl_2 28 0 BANK0
__Habs1 0 0 ABS __Habs1 0 0 ABS
__Labs1 0 0 ABS __Labs1 0 0 ABS
_INTCON B 0 ABS _INTCON B 0 ABS
@ -81,38 +80,37 @@ __Hsfr3 0 0 ABS
__Lsfr3 0 0 ABS __Lsfr3 0 0 ABS
__ptext300 81 0 CODE __ptext300 81 0 CODE
__ptext301 147 0 CODE __ptext301 147 0 CODE
_CountA 20 0 BANK0 _CountA 77 0 COMMON
_CountB 22 0 BANK0 _CountB 28 0 BANK0
__ptext302 157 0 CODE __ptext302 157 0 CODE
_CountC 24 0 BANK0 _CountC 2A 0 BANK0
__size_of_SendRc5 0 0 ABS __size_of_SendRc5 0 0 ABS
__ptext303 129 0 CODE __ptext303 129 0 CODE
__size_of_SendNull 0 0 ABS __size_of_One 0 0 ABS
__ptext304 167 0 CODE __ptext304 172 0 CODE
__Hcode 0 0 ABS __Hcode 0 0 ABS
__Lcode 0 0 ABS __Lcode 0 0 ABS
__ptext305 0 0 CODE __ptext305 0 0 CODE
_toggle 79 0 COMMON _toggle 79 0 COMMON
??_main 30 0 BANK0 ??_main 24 0 BANK0
__HcstackBANK0 0 0 ABS __HcstackBANK0 0 0 ABS
__LcstackBANK0 0 0 ABS __LcstackBANK0 0 0 ABS
__pcstackBANK0 2C 0 BANK0 __pcstackBANK0 20 0 BANK0
??_Zero 76 0 COMMON
saved_w 7E 0 ABS saved_w 7E 0 ABS
__Hinit 10 0 CODE __Hinit 10 0 CODE
__Linit 10 0 CODE __Linit 10 0 CODE
?_SendNull 70 0 COMMON
__end_of_main 129 0 CODE __end_of_main 129 0 CODE
__Htext 0 0 ABS __Htext 0 0 ABS
__Ltext 0 0 ABS __Ltext 0 0 ABS
end_of_initialization 17A 0 CODE __size_of_Zero 0 0 ABS
end_of_initialization 170 0 CODE
__ptext296 0 0 CODE __ptext296 0 0 CODE
__size_of_AUS 0 0 ABS
__size_of_ISR 0 0 ABS __size_of_ISR 0 0 ABS
__end_of_delay_89ms 157 0 CODE __end_of_delay_89ms 157 0 CODE
?_SendEins 70 0 COMMON
__ptext297 11 0 CODE __ptext297 11 0 CODE
__ptext298 184 0 CODE __ptext298 17D 0 CODE
__ptext299 187 0 CODE __ptext299 180 0 CODE
__Hstrings 0 0 ABS __Hstrings 0 0 ABS
__Lstrings 0 0 ABS __Lstrings 0 0 ABS
_delay_89ms 147 0 CODE _delay_89ms 147 0 CODE
@ -123,33 +121,31 @@ __Hbank1 0 0 ABS
__Lbank1 0 0 ABS __Lbank1 0 0 ABS
__Hbank2 0 0 ABS __Hbank2 0 0 ABS
__Lbank2 0 0 ABS __Lbank2 0 0 ABS
_counterms 77 0 COMMON
__Hbank3 0 0 BANK3 __Hbank3 0 0 BANK3
__Lbank3 0 0 BANK3 __Lbank3 0 0 BANK3
evaluate_tastatur@a 2F 0 BANK0 evaluate_tastatur@a 23 0 BANK0
__Hpowerup 0 0 CODE __Hpowerup 0 0 CODE
evaluate_tastatur@e 2D 0 BANK0 evaluate_tastatur@e 21 0 BANK0
__Lpowerup 0 0 CODE __Lpowerup 0 0 CODE
evaluate_tastatur@i 2E 0 BANK0 evaluate_tastatur@i 22 0 BANK0
__end_of_SendNull 187 0 CODE __end_of_OFF 167 0 CODE
__end_of_AN 147 0 CODE
_counterus 78 0 COMMON
__Hclrtext 0 0 ABS __Hclrtext 0 0 ABS
__Lclrtext 0 0 ABS __Lclrtext 0 0 ABS
??_delay_89ms 74 0 COMMON ??_delay_89ms 74 0 COMMON
evaluate_tastatur@comcode 2C 0 BANK0 evaluate_tastatur@comcode 20 0 BANK0
__Hidloc 0 0 IDLOC __Hidloc 0 0 IDLOC
__Lidloc 0 0 IDLOC __Lidloc 0 0 IDLOC
??_SendNull 76 0 COMMON ??_SendRc5 20 0 BANK0
??_SendRc5 2C 0 BANK0 __end_of_ON 147 0 CODE
__Hcinit 0 0 ABS __Hcinit 0 0 ABS
__Lcinit 0 0 ABS __Lcinit 0 0 ABS
__size_of_main 0 0 ABS __size_of_main 0 0 ABS
__size_of_delay_89ms 0 0 ABS __size_of_delay_89ms 0 0 ABS
__end_of_One 183 0 CODE
__end_of_Zero 180 0 CODE
__HbssBANK0 0 0 ABS __HbssBANK0 0 0 ABS
__LbssBANK0 0 0 ABS __LbssBANK0 0 0 ABS
__pbssBANK0 20 0 BANK0 __pbssBANK0 28 0 BANK0
??_SendEins 76 0 COMMON
??_evaluate_tastatur 74 0 COMMON ??_evaluate_tastatur 74 0 COMMON
__HbssCOMMON 0 0 ABS __HbssCOMMON 0 0 ABS
__LbssCOMMON 0 0 ABS __LbssCOMMON 0 0 ABS
@ -157,9 +153,9 @@ __pbssCOMMON 77 0 COMMON
?_delay_89ms 70 0 COMMON ?_delay_89ms 70 0 COMMON
__Hend_init 11 0 CODE __Hend_init 11 0 CODE
__Lend_init 10 0 CODE __Lend_init 10 0 CODE
main@subcode 32 0 BANK0 main@subcode 26 0 BANK0
main@comcode 33 0 BANK0 main@comcode 27 0 BANK0
SendRc5@command 2D 0 BANK0 SendRc5@command 21 0 BANK0
?_SendRc5 76 0 COMMON ?_SendRc5 76 0 COMMON
__Hreset_vec 1 0 CODE __Hreset_vec 1 0 CODE
__Lreset_vec 0 0 CODE __Lreset_vec 0 0 CODE
@ -170,155 +166,147 @@ intlevel2 0 0 CODE
intlevel3 0 0 CODE intlevel3 0 0 CODE
intlevel4 0 0 CODE intlevel4 0 0 CODE
intlevel5 0 0 CODE intlevel5 0 0 CODE
__size_of_OFF 0 0 ABS
__HcstackCOMMON 0 0 ABS __HcstackCOMMON 0 0 ABS
__LcstackCOMMON 0 0 ABS __LcstackCOMMON 0 0 ABS
__end_of_evaluate_tastatur E0 0 CODE __end_of_evaluate_tastatur E0 0 CODE
__size_of_AN 0 0 ABS
__pcstackCOMMON 70 0 COMMON __pcstackCOMMON 70 0 COMMON
start_initialization 172 0 CODE start_initialization 167 0 CODE
__size_of_SendEins 0 0 ABS
__Hmaintext 0 0 ABS __Hmaintext 0 0 ABS
__Lmaintext 0 0 ABS __Lmaintext 0 0 ABS
__pmaintext E0 0 CODE __pmaintext E0 0 CODE
SendRc5@i 2E 0 BANK0 SendRc5@i 22 0 BANK0
%segments %segments
reset_vec 0 1 CODE 0 reset_vec 0 1 CODE 0
intentry 8 313 CODE 8 intentry 8 305 CODE 8
config 400E 400F CONFIG 400E config 400E 400F CONFIG 400E
cstackCOMMON 70 79 COMMON 70 cstackCOMMON 70 79 COMMON 70
bssBANK0 20 33 BANK0 20 cstackBANK0 20 2D BANK0 20
%locals %locals
startup.obj startup.obj
startup.as startup.as
60 0 0 CODE 60 0 0 CODE
69 10 0 CODE 69 10 0 CODE
RC5_Remote_Control.obj RC5_Remote_Control.obj
C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c C:\Users\132033dt\Desktop\pic_rc5\src\main.c
43 2007 0 CONFIG 5 2007 0 CONFIG
RC5_Remote_Control.as RC5_Remote_Control.as
171 172 0 CODE 140 167 0 CODE
172 173 0 CODE 141 168 0 CODE
173 174 0 CODE 142 169 0 CODE
176 175 0 CODE 145 16A 0 CODE
177 176 0 CODE 146 16B 0 CODE
178 177 0 CODE 147 16C 0 CODE
179 178 0 CODE 148 16D 0 CODE
180 179 0 CODE 149 16E 0 CODE
187 17A 0 CODE 150 16F 0 CODE
188 17B 0 CODE 157 170 0 CODE
159 17C 0 CODE 158 171 0 CODE
161 17D 0 CODE C:\Users\132033dt\Desktop\pic_rc5\src\main.c
162 17E 0 CODE 160 E0 0 CODE
163 17F 0 CODE 161 E3 0 CODE
164 180 0 CODE 163 E4 0 CODE
165 181 0 CODE 164 E8 0 CODE
166 182 0 CODE 165 EC 0 CODE
167 183 0 CODE 166 EF 0 CODE
C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c 167 F1 0 CODE
261 E0 0 CODE 168 F2 0 CODE
262 E3 0 CODE 169 F5 0 CODE
264 E4 0 CODE 170 F6 0 CODE
265 E8 0 CODE 171 F7 0 CODE
266 EC 0 CODE 172 F8 0 CODE
267 EF 0 CODE 173 FA 0 CODE
269 F1 0 CODE 174 FE 0 CODE
270 F2 0 CODE 175 FF 0 CODE
271 F5 0 CODE 176 100 0 CODE
272 F6 0 CODE 180 102 0 CODE
273 F7 0 CODE 181 103 0 CODE
274 F8 0 CODE 180 104 0 CODE
275 FA 0 CODE 182 109 0 CODE
278 FE 0 CODE 183 10D 0 CODE
279 FF 0 CODE 184 10F 0 CODE
280 100 0 CODE 186 118 0 CODE
284 102 0 CODE 187 11E 0 CODE
285 103 0 CODE 188 122 0 CODE
284 104 0 CODE 189 126 0 CODE
286 109 0 CODE 178 127 0 CODE
287 10D 0 CODE 191 128 0 CODE
288 10F 0 CODE 130 11 0 CODE
290 118 0 CODE 131 15 0 CODE
291 11E 0 CODE 133 16 0 CODE
292 122 0 CODE 134 1D 0 CODE
293 126 0 CODE 135 23 0 CODE
282 127 0 CODE 137 25 0 CODE
304 128 0 CODE 139 27 0 CODE
231 11 0 CODE 141 35 0 CODE
232 15 0 CODE 142 45 0 CODE
234 16 0 CODE 144 47 0 CODE
235 1D 0 CODE 139 49 0 CODE
236 23 0 CODE 146 54 0 CODE
238 25 0 CODE 148 60 0 CODE
240 27 0 CODE 149 70 0 CODE
242 35 0 CODE 151 72 0 CODE
243 45 0 CODE 146 74 0 CODE
245 47 0 CODE 153 7F 0 CODE
240 49 0 CODE 155 80 0 CODE
247 54 0 CODE 95 17D 0 CODE
249 60 0 CODE 96 17E 0 CODE
250 70 0 CODE 97 17F 0 CODE
252 72 0 CODE 90 180 0 CODE
247 74 0 CODE 91 181 0 CODE
254 7F 0 CODE 92 182 0 CODE
256 80 0 CODE 105 81 0 CODE
196 184 0 CODE 107 85 0 CODE
197 185 0 CODE 109 91 0 CODE
198 186 0 CODE 110 93 0 CODE
191 187 0 CODE 111 A1 0 CODE
192 188 0 CODE 113 AD 0 CODE
193 189 0 CODE 114 B1 0 CODE
206 81 0 CODE 116 BE 0 CODE
208 85 0 CODE 117 C5 0 CODE
210 91 0 CODE 118 CA 0 CODE
211 93 0 CODE 111 CB 0 CODE
212 A1 0 CODE 107 D6 0 CODE
214 AD 0 CODE 125 DF 0 CODE
215 B1 0 CODE 67 147 0 CODE
217 BE 0 CODE 68 148 0 CODE
218 C5 0 CODE 69 149 0 CODE
219 CA 0 CODE 70 14A 0 CODE
212 CB 0 CODE 71 14B 0 CODE
208 D6 0 CODE 72 14C 0 CODE
226 DF 0 CODE 73 14D 0 CODE
168 147 0 CODE 74 14E 0 CODE
169 148 0 CODE 75 14F 0 CODE
170 149 0 CODE 78 150 0 CODE
171 14A 0 CODE 79 151 0 CODE
172 14B 0 CODE 80 152 0 CODE
173 14C 0 CODE 81 153 0 CODE
174 14D 0 CODE 82 154 0 CODE
175 14E 0 CODE 83 155 0 CODE
176 14F 0 CODE 86 156 0 CODE
179 150 0 CODE 47 157 0 CODE
180 151 0 CODE 50 158 0 CODE
181 152 0 CODE 52 15B 0 CODE
182 153 0 CODE 53 166 0 CODE
183 154 0 CODE 20 129 0 CODE
184 155 0 CODE 23 12A 0 CODE
187 156 0 CODE 24 12D 0 CODE
134 157 0 CODE 25 12E 0 CODE
137 158 0 CODE 26 12F 0 CODE
139 15B 0 CODE 28 130 0 CODE
154 166 0 CODE 29 131 0 CODE
61 129 0 CODE 30 132 0 CODE
64 12A 0 CODE 31 133 0 CODE
65 12D 0 CODE 32 134 0 CODE
66 12E 0 CODE 33 135 0 CODE
67 12F 0 CODE 34 136 0 CODE
69 130 0 CODE 35 137 0 CODE
70 131 0 CODE 36 138 0 CODE
71 132 0 CODE 37 139 0 CODE
72 133 0 CODE 38 13A 0 CODE
73 134 0 CODE 39 13B 0 CODE
74 135 0 CODE 41 13F 0 CODE
75 136 0 CODE 42 145 0 CODE
76 137 0 CODE 43 146 0 CODE
77 138 0 CODE 61 172 0 CODE
78 139 0 CODE 59 4 0 CODE
79 13A 0 CODE
80 13B 0 CODE
82 13F 0 CODE
84 145 0 CODE
130 146 0 CODE
162 167 0 CODE
160 4 0 CODE

View File

@ -1,10 +1,10 @@
_SendRc5: CODE, 17 0 112 _SendRc5: CODE, 17 0 112
_SendEins: CODE, 391 0 3 _ISR: CODE, 370 0 11
_AUS: CODE, 343 0 16
_ISR: CODE, 359 0 11
_main: CODE, 224 0 73 _main: CODE, 224 0 73
_delay_89ms: CODE, 327 0 16 _delay_89ms: CODE, 327 0 16
_SendNull: CODE, 388 0 3 _OFF: CODE, 343 0 16
_AN: CODE, 297 0 30 _ON: CODE, 297 0 30
_One: CODE, 384 0 3
_Zero: CODE, 381 0 3
_evaluate_tastatur: CODE, 129 0 95 _evaluate_tastatur: CODE, 129 0 95
Total: 359 Total: 359

View File

@ -473,23 +473,15 @@ Version 3.2 HI-TECH Software Intermediate Code
[n S48 . . . ] [n S48 . . . ]
"656 C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628a.h "656 C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628a.h
[v _VRCONbits `VS48 1 e@159 ] [v _VRCONbits `VS48 1 e@159 ]
"50 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "12 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v _toggle `uc 1 e ] [v _toggle `uc 1 e ]
"51 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "13 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v _counterus `uc 1 e ]
"52 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
[v _counterms `uc 1 e ]
"53 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
[v _cycl_1 `ui 1 e ]
"54 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
[v _cycl_2 `ui 1 e ]
"54 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
[v _CountA `ui 1 e ] [v _CountA `ui 1 e ]
"54 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "13 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v _CountB `ui 1 e ] [v _CountB `ui 1 e ]
"54 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "13 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v _CountC `ui 1 e ] [v _CountC `ui 1 e ]
"55 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "14 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[v _somethingpressed `ui 1 e ] [v _somethingpressed `ui 1 e ]
[p mainexit ] [p mainexit ]
[; ;pic16f628a.h: 81: volatile unsigned char INDF @ 0x000; [; ;pic16f628a.h: 81: volatile unsigned char INDF @ 0x000;
@ -925,545 +917,534 @@ Version 3.2 HI-TECH Software Intermediate Code
[; ;eeprom_routines.h: 43: extern void eecpymem(volatile unsigned char *to, eeprom unsigned char *from, unsigned char size); [; ;eeprom_routines.h: 43: extern void eecpymem(volatile unsigned char *to, eeprom unsigned char *from, unsigned char size);
[; ;eeprom_routines.h: 44: extern void memcpyee(eeprom unsigned char *to, const unsigned char *from, unsigned char size); [; ;eeprom_routines.h: 44: extern void memcpyee(eeprom unsigned char *to, const unsigned char *from, unsigned char size);
[; ;pic.h: 154: extern void _delay(unsigned long); [; ;pic.h: 154: extern void _delay(unsigned long);
"43 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c "5 C:\Users\132033dt\Desktop\pic_rc5\src\main.c
[; ;main.c: 43: asm("\tpsect config,class=CONFIG,delta=2"); asm("\tdw ""0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED"); [; ;main.c: 5: asm("\tpsect config,class=CONFIG,delta=2"); asm("\tdw ""0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED");
[; psect config,class=CONFIG,delta=2 ;# [; psect config,class=CONFIG,delta=2 ;#
[; dw 0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED ;# [; dw 0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED ;#
[; ;main.c: 46: unsigned char PhaseDemod(); [; ;main.c: 8: unsigned char PhaseDemod();
"50 "12
[i _toggle [i _toggle
-> -> 0 `i `uc -> -> 0 `i `uc
] ]
[; ;main.c: 50: unsigned char toggle = 0; [; ;main.c: 12: unsigned char toggle = 0;
"51 [; ;main.c: 13: unsigned int CountA, CountB, CountC;
[i _counterus "14
-> -> 0 `i `uc
]
[; ;main.c: 51: unsigned char counterus = 0;
"52
[i _counterms
-> -> 0 `i `uc
]
[; ;main.c: 52: unsigned char counterms = 0;
[; ;main.c: 53: unsigned int cycl_1;
[; ;main.c: 54: unsigned int cycl_2, CountA, CountB, CountC;
"55
[i _somethingpressed [i _somethingpressed
-> -> 0 `i `ui -> -> 0 `i `ui
] ]
[; ;main.c: 55: unsigned int somethingpressed = 0; [; ;main.c: 14: unsigned int somethingpressed = 0;
[; ;main.c: 57: void samplebit(); [; ;main.c: 16: void samplebit();
"60 "19
[v _AN `(v 1 ef ] [v _ON `(v 1 ef ]
{ {
[; ;main.c: 59: void AN() [; ;main.c: 18: void ON()
[; ;main.c: 60: { [; ;main.c: 19: {
[e :U _AN ] [e :U _ON ]
[f ] [f ]
"61 "20
[v _i `uc 1 a ] [v _i `uc 1 a ]
[; ;main.c: 61: unsigned char i = 0; [; ;main.c: 20: unsigned char i = 0;
[e = _i -> -> 0 `i `uc ] [e = _i -> -> 0 `i `uc ]
[; ;main.c: 62: do [; ;main.c: 21: do
"62 "21
[e :U 54 ] [e :U 54 ]
[; ;main.c: 63: { [; ;main.c: 22: {
"63 "22
{ {
[; ;main.c: 64: RA0 = 1; [; ;main.c: 23: RA0 = 1;
"64 "23
[e = _RA0 -> -> 1 `i `b ] [e = _RA0 -> -> 1 `i `b ]
[; ;main.c: 65: RA0 = 1; [; ;main.c: 24: RA0 = 1;
"65 "24
[e = _RA0 -> -> 1 `i `b ] [e = _RA0 -> -> 1 `i `b ]
[; ;main.c: 66: RA0 = 1; [; ;main.c: 25: RA0 = 1;
"66 "25
[e = _RA0 -> -> 1 `i `b ] [e = _RA0 -> -> 1 `i `b ]
[; ;main.c: 67: RA0 = 1; [; ;main.c: 26: RA0 = 1;
"67 "26
[e = _RA0 -> -> 1 `i `b ] [e = _RA0 -> -> 1 `i `b ]
[; ;main.c: 69: RA0 = 0; [; ;main.c: 28: RA0 = 0;
"69 "28
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 70: RA0 = 0; [; ;main.c: 29: RA0 = 0;
"70 "29
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 71: RA0 = 0; [; ;main.c: 30: RA0 = 0;
"71 "30
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 72: RA0 = 0; [; ;main.c: 31: RA0 = 0;
"72 "31
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 73: RA0 = 0; [; ;main.c: 32: RA0 = 0;
"73 "32
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 74: RA0 = 0; [; ;main.c: 33: RA0 = 0;
"74 "33
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 75: RA0 = 0; [; ;main.c: 34: RA0 = 0;
"75 "34
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 76: RA0 = 0; [; ;main.c: 35: RA0 = 0;
"76 "35
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 77: RA0 = 0; [; ;main.c: 36: RA0 = 0;
"77 "36
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 78: RA0 = 0; [; ;main.c: 37: RA0 = 0;
"78 "37
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 79: RA0 = 0; [; ;main.c: 38: RA0 = 0;
"79 "38
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 80: i++; [; ;main.c: 39: i++;
"80 "39
[e ++ _i -> -> 1 `i `uc ] [e ++ _i -> -> 1 `i `uc ]
"81 "40
} }
[; ;main.c: 81: } [; ;main.c: 40: }
[; ;main.c: 82: while(i<32); [; ;main.c: 41: while(i<32);
"82 "41
[e $ < -> _i `i -> 32 `i 54 ] [e $ < -> _i `i -> 32 `i 54 ]
[e :U 53 ] [e :U 53 ]
[; ;main.c: 84: RA0 = 0; [; ;main.c: 42: RA0 = 0;
"84 "42
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
[; ;main.c: 130: } [; ;main.c: 43: }
"130 "43
[e :UE 51 ] [e :UE 51 ]
} }
"133 "46
[v _AUS `(v 1 ef ] [v _OFF `(v 1 ef ]
{ {
[; ;main.c: 132: void AUS() [; ;main.c: 45: void OFF()
[; ;main.c: 133: { [; ;main.c: 46: {
[e :U _AUS ] [e :U _OFF ]
[f ] [f ]
"134 "47
[v _i `uc 1 a ] [v _i `uc 1 a ]
[; ;main.c: 134: unsigned char i = 0; [; ;main.c: 47: unsigned char i = 0;
[e = _i -> -> 0 `i `uc ] [e = _i -> -> 0 `i `uc ]
[; ;main.c: 135: do [; ;main.c: 48: do
"135 "48
[e :U 58 ] [e :U 58 ]
[; ;main.c: 136: { [; ;main.c: 49: {
"136 "49
{ {
[; ;main.c: 137: RA0=0; [; ;main.c: 50: RA0=0;
"137 "50
[e = _RA0 -> -> 0 `i `b ] [e = _RA0 -> -> 0 `i `b ]
"138 "51
} }
[; ;main.c: 138: } [; ;main.c: 51: }
[; ;main.c: 139: while(i++<59); [; ;main.c: 52: while(i++<59);
"139 "52
[e $ < -> ++ _i -> -> 1 `i `uc `i -> 59 `i 58 ] [e $ < -> ++ _i -> -> 1 `i `uc `i -> 59 `i 58 ]
[e :U 57 ] [e :U 57 ]
[; ;main.c: 154: } [; ;main.c: 53: }
"154 "53
[e :UE 55 ] [e :UE 55 ]
} }
"160 "59
[v F595 `(v 1 tf ] [v F591 `(v 1 tf ]
[v _ISR `IF595 1 e ] [v _ISR `IF591 1 e ]
{ {
[; ;main.c: 159: void interrupt ISR (void) [; ;main.c: 58: void interrupt ISR (void)
[; ;main.c: 160: { [; ;main.c: 59: {
[e :U _ISR ] [e :U _ISR ]
[f ] [f ]
[; ;main.c: 162: } [; ;main.c: 61: }
"162 "61
[e :UE 59 ] [e :UE 59 ]
} }
"165 "64
[v _delay_89ms `(v 1 ef ] [v _delay_89ms `(v 1 ef ]
{ {
[; ;main.c: 164: void delay_89ms() [; ;main.c: 63: void delay_89ms()
[; ;main.c: 165: { [; ;main.c: 64: {
[e :U _delay_89ms ] [e :U _delay_89ms ]
[f ] [f ]
"167 "66
[; pause89ms ;# [; pause89ms ;#
"168 "67
[; clrf _CountA ;# [; clrf _CountA ;#
"169 "68
[; clrf _CountB ;# [; clrf _CountB ;#
"170 "69
[; clrf _CountC ;# [; clrf _CountC ;#
"171 "70
[; movlw 0x74 ;# [; movlw 0x74 ;#
"172 "71
[; movwf _CountB ;# [; movwf _CountB ;#
"173 "72
[; movlw 0x02 ;# [; movlw 0x02 ;#
"174 "73
[; movwf _CountA ;# [; movwf _CountA ;#
"175 "74
[; movlw 0x01 ;# [; movlw 0x01 ;#
"176 "75
[; movwf _CountC ;# [; movwf _CountC ;#
"177 "76
"178 "77
[; Loop ;Wiederholung der Zeitverzögerung ;# [; Loop ;Wiederholung der Zeitverzögerung ;#
"179 "78
[; decfsz _CountA ;# [; decfsz _CountA ;#
"180 "79
[; goto Loop ;# [; goto Loop ;#
"181 "80
[; decfsz _CountB ;# [; decfsz _CountB ;#
"182 "81
[; goto Loop ;# [; goto Loop ;#
"183 "82
[; decfsz _CountC ;# [; decfsz _CountC ;#
"184 "83
[; goto Loop ;# [; goto Loop ;#
[; ;main.c: 186: return; [; ;main.c: 85: return;
"186 "85
[e $UE 60 ] [e $UE 60 ]
[; ;main.c: 187: } [; ;main.c: 86: }
"187 "86
[e :UE 60 ] [e :UE 60 ]
} }
"190 "89
[v _SendEins `(v 1 ef ] [v _One `(v 1 ef ]
{ {
[; ;main.c: 189: void SendEins() [; ;main.c: 88: void One()
[; ;main.c: 190: { [; ;main.c: 89: {
[e :U _SendEins ] [e :U _One ]
[f ] [f ]
[; ;main.c: 191: AUS(); [; ;main.c: 90: OFF();
"191 "90
[e ( _AUS .. ] [e ( _OFF .. ]
[; ;main.c: 192: AN(); [; ;main.c: 91: ON();
"192 "91
[e ( _AN .. ] [e ( _ON .. ]
[; ;main.c: 193: } [; ;main.c: 92: }
"193 "92
[e :UE 61 ] [e :UE 61 ]
} }
"195 "94
[v _SendNull `(v 1 ef ] [v _Zero `(v 1 ef ]
{ {
[; ;main.c: 194: void SendNull() [; ;main.c: 93: void Zero()
[; ;main.c: 195: { [; ;main.c: 94: {
[e :U _SendNull ] [e :U _Zero ]
[f ] [f ]
[; ;main.c: 196: AN(); [; ;main.c: 95: ON();
"196 "95
[e ( _AN .. ] [e ( _ON .. ]
[; ;main.c: 197: AUS(); [; ;main.c: 96: OFF();
"197 "96
[e ( _AUS .. ] [e ( _OFF .. ]
[; ;main.c: 198: } [; ;main.c: 97: }
"198 "97
[e :UE 62 ] [e :UE 62 ]
} }
"202 "101
[v _evaluate_tastatur `(v 1 ef1`*uc ] [v _evaluate_tastatur `(v 1 ef1`*uc ]
{ {
[; ;main.c: 201: void evaluate_tastatur(char *comcode) [; ;main.c: 100: void evaluate_tastatur(char *comcode)
[; ;main.c: 202: { [; ;main.c: 101: {
[e :U _evaluate_tastatur ] [e :U _evaluate_tastatur ]
[v _comcode `*uc 1 r1 ] [v _comcode `*uc 1 r1 ]
[f ] [f ]
"203 "102
[v _i `uc 1 a ] [v _i `uc 1 a ]
"204 "103
[v _a `uc 1 a ] [v _a `uc 1 a ]
"205 "104
[v _e `uc 1 a ] [v _e `uc 1 a ]
[; ;main.c: 203: unsigned char i; [; ;main.c: 102: unsigned char i;
[; ;main.c: 204: unsigned char a; [; ;main.c: 103: unsigned char a;
[; ;main.c: 205: unsigned char e; [; ;main.c: 104: unsigned char e;
[; ;main.c: 206: e = 0; [; ;main.c: 105: e = 0;
"206 "105
[e = _e -> -> 0 `i `uc ] [e = _e -> -> 0 `i `uc ]
[; ;main.c: 208: for(i=3; i != 255; i--) [; ;main.c: 107: for(i=3; i != 255; i--)
"208 "107
{ {
[e = _i -> -> 3 `i `uc ] [e = _i -> -> 3 `i `uc ]
[e $ != -> _i `i -> 255 `i 64 ] [e $ != -> _i `i -> 255 `i 64 ]
[e $U 65 ] [e $U 65 ]
"209 "108
[e :U 64 ] [e :U 64 ]
[; ;main.c: 209: { [; ;main.c: 108: {
{ {
[; ;main.c: 210: PORTB = 0xFF; [; ;main.c: 109: PORTB = 0xFF;
"210 "109
[e = _PORTB -> -> 255 `i `uc ] [e = _PORTB -> -> 255 `i `uc ]
[; ;main.c: 211: PORTB &= ~(1<<i); [; ;main.c: 110: PORTB &= ~(1<<i);
"211 "110
[e =& _PORTB -> ~ << -> 1 `i _i `uc ] [e =& _PORTB -> ~ << -> 1 `i _i `uc ]
[; ;main.c: 212: for(a=4; a <= 7; a++) [; ;main.c: 111: for(a=4; a <= 7; a++)
"212 "111
{ {
[e = _a -> -> 4 `i `uc ] [e = _a -> -> 4 `i `uc ]
[e $ <= -> _a `i -> 7 `i 67 ] [e $ <= -> _a `i -> 7 `i 67 ]
[e $U 68 ] [e $U 68 ]
"213 "112
[e :U 67 ] [e :U 67 ]
[; ;main.c: 213: { [; ;main.c: 112: {
{ {
[; ;main.c: 214: e++; [; ;main.c: 113: e++;
"214 "113
[e ++ _e -> -> 1 `i `uc ] [e ++ _e -> -> 1 `i `uc ]
[; ;main.c: 215: if( ((PORTB>>a) & 1) == 0) [; ;main.c: 114: if( ((PORTB>>a) & 1) == 0)
"215 "114
[e $ ! == & >> -> _PORTB `i _a -> 1 `i -> 0 `i 70 ] [e $ ! == & >> -> _PORTB `i _a -> 1 `i -> 0 `i 70 ]
[; ;main.c: 216: { [; ;main.c: 115: {
"216 "115
{ {
[; ;main.c: 217: *comcode = e; [; ;main.c: 116: *comcode = e;
"217 "116
[e = *U _comcode _e ] [e = *U _comcode _e ]
[; ;main.c: 218: somethingpressed = 1; [; ;main.c: 117: somethingpressed = 1;
"218 "117
[e = _somethingpressed -> -> 1 `i `ui ] [e = _somethingpressed -> -> 1 `i `ui ]
[; ;main.c: 219: return; [; ;main.c: 118: return;
"219 "118
[e $UE 63 ] [e $UE 63 ]
"220 "119
} }
[e :U 70 ] [e :U 70 ]
"223 "122
} }
"212 "111
[e ++ _a -> -> 1 `i `uc ] [e ++ _a -> -> 1 `i `uc ]
[e $ <= -> _a `i -> 7 `i 67 ] [e $ <= -> _a `i -> 7 `i 67 ]
[e :U 68 ] [e :U 68 ]
"223 "122
} }
"224 "123
} }
"208 "107
[e -- _i -> -> 1 `i `uc ] [e -- _i -> -> 1 `i `uc ]
[e $ != -> _i `i -> 255 `i 64 ] [e $ != -> _i `i -> 255 `i 64 ]
[e :U 65 ] [e :U 65 ]
"224 "123
} }
[; ;main.c: 220: } [; ;main.c: 119: }
[; ;main.c: 223: } [; ;main.c: 122: }
[; ;main.c: 224: } [; ;main.c: 123: }
[; ;main.c: 226: } [; ;main.c: 125: }
"226 "125
[e :UE 63 ] [e :UE 63 ]
} }
"229 "128
[v _SendRc5 `(v 1 ef2`*uc`*uc ] [v _SendRc5 `(v 1 ef2`*uc`*uc ]
{ {
[; ;main.c: 228: void SendRc5(char* command, char *group) [; ;main.c: 127: void SendRc5(char* command, char *group)
[; ;main.c: 229: { [; ;main.c: 128: {
[e :U _SendRc5 ] [e :U _SendRc5 ]
[v _command `*uc 1 r1 ] [v _command `*uc 1 r1 ]
[v _group `*uc 1 r2 ] [v _group `*uc 1 r2 ]
[f ] [f ]
"230 "129
[v _i `uc 1 a ] [v _i `uc 1 a ]
[; ;main.c: 230: unsigned char i; [; ;main.c: 129: unsigned char i;
[; ;main.c: 231: SendEins(); [; ;main.c: 130: One();
"231 "130
[e ( _SendEins .. ] [e ( _One .. ]
[; ;main.c: 232: SendEins(); [; ;main.c: 131: One();
"232 "131
[e ( _SendEins .. ] [e ( _One .. ]
[; ;main.c: 234: toggle = toggle ^ 1 & 1; [; ;main.c: 133: toggle = toggle ^ 1 & 1;
"234 "133
[e = _toggle -> ^ -> _toggle `i & -> 1 `i -> 1 `i `uc ] [e = _toggle -> ^ -> _toggle `i & -> 1 `i -> 1 `i `uc ]
[; ;main.c: 235: if(toggle == 1) [; ;main.c: 134: if(toggle == 1)
"235 "134
[e $ ! == -> _toggle `i -> 1 `i 72 ] [e $ ! == -> _toggle `i -> 1 `i 72 ]
[; ;main.c: 236: SendEins(); [; ;main.c: 135: One();
"236 "135
[e ( _SendEins .. ] [e ( _One .. ]
[e $U 73 ] [e $U 73 ]
"237 "136
[e :U 72 ] [e :U 72 ]
[; ;main.c: 237: else [; ;main.c: 136: else
[; ;main.c: 238: SendNull(); [; ;main.c: 137: Zero();
"238 "137
[e ( _SendNull .. ] [e ( _Zero .. ]
[e :U 73 ] [e :U 73 ]
[; ;main.c: 240: for(i = 4; i != 255; i--) [; ;main.c: 139: for(i = 4; i != 255; i--)
"240 "139
{ {
[e = _i -> -> 4 `i `uc ] [e = _i -> -> 4 `i `uc ]
[e $ != -> _i `i -> 255 `i 74 ] [e $ != -> _i `i -> 255 `i 74 ]
[e $U 75 ] [e $U 75 ]
"241 "140
[e :U 74 ] [e :U 74 ]
[; ;main.c: 241: { [; ;main.c: 140: {
{ {
[; ;main.c: 242: if(((*group>>i))&1) [; ;main.c: 141: if(((*group>>i))&1)
"242 "141
[e $ ! != & >> -> *U _group `i _i -> 1 `i -> 0 `i 77 ] [e $ ! != & >> -> *U _group `i _i -> 1 `i -> 0 `i 77 ]
[; ;main.c: 243: SendEins(); [; ;main.c: 142: One();
"243 "142
[e ( _SendEins .. ] [e ( _One .. ]
[e $U 78 ] [e $U 78 ]
"244 "143
[e :U 77 ] [e :U 77 ]
[; ;main.c: 244: else [; ;main.c: 143: else
[; ;main.c: 245: SendNull(); [; ;main.c: 144: Zero();
"245 "144
[e ( _SendNull .. ] [e ( _Zero .. ]
[e :U 78 ] [e :U 78 ]
"246 "145
} }
"240 "139
[e -- _i -> -> 1 `i `uc ] [e -- _i -> -> 1 `i `uc ]
[e $ != -> _i `i -> 255 `i 74 ] [e $ != -> _i `i -> 255 `i 74 ]
[e :U 75 ] [e :U 75 ]
"246 "145
} }
[; ;main.c: 246: } [; ;main.c: 145: }
[; ;main.c: 247: for(i = 5; i != 255; i--) [; ;main.c: 146: for(i = 5; i != 255; i--)
"247 "146
{ {
[e = _i -> -> 5 `i `uc ] [e = _i -> -> 5 `i `uc ]
[e $ != -> _i `i -> 255 `i 79 ] [e $ != -> _i `i -> 255 `i 79 ]
[e $U 80 ] [e $U 80 ]
"248 "147
[e :U 79 ] [e :U 79 ]
[; ;main.c: 248: { [; ;main.c: 147: {
{ {
[; ;main.c: 249: if(((*command)>>i)&1) [; ;main.c: 148: if(((*command)>>i)&1)
"249 "148
[e $ ! != & >> -> *U _command `i _i -> 1 `i -> 0 `i 82 ] [e $ ! != & >> -> *U _command `i _i -> 1 `i -> 0 `i 82 ]
[; ;main.c: 250: SendEins(); [; ;main.c: 149: One();
"250 "149
[e ( _SendEins .. ] [e ( _One .. ]
[e $U 83 ] [e $U 83 ]
"251 "150
[e :U 82 ] [e :U 82 ]
[; ;main.c: 251: else [; ;main.c: 150: else
[; ;main.c: 252: SendNull(); [; ;main.c: 151: Zero();
"252 "151
[e ( _SendNull .. ] [e ( _Zero .. ]
[e :U 83 ] [e :U 83 ]
"253 "152
} }
"247 "146
[e -- _i -> -> 1 `i `uc ] [e -- _i -> -> 1 `i `uc ]
[e $ != -> _i `i -> 255 `i 79 ] [e $ != -> _i `i -> 255 `i 79 ]
[e :U 80 ] [e :U 80 ]
"253 "152
} }
[; ;main.c: 253: } [; ;main.c: 152: }
[; ;main.c: 254: delay_89ms(); [; ;main.c: 153: delay_89ms();
"254 "153
[e ( _delay_89ms .. ] [e ( _delay_89ms .. ]
[; ;main.c: 256: } [; ;main.c: 155: }
"256 "155
[e :UE 71 ] [e :UE 71 ]
} }
"260 "159
[v _main `(v 1 ef ] [v _main `(v 1 ef ]
{ {
[; ;main.c: 259: void main(void) [; ;main.c: 158: void main(void)
[; ;main.c: 260: { [; ;main.c: 159: {
[e :U _main ] [e :U _main ]
[f ] [f ]
"261 "160
[v _comcode `uc 1 a ] [v _comcode `uc 1 a ]
[; ;main.c: 261: unsigned char comcode = 0; [; ;main.c: 160: unsigned char comcode = 0;
[e = _comcode -> -> 0 `i `uc ] [e = _comcode -> -> 0 `i `uc ]
"262 "161
[v _subcode `uc 1 a ] [v _subcode `uc 1 a ]
[; ;main.c: 262: char subcode = 0; [; ;main.c: 161: char subcode = 0;
[e = _subcode -> -> 0 `i `uc ] [e = _subcode -> -> 0 `i `uc ]
[; ;main.c: 264: OPTION_REG = 0b00000010; [; ;main.c: 163: OPTION_REG = 0b00000010;
"264 "163
[e = _OPTION_REG -> -> 2 `i `uc ] [e = _OPTION_REG -> -> 2 `i `uc ]
[; ;main.c: 265: CMCON = 0x07; [; ;main.c: 164: CMCON = 0x07;
"265 "164
[e = _CMCON -> -> 7 `i `uc ] [e = _CMCON -> -> 7 `i `uc ]
[; ;main.c: 266: TRISA = 0x00; [; ;main.c: 165: TRISA = 0x00;
"266 "165
[e = _TRISA -> -> 0 `i `uc ] [e = _TRISA -> -> 0 `i `uc ]
[; ;main.c: 267: TRISB = 0xF0; [; ;main.c: 166: TRISB = 0xF0;
"267 "166
[e = _TRISB -> -> 240 `i `uc ] [e = _TRISB -> -> 240 `i `uc ]
[; ;main.c: 269: GIE = 1; [; ;main.c: 167: GIE = 1;
"269 "167
[e = _GIE -> -> 1 `i `b ] [e = _GIE -> -> 1 `i `b ]
[; ;main.c: 270: CM0 = 1; [; ;main.c: 168: CM0 = 1;
"270 "168
[e = _CM0 -> -> 1 `i `b ] [e = _CM0 -> -> 1 `i `b ]
[; ;main.c: 271: CM1 = 1; [; ;main.c: 169: CM1 = 1;
"271 "169
[e = _CM1 -> -> 1 `i `b ] [e = _CM1 -> -> 1 `i `b ]
[; ;main.c: 272: CM2 = 1; [; ;main.c: 170: CM2 = 1;
"272 "170
[e = _CM2 -> -> 1 `i `b ] [e = _CM2 -> -> 1 `i `b ]
[; ;main.c: 273: PORTA = 0; [; ;main.c: 171: PORTA = 0;
"273 "171
[e = _PORTA -> -> 0 `i `uc ] [e = _PORTA -> -> 0 `i `uc ]
[; ;main.c: 274: PORTB = 0xFF; [; ;main.c: 172: PORTB = 0xFF;
"274 "172
[e = _PORTB -> -> 255 `i `uc ] [e = _PORTB -> -> 255 `i `uc ]
[; ;main.c: 275: subcode = 29; [; ;main.c: 173: subcode = 29;
"275 "173
[e = _subcode -> -> 29 `i `uc ] [e = _subcode -> -> 29 `i `uc ]
[; ;main.c: 278: INTCON = 0; [; ;main.c: 174: INTCON = 0;
"278 "174
[e = _INTCON -> -> 0 `i `uc ] [e = _INTCON -> -> 0 `i `uc ]
[; ;main.c: 279: RBIE = 1; [; ;main.c: 175: RBIE = 1;
"279 "175
[e = _RBIE -> -> 1 `i `b ] [e = _RBIE -> -> 1 `i `b ]
"280 "176
[v _help `uc 1 a ] [v _help `uc 1 a ]
[; ;main.c: 280: char help = 0; [; ;main.c: 176: char help = 0;
[e = _help -> -> 0 `i `uc ] [e = _help -> -> 0 `i `uc ]
[; ;main.c: 282: while(1) [; ;main.c: 178: while(1)
"282 "178
[e :U 86 ] [e :U 86 ]
[; ;main.c: 283: { [; ;main.c: 179: {
"283 "179
{ {
[; ;main.c: 284: while(!RBIF) [; ;main.c: 180: while(!RBIF)
"284 "180
[e $U 88 ] [e $U 88 ]
[e :U 89 ] [e :U 89 ]
[; ;main.c: 285: asm("sleep"); [; ;main.c: 181: asm("sleep");
"285 "181
[; sleep ;# [; sleep ;#
[e :U 88 ] [e :U 88 ]
"284 "180
[e $ ! _RBIF 89 ] [e $ ! _RBIF 89 ]
[e :U 90 ] [e :U 90 ]
[; ;main.c: 286: PORTB = 0xFF; [; ;main.c: 182: PORTB = 0xFF;
"286 "182
[e = _PORTB -> -> 255 `i `uc ] [e = _PORTB -> -> 255 `i `uc ]
[; ;main.c: 287: evaluate_tastatur(&comcode); [; ;main.c: 183: evaluate_tastatur(&comcode);
"287 "183
[e ( _evaluate_tastatur (1 &U _comcode ] [e ( _evaluate_tastatur (1 &U _comcode ]
[; ;main.c: 288: if(somethingpressed == 1) [; ;main.c: 184: if(somethingpressed == 1)
"288 "184
[e $ ! == _somethingpressed -> -> 1 `i `ui 91 ] [e $ ! == _somethingpressed -> -> 1 `i `ui 91 ]
[; ;main.c: 289: { [; ;main.c: 185: {
"289 "185
{ {
[; ;main.c: 290: SendRc5(&comcode, &subcode); [; ;main.c: 186: SendRc5(&comcode, &subcode);
"290 "186
[e ( _SendRc5 (2 , &U _comcode &U _subcode ] [e ( _SendRc5 (2 , &U _comcode &U _subcode ]
[; ;main.c: 291: somethingpressed = 0; [; ;main.c: 187: somethingpressed = 0;
"291 "187
[e = _somethingpressed -> -> 0 `i `ui ] [e = _somethingpressed -> -> 0 `i `ui ]
[; ;main.c: 292: help = 1; [; ;main.c: 188: help = 1;
"292 "188
[e = _help -> -> 1 `i `uc ] [e = _help -> -> 1 `i `uc ]
"293 "189
} }
[e :U 91 ] [e :U 91 ]
"303 "190
} }
[e :U 85 ] [e :U 85 ]
"282 "178
[e $U 86 ] [e $U 86 ]
[e :U 87 ] [e :U 87 ]
[; ;main.c: 293: } [; ;main.c: 189: }
[; ;main.c: 303: } [; ;main.c: 190: }
[; ;main.c: 304: } [; ;main.c: 191: }
"304 "191
[e :UE 84 ] [e :UE 84 ]
} }

View File

@ -1,5 +1,5 @@
# 1 "C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c" # 1 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
# 81 "C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628a.h" # 81 "C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628a.h"
volatile unsigned char INDF @ 0x000; volatile unsigned char INDF @ 0x000;
@ -595,7 +595,7 @@ extern void memcpyee(eeprom unsigned char *to, const unsigned char *from, unsign
#pragma inline(_delay) #pragma inline(_delay)
extern void _delay(unsigned long); extern void _delay(unsigned long);
# 43 "C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c" # 5 "C:\Users\132033dt\Desktop\pic_rc5\src\main.c"
asm("\tpsect config,class=CONFIG,delta=2"); asm("\tdw ""0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED"); asm("\tpsect config,class=CONFIG,delta=2"); asm("\tdw ""0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED");
@ -604,15 +604,12 @@ unsigned char PhaseDemod();
unsigned char toggle = 0; unsigned char toggle = 0;
unsigned char counterus = 0; unsigned int CountA, CountB, CountC;
unsigned char counterms = 0;
unsigned int cycl_1;
unsigned int cycl_2, CountA, CountB, CountC;
unsigned int somethingpressed = 0; unsigned int somethingpressed = 0;
void samplebit(); void samplebit();
void AN() void ON()
{ {
unsigned char i = 0; unsigned char i = 0;
do do
@ -636,13 +633,10 @@ RA0 = 0;
i++; i++;
} }
while(i<32); while(i<32);
RA0 = 0; RA0 = 0;
# 130
} }
void AUS() void OFF()
{ {
unsigned char i = 0; unsigned char i = 0;
do do
@ -650,8 +644,6 @@ do
RA0=0; RA0=0;
} }
while(i++<59); while(i++<59);
# 154
} }
@ -665,7 +657,7 @@ void interrupt ISR (void)
void delay_89ms() void delay_89ms()
{ {
# 166 # 65
#asm #asm
pause89ms pause89ms
clrf _CountA clrf _CountA
@ -689,15 +681,15 @@ void delay_89ms()
return; return;
} }
void SendEins() void One()
{ {
AUS(); OFF();
AN(); ON();
} }
void SendNull() void Zero()
{ {
AN(); ON();
AUS(); OFF();
} }
@ -731,28 +723,28 @@ return;
void SendRc5(char* command, char *group) void SendRc5(char* command, char *group)
{ {
unsigned char i; unsigned char i;
SendEins(); One();
SendEins(); One();
toggle = toggle ^ 1 & 1; toggle = toggle ^ 1 & 1;
if(toggle == 1) if(toggle == 1)
SendEins(); One();
else else
SendNull(); Zero();
for(i = 4; i != 255; i--) for(i = 4; i != 255; i--)
{ {
if(((*group>>i))&1) if(((*group>>i))&1)
SendEins(); One();
else else
SendNull(); Zero();
} }
for(i = 5; i != 255; i--) for(i = 5; i != 255; i--)
{ {
if(((*command)>>i)&1) if(((*command)>>i)&1)
SendEins(); One();
else else
SendNull(); Zero();
} }
delay_89ms(); delay_89ms();
@ -768,7 +760,6 @@ OPTION_REG = 0b00000010;
CMCON = 0x07; CMCON = 0x07;
TRISA = 0x00; TRISA = 0x00;
TRISB = 0xF0; TRISB = 0xF0;
GIE = 1; GIE = 1;
CM0 = 1; CM0 = 1;
CM1 = 1; CM1 = 1;
@ -776,8 +767,6 @@ CM2 = 1;
PORTA = 0; PORTA = 0;
PORTB = 0xFF; PORTB = 0xFF;
subcode = 29; subcode = 29;
INTCON = 0; INTCON = 0;
RBIE = 1; RBIE = 1;
char help = 0; char help = 0;
@ -794,8 +783,6 @@ SendRc5(&comcode, &subcode);
somethingpressed = 0; somethingpressed = 0;
help = 1; help = 1;
} }
# 303
} }
} }

View File

@ -1,7 +1,7 @@
HI-TECH Software PIC Macro Assembler V9.82 build 9453 HI-TECH Software PIC Macro Assembler V9.82 build 9453
Fri Apr 15 09:39:32 2016 Fri Apr 15 10:29:00 2016
1 1
@ -72,12 +72,12 @@ HI-TECH Software PIC Macro Assembler V9.82 build 9453
66 0010 _exit 66 0010 _exit
67 psect end_init 67 psect end_init
68 global start_initialization 68 global start_initialization
69 0010 2972 ljmp start_initialization ;jump to C runtime clear & initialization 69 0010 2967 ljmp start_initialization ;jump to C runtime clear & initialization
HI-TECH Software PICC Macro Assembler V9.82 build 9453 HI-TECH Software PICC Macro Assembler V9.82 build 9453
Symbol Table Fri Apr 15 09:39:32 2016 Symbol Table Fri Apr 15 10:29:00 2016
_main 00E0 _exit 0010 start 0010 start_initialization 0172 _main 00E0 _exit 0010 start 0010 start_initialization 0167
intlevel0 0000 intlevel1 0000 intlevel2 0000 intlevel3 0000 intlevel0 0000 intlevel1 0000 intlevel2 0000 intlevel3 0000
intlevel4 0000 intlevel5 0000 reset_vec 0000 intlevel4 0000 intlevel5 0000 reset_vec 0000

Binary file not shown.

View File

@ -1,43 +1,5 @@
// Die Bi-Phasenmodulation arbeitet folgendermaßen
// Eine 1 wird durch eine Flanke 0 -> 1 definiert
// Eine 0 wird durch eine Flanke 1 -> 0 definiert
// Der Empfänger invertiert die Bits !!!
// Die RC5-Pulsbreite beträgt 1,778ms
// PORTB.0 wird alle 890us abgetastet und in 2 Bits rotiert.
// Die einzig gültige n Werte sind dann
// 0x02 für ein 1 Bit und 0x01 für ein 0 Bit
// 0x00 sowie 0x03 sind nicht erlaubt und ein Kennzeichen
// für keinen Empfang
//Auflösung des Timers 8 us
//RELOAD = 890us/8us = 111
//Wegen des Programm-Overheads ist der Timer mit 111 zu lang
//und die Abtastung rutscht nach rechts über die Flanken
//Timerwert verkürzen
//So sollte es eigentlich sein
//#define RELOAD 255-111 //Alle 890us läuft der Timer über
#define DELAY 73
#define RELOAD 255-DELAY //So gehts
#define _XTAL_FREQ 40000000
//verzögert um 890us, sampelt dann PORTB.0
//und schiebt das Bit in shift
#include <htc.h> #include <htc.h>
//#include <xc.h>
// #include <pic16F62xa.h>
#include <pic16F628a.h> #include <pic16F628a.h>
//#include "phaserec.h"
//#define IrOut PORTA,0
__CONFIG( LVP_OFF & BOREN_OFF & CPD_OFF & MCLRE_OFF & PWRTE_ON & WDTE_OFF & FOSC_XT ); __CONFIG( LVP_OFF & BOREN_OFF & CPD_OFF & MCLRE_OFF & PWRTE_ON & WDTE_OFF & FOSC_XT );
@ -46,27 +8,24 @@ __CONFIG( LVP_OFF & BOREN_OFF & CPD_OFF & MCLRE_OFF & PWRTE_ON & WDTE_OFF & FOSC
unsigned char PhaseDemod(); unsigned char PhaseDemod();
//Globale Variablen //Global
unsigned char toggle = 0; //Das Togglebit unsigned char toggle = 0;
unsigned char counterus = 0; unsigned int CountA, CountB, CountC;
unsigned char counterms = 0;
unsigned int cycl_1;
unsigned int cycl_2, CountA, CountB, CountC;
unsigned int somethingpressed = 0; unsigned int somethingpressed = 0;
void samplebit(); void samplebit();
void AN() void ON()
{ {
unsigned char i = 0; unsigned char i = 0;
do do
{ {
RA0 = 1; RA0 = 1; // 6-7us on
RA0 = 1; RA0 = 1;
RA0 = 1; RA0 = 1;
RA0 = 1; RA0 = 1;
RA0 = 0; RA0 = 0; // 21-22 us of
RA0 = 0; RA0 = 0;
RA0 = 0; RA0 = 0;
RA0 = 0; RA0 = 0;
@ -80,56 +39,10 @@ void AN()
i++; i++;
} }
while(i<32); while(i<32);
RA0 = 0; RA0 = 0;
/*
#asm
;****************************************************************************
; Licht pulsen (889 us)
; ideal: 32 IR Pulse von je 6,944 us mit Pausen von 20,8332 us
; real: 32 Pulse a 7 us mit je 21 us Pause, letzte Pause entfällt (32x7+31*21=875 us)
bcf 0x03, 5
bsf 0x05, 6
LichtAn
; 1. Puls
bsf 0x05,0
movlw 0x1E ; 31 weitere Zyklen
movwf _cycl_1
nop
nop
nop
nop
bcf 0x05,0
;31 Zyklen aus Pause und Puls
LichtAn1
;Pause
movlw 0x05 ;1T
movwf _cycl_2 ;1T
nop ;1T
nop ;1T
LichtAn2 ; 4x3T + 1x2T =14T
decfsz _cycl_2,f ;1T
goto LichtAn2 ;2T
;Puls ;7T
bsf 0x05,0
nop
nop
nop
nop
nop
nop
bcf 0x05,0
decfsz _cycl_1,f ;1T
goto LichtAn1 ;2T
return
; remaining code goes here
#endasm*/
} }
void AUS() void OFF()
{ {
unsigned char i = 0; unsigned char i = 0;
do do
@ -137,20 +50,6 @@ void AUS()
RA0=0; RA0=0;
} }
while(i++<59); while(i++<59);
/*unsigned char _cycl_2;
#asm
bcf 0x05,0
LichtAus
movlw 0xAF
movwf _cycl_2
LichtAus2
nop ;1T
nop ;1T
decfsz _cycl_2,f ;1T
goto LichtAus2 ;2T
#endasm*/
} }
@ -186,15 +85,15 @@ void delay_89ms()
return; return;
} }
void SendEins() void One()
{ {
AUS(); OFF();
AN(); ON();
} }
void SendNull() void Zero()
{ {
AN(); ON();
AUS(); OFF();
} }
@ -228,28 +127,28 @@ void evaluate_tastatur(char *comcode)
void SendRc5(char* command, char *group) void SendRc5(char* command, char *group)
{ {
unsigned char i; unsigned char i;
SendEins(); One();
SendEins(); One();
toggle = toggle ^ 1 & 1; toggle = toggle ^ 1 & 1;
if(toggle == 1) if(toggle == 1)
SendEins(); One();
else else
SendNull(); Zero();
for(i = 4; i != 255; i--) for(i = 4; i != 255; i--)
{ {
if(((*group>>i))&1) if(((*group>>i))&1)
SendEins(); One();
else else
SendNull(); Zero();
} }
for(i = 5; i != 255; i--) for(i = 5; i != 255; i--)
{ {
if(((*command)>>i)&1) if(((*command)>>i)&1)
SendEins(); One();
else else
SendNull(); Zero();
} }
delay_89ms(); delay_89ms();
@ -262,19 +161,16 @@ void main(void)
char subcode = 0; char subcode = 0;
OPTION_REG = 0b00000010; //Pullups on OPTION_REG = 0b00000010; //Pullups on
CMCON = 0x07; //Komperatoren Abschalten CMCON = 0x07; //Turn of Comperators
TRISA = 0x00; //PORTA ist Ausgang TRISA = 0x00; //PORTA is Output
TRISB = 0xF0; //PORTB 0...3 sind Ausgänge TRISB = 0xF0; //PORTB 0...3 Output
//PR2 = 0xFF; //Periodendauer für die PWM modulation GIE = 1; //Global Interrupt Enable
GIE = 1; //Interrupts nicht möglich
CM0 = 1; CM0 = 1;
CM1 = 1; CM1 = 1;
CM2 = 1; CM2 = 1;
PORTA = 0; //Aus und Eingänge auf null PORTA = 0;
PORTB = 0xFF; PORTB = 0xFF;
subcode = 29; //21; subcode = 29;
INTCON = 0; INTCON = 0;
RBIE = 1; RBIE = 1;
char help = 0; char help = 0;
@ -291,15 +187,6 @@ void main(void)
somethingpressed = 0; somethingpressed = 0;
help = 1; help = 1;
} }
/*else if(help == 1)
{
help = 0;
comcode = 0; //endcommand
SendRc5(&comcode, &subcode);
}*/
} }
} }