Adding MPLAB IDE Project with source code
This commit is contained in:
parent
c39ac432bf
commit
5e7cc1720d
51
RC5_Remote_Control.mcp
Normal file
51
RC5_Remote_Control.mcp
Normal file
@ -0,0 +1,51 @@
|
||||
[HEADER]
|
||||
magic_cookie={66E99B07-E706-4689-9E80-9B2582898A13}
|
||||
file_version=1.0
|
||||
device=PIC16F628A
|
||||
[PATH_INFO]
|
||||
BuildDirPolicy=BuildDirIsProjectDir
|
||||
dir_src=
|
||||
dir_bin=.\out
|
||||
dir_tmp=
|
||||
dir_sin=
|
||||
dir_inc=
|
||||
dir_lib=
|
||||
dir_lkr=
|
||||
[CAT_FILTERS]
|
||||
filter_src=*.c;*.as;*.asm;*.usb
|
||||
filter_inc=*.h;
|
||||
filter_obj=*.obj;*.p1;*.hex
|
||||
filter_lib=*.lib;*.lpp
|
||||
filter_lkr=*.unknown
|
||||
[CAT_SUBFOLDERS]
|
||||
subfolder_src=
|
||||
subfolder_inc=
|
||||
subfolder_obj=
|
||||
subfolder_lib=
|
||||
subfolder_lkr=
|
||||
[FILE_SUBFOLDERS]
|
||||
file_000=.
|
||||
[GENERATED_FILES]
|
||||
file_000=no
|
||||
[OTHER_FILES]
|
||||
file_000=no
|
||||
[FILE_INFO]
|
||||
file_000=src\main.c
|
||||
[SUITE_INFO]
|
||||
suite_guid={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
suite_state=
|
||||
[TOOL_SETTINGS]
|
||||
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}=C9=1
|
||||
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}_alt=yes
|
||||
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}000=
|
||||
[ACTIVE_FILE_SETTINGS]
|
||||
TS{3FF1D5F2-E530-4850-9F70-F61D55BD1AC9}000_active=yes
|
||||
[INSTRUMENTED_TRACE]
|
||||
enable=0
|
||||
transport=0
|
||||
format=0
|
||||
[CUSTOM_BUILD]
|
||||
Pre-Build=
|
||||
Pre-BuildEnabled=1
|
||||
Post-Build=
|
||||
Post-BuildEnabled=1
|
185
RC5_Remote_Control.mcs
Normal file
185
RC5_Remote_Control.mcs
Normal file
@ -0,0 +1,185 @@
|
||||
[Header]
|
||||
MagicCookie={0b13fe8c-dfe0-40eb-8900-6712719559a7}
|
||||
Version=1.0
|
||||
[File000]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\main.p1
|
||||
Folder=Intermediary
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File001]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.cof
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File002]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.hex
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File003]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.sym
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File004]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.map
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File005]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.hxl
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File006]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\startup.lst
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File007]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\startup.rlf
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File008]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\doprnt.p1
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File009]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\doprnt.pre
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File010]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.obj
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File011]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.lst
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File012]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.rlf
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
||||
[File013]
|
||||
Location=C:\Users\132033dt\Desktop\RC5_Remote_Control\out\RC5_Remote_Control.sdb
|
||||
Folder=Output
|
||||
DeviceName=PIC16F628A
|
||||
LanguageToolSuiteID={507D93FD-16F1-4270-980F-0C7C0207E6D3}
|
||||
LanguageToolID={0F51667C-2BAF-4EF8-A2C9-AB83788A793D}
|
||||
LanguageToolLocation=C:\Program Files\HI-TECH Software\PICC\9.82\bin\picc.exe
|
||||
PPAD=$(BINDIR)|.\out||$(TMPDIR)||$(AINDIR)||$(INCDIR)||$(LIBDIR)||$(LKRDIR)||
|
||||
SOLK=<src>|src\main.c||<obj>||<lib>||<lkr>||
|
||||
SuiteArgsString=
|
||||
ToolArgsString=C9=1
|
||||
TraceCmdString=
|
||||
DebugOptions=
|
BIN
RC5_Remote_Control.mcw
Normal file
BIN
RC5_Remote_Control.mcw
Normal file
Binary file not shown.
6
main.dep
Normal file
6
main.dep
Normal file
@ -0,0 +1,6 @@
|
||||
C:\Program Files\HI-TECH Software\PICC\9.82\include\htc.h
|
||||
C:\Program Files\HI-TECH Software\PICC\9.82\include\eeprom_routines.h
|
||||
C:\Program Files\HI-TECH Software\PICC\9.82\include\chip_select.h
|
||||
C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628.h
|
||||
C:\Program Files\HI-TECH Software\PICC\9.82\include\pic.h
|
||||
C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16F628.h
|
1744
out/RC5_Remote_Control.as
Normal file
1744
out/RC5_Remote_Control.as
Normal file
File diff suppressed because it is too large
Load Diff
BIN
out/RC5_Remote_Control.cof
Normal file
BIN
out/RC5_Remote_Control.cof
Normal file
Binary file not shown.
52
out/RC5_Remote_Control.hex
Normal file
52
out/RC5_Remote_Control.hex
Normal file
@ -0,0 +1,52 @@
|
||||
:020000001028C6
|
||||
:10000800FE00030EF0000408F1000A08F200831253
|
||||
:1000180003137F08F3006729722983120313AD00C5
|
||||
:10002800872187217908013A83120313AC002C0831
|
||||
:10003800F9007908013A031D222823282528872159
|
||||
:10004800272884212728043083120313AC002C08A6
|
||||
:10005800AE002E08FF3A031D3228332835285428CD
|
||||
:1000680054287608840083130008AC002E0A3E2822
|
||||
:100078000310AC0CFF3E031D3C282C1C44284528CB
|
||||
:1000880047288721492884214928013083120313EE
|
||||
:10009800AE022E08FF3A031D52285328352854284B
|
||||
:1000A8000530AC002C08AE002E08FF3A031D5D2871
|
||||
:1000B8005E2860287F287F282D0884008313000885
|
||||
:1000C800AC002E0A69280310AC0CFF3E031D6728FC
|
||||
:1000D8002C1C6F2870287228872174288421742882
|
||||
:1000E800013083120313AE022E08FF3A031D7D2848
|
||||
:1000F8007E2860287F284721080083120313AC005C
|
||||
:10010800AD010330F4007408AE002E08FF3A031D59
|
||||
:100118008E288F289128DF28DF28FF3086000130BD
|
||||
:10012800F4002E0A99280310F40DFF3E031D9728AA
|
||||
:100138007408FF3AF500750886050430F400740861
|
||||
:10014800AF0008302F02031CAA28AB28AD28D628F8
|
||||
:10015800D6280130F4007408AD070608F4002F0A09
|
||||
:10016800B7280310F40CFF3E031DB5287418BD28EA
|
||||
:10017800BE28CB282D08F4002C08840074088313AB
|
||||
:1001880080000130AA000030AB00DF28DF280130F2
|
||||
:10019800F4007408AF0708302F02031CD428D528B0
|
||||
:1001A800AD28D6280130AE022E08FF3A031DDD28FF
|
||||
:1001B800DE289128DF28080083120313B301B20157
|
||||
:1001C80002308316031381000730831203139F0044
|
||||
:1001D800831603138501F03086008B1783120313EF
|
||||
:1001E8001F149F141F158501FF3086001D30B000B5
|
||||
:1001F8003008B2008B018B15B10104290429630072
|
||||
:100208000B1C0729082903290929FF308312031326
|
||||
:100218008600333081200130831203132A062B0411
|
||||
:10022800031D1729182904293230B0003008F600B8
|
||||
:100238003330112083120313AA01AB01B101031457
|
||||
:10024800B10D0429042904291028F5018312031388
|
||||
:1002580005140514051405140510051005100510DE
|
||||
:1002680005100510051005100510051005100130C2
|
||||
:10027800F4007408F50720307502031C4429452949
|
||||
:100288002A2905100800A001A201A4017430A200C7
|
||||
:100298000230A0000130A400A00B5029A20B502965
|
||||
:1002A800A40B50290800F50183120313051001302F
|
||||
:1002B800F4007408F5073C307502031C64296529AD
|
||||
:1002C8005829662908007308FF0072088A00710817
|
||||
:1002D8008400700E8300FE0E7E0E0900F701F801FF
|
||||
:1002E800F9018313203084002C307C218301E0281D
|
||||
:1002F80064008001840A04060319003404067D2979
|
||||
:0C03080029215721080057212921080055
|
||||
:02400E0001FFB0
|
||||
:00000001FF
|
38
out/RC5_Remote_Control.hxl
Normal file
38
out/RC5_Remote_Control.hxl
Normal file
@ -0,0 +1,38 @@
|
||||
### HEXMate logfile and output summary ###
|
||||
### Memory Usage ###
|
||||
Unused memory ranges:
|
||||
2h - 7h
|
||||
314h - 400Dh
|
||||
4010h - 403Fh
|
||||
|
||||
RC5_Remote_Control.hex ranges:
|
||||
0h - 1h
|
||||
8h - 313h
|
||||
400Eh - 400Fh
|
||||
|
||||
### Hex Memory Map ###
|
||||
Legend:
|
||||
- = Unused memory
|
||||
F = Filled ROM
|
||||
S = Stored serial code
|
||||
A = Stored ASCII string
|
||||
R = Reserved for checksum
|
||||
C = Stored checksum result
|
||||
T = Trailing code
|
||||
& = Find & replace opcode
|
||||
X = Find & delete opcode
|
||||
1 = RC5_Remote_Control.hex
|
||||
00000000: 11------11111111111111111111111111111111111111111111111111111111
|
||||
00000040: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000080: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
000000C0: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000100: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000140: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000180: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
000001C0: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000200: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000240: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000280: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
000002C0: 1111111111111111111111111111111111111111111111111111111111111111
|
||||
00000300: 11111111111111111111--------------------------------------------
|
||||
00004000: --------------11------------------------------------------------
|
1841
out/RC5_Remote_Control.lst
Normal file
1841
out/RC5_Remote_Control.lst
Normal file
File diff suppressed because it is too large
Load Diff
328
out/RC5_Remote_Control.map
Normal file
328
out/RC5_Remote_Control.map
Normal file
@ -0,0 +1,328 @@
|
||||
HI-TECH Software C Compiler
|
||||
|
||||
Linker command line:
|
||||
|
||||
--edf=C:\Program Files\HI-TECH Software\PICC\9.82\dat\en_msgs.txt -cs \
|
||||
-h+RC5_Remote_Control.sym -z -Q16F628A -ol.obj -MRC5_Remote_Control.map \
|
||||
-E1 -ACONST=00h-0FFhx8 -ACODE=00h-07FFh -ASTRCODE=00h-07FFh \
|
||||
-AENTRY=00h-0FFhx8 -ASTRING=00h-0FFhx8 -ABANK0=020h-06Fh \
|
||||
-ABANK1=0A0h-0EFh -ABANK2=0120h-014Fh \
|
||||
-ARAM=020h-06Fh,0A0h-0EFh,0120h-014Fh \
|
||||
-AABS1=020h-07Fh,0A0h-0EFh,0120h-014Fh -ACOMMON=070h-07Fh -ASFR0=00h-01Fh \
|
||||
-ASFR1=080h-09Fh -ASFR2=0100h-011Fh -ASFR3=0180h-01EFh \
|
||||
-preset_vec=00h,intentry=04h,init,end_init -ppowerup=CODE -pfunctab=CODE \
|
||||
-ACONFIG=02007h-02007h -pconfig=CONFIG -DCONFIG=2 -AIDLOC=02000h-02003h \
|
||||
-pidloc=IDLOC -DIDLOC=2 -AEEDATA=00h-07Fh/02100h -peeprom_data=EEDATA \
|
||||
-DEEDATA=2 -DCODE=2 -DSTRCODE=2 -DSTRING=2 -DCONST=2 -DENTRY=2 -k \
|
||||
startup.obj RC5_Remote_Control.obj
|
||||
|
||||
Object code version is 3.10
|
||||
|
||||
Machine type is 16F628A
|
||||
|
||||
|
||||
|
||||
Name Link Load Length Selector Space Scale
|
||||
startup.obj end_init 10 10 1 8 0
|
||||
reset_vec 0 0 1 0 0
|
||||
RC5_Remote_Control.obj
|
||||
intentry 4 4 C 8 0
|
||||
config 2007 2007 1 400E 0
|
||||
text304 167 167 B 8 0
|
||||
text303 129 129 1E 8 0
|
||||
text302 157 157 10 8 0
|
||||
text301 147 147 10 8 0
|
||||
text300 81 81 5F 8 0
|
||||
text299 187 187 3 8 0
|
||||
text298 184 184 3 8 0
|
||||
text297 11 11 70 8 0
|
||||
maintext E0 E0 49 8 0
|
||||
cstackBANK0 2C 2C 8 20 1
|
||||
cstackCOMMON 70 70 7 70 1
|
||||
clrtext 17C 17C 8 8 0
|
||||
bssBANK0 20 20 C 20 1
|
||||
bssCOMMON 77 77 3 70 1
|
||||
cinit 172 172 A 8 0
|
||||
|
||||
TOTAL Name Link Load Length Space
|
||||
CLASS CONST
|
||||
|
||||
CLASS CODE
|
||||
end_init 10 10 1 0
|
||||
intentry 4 4 C 0
|
||||
reset_vec 0 0 1 0
|
||||
text304 167 167 B 0
|
||||
text303 129 129 1E 0
|
||||
text302 157 157 10 0
|
||||
text301 147 147 10 0
|
||||
text300 81 81 5F 0
|
||||
text299 187 187 3 0
|
||||
text298 184 184 3 0
|
||||
text297 11 11 70 0
|
||||
maintext E0 E0 49 0
|
||||
clrtext 17C 17C 8 0
|
||||
cinit 172 172 A 0
|
||||
|
||||
CLASS STRCODE
|
||||
|
||||
CLASS ENTRY
|
||||
|
||||
CLASS STRING
|
||||
|
||||
CLASS BANK0
|
||||
cstackBANK0 2C 2C 8 1
|
||||
bssBANK0 20 20 C 1
|
||||
|
||||
CLASS BANK1
|
||||
|
||||
CLASS BANK2
|
||||
|
||||
CLASS RAM
|
||||
|
||||
CLASS ABS1
|
||||
abs_s1 7E 7E 2 1
|
||||
|
||||
CLASS COMMON
|
||||
cstackCOMMON 70 70 7 1
|
||||
bssCOMMON 77 77 3 1
|
||||
|
||||
CLASS SFR0
|
||||
|
||||
CLASS SFR1
|
||||
|
||||
CLASS SFR2
|
||||
|
||||
CLASS SFR3
|
||||
|
||||
CLASS CONFIG
|
||||
config 2007 2007 1 0
|
||||
|
||||
CLASS IDLOC
|
||||
|
||||
CLASS EEDATA
|
||||
|
||||
CLASS BANK3
|
||||
|
||||
|
||||
|
||||
SEGMENTS Name Load Length Top Selector Space Class Delta
|
||||
|
||||
reset_vec 000000 000001 000001 0 0 CODE 2
|
||||
intentry 000004 000186 00018A 8 0 CODE 2
|
||||
bssBANK0 000020 000014 000034 20 1 BANK0 1
|
||||
cstackCOMMON 000070 00000A 00007A 70 1 COMMON 1
|
||||
config 002007 000001 002008 400E 0 CONFIG 2
|
||||
|
||||
|
||||
UNUSED ADDRESS RANGES
|
||||
|
||||
Name Unused Largest block Delta
|
||||
BANK0 0034-006F 3C 1
|
||||
BANK1 00A0-00EF 50 1
|
||||
BANK2 0120-014F 30 1
|
||||
CODE 0001-0003 3 2
|
||||
018A-07FF 676
|
||||
COMMON 007A-007D 4 1
|
||||
CONST 0001-0003 3 2
|
||||
018A-07FF 100
|
||||
EEDATA 2100-217F 80 2
|
||||
ENTRY 0001-0003 3 2
|
||||
018A-07FF 100
|
||||
IDLOC 2000-2003 4 2
|
||||
RAM 0034-006F 3C 1
|
||||
00A0-00EF 50
|
||||
0120-014F 30
|
||||
SFR0 0000-001F 20 1
|
||||
SFR1 0080-009F 20 1
|
||||
SFR2 0100-011F 20 1
|
||||
SFR3 0180-01EF 70 1
|
||||
STRCODE 0001-0003 3 2
|
||||
018A-07FF 676
|
||||
STRING 0001-0003 3 2
|
||||
018A-07FF 100
|
||||
|
||||
Symbol Table
|
||||
|
||||
??_AN cstackCOMMON 0074
|
||||
??_AUS cstackCOMMON 0074
|
||||
??_ISR cstackCOMMON 0070
|
||||
??_SendEins cstackCOMMON 0076
|
||||
??_SendNull cstackCOMMON 0076
|
||||
??_SendRc5 cstackBANK0 002C
|
||||
??_delay_89ms cstackCOMMON 0074
|
||||
??_evaluate_tastatur cstackCOMMON 0074
|
||||
??_main cstackBANK0 0030
|
||||
?_AN cstackCOMMON 0070
|
||||
?_AUS cstackCOMMON 0070
|
||||
?_ISR cstackCOMMON 0070
|
||||
?_SendEins cstackCOMMON 0070
|
||||
?_SendNull cstackCOMMON 0070
|
||||
?_SendRc5 cstackCOMMON 0076
|
||||
?_delay_89ms cstackCOMMON 0070
|
||||
?_evaluate_tastatur cstackCOMMON 0070
|
||||
?_main cstackCOMMON 0070
|
||||
AN@i cstackCOMMON 0075
|
||||
AUS@i cstackCOMMON 0075
|
||||
SendRc5@command cstackBANK0 002D
|
||||
SendRc5@group cstackCOMMON 0076
|
||||
SendRc5@i cstackBANK0 002E
|
||||
_AN text303 0129
|
||||
_AUS text302 0157
|
||||
_CARRY (abs) 0018
|
||||
_CM0 (abs) 00F8
|
||||
_CM1 (abs) 00F9
|
||||
_CM2 (abs) 00FA
|
||||
_CMCON (abs) 001F
|
||||
_CountA bssBANK0 0020
|
||||
_CountB bssBANK0 0022
|
||||
_CountC bssBANK0 0024
|
||||
_EEADR (abs) 009B
|
||||
_EECON1 (abs) 009C
|
||||
_EECON2 (abs) 009D
|
||||
_EEDATA (abs) 009A
|
||||
_GIE (abs) 005F
|
||||
_INTCON (abs) 000B
|
||||
_ISR text304 0167
|
||||
_OPTION_REG (abs) 0081
|
||||
_PORTA (abs) 0005
|
||||
_PORTB (abs) 0006
|
||||
_RA0 (abs) 0028
|
||||
_RBIE (abs) 005B
|
||||
_RBIF (abs) 0058
|
||||
_RD (abs) 04E0
|
||||
_SendEins text299 0187
|
||||
_SendNull text298 0184
|
||||
_SendRc5 text297 0011
|
||||
_TRISA (abs) 0085
|
||||
_TRISB (abs) 0086
|
||||
_WR (abs) 04E1
|
||||
_WREN (abs) 04E2
|
||||
__Habs1 abs1 0000
|
||||
__Hbank0 bank0 0000
|
||||
__Hbank1 bank1 0000
|
||||
__Hbank2 bank2 0000
|
||||
__Hbank3 bank3 0000
|
||||
__HbssBANK0 bssBANK0 0000
|
||||
__HbssCOMMON bssCOMMON 0000
|
||||
__Hcinit cinit 0000
|
||||
__Hclrtext clrtext 0000
|
||||
__Hcode code 0000
|
||||
__Hcommon common 0000
|
||||
__Hconfig config 2008
|
||||
__HcstackBANK0 cstackBANK0 0000
|
||||
__HcstackCOMMON cstackCOMMON 0000
|
||||
__Heeprom_data eeprom_data 0000
|
||||
__Hend_init end_init 0011
|
||||
__Hfunctab functab 0000
|
||||
__Hidloc idloc 0000
|
||||
__Hinit init 0010
|
||||
__Hintentry intentry 0010
|
||||
__Hmaintext maintext 0000
|
||||
__Hpowerup powerup 0000
|
||||
__Hram ram 0000
|
||||
__Hreset_vec reset_vec 0001
|
||||
__Hsfr0 sfr0 0000
|
||||
__Hsfr1 sfr1 0000
|
||||
__Hsfr2 sfr2 0000
|
||||
__Hsfr3 sfr3 0000
|
||||
__Hstrings strings 0000
|
||||
__Htext text 0000
|
||||
__Labs1 abs1 0000
|
||||
__Lbank0 bank0 0000
|
||||
__Lbank1 bank1 0000
|
||||
__Lbank2 bank2 0000
|
||||
__Lbank3 bank3 0000
|
||||
__LbssBANK0 bssBANK0 0000
|
||||
__LbssCOMMON bssCOMMON 0000
|
||||
__Lcinit cinit 0000
|
||||
__Lclrtext clrtext 0000
|
||||
__Lcode code 0000
|
||||
__Lcommon common 0000
|
||||
__Lconfig config 2007
|
||||
__LcstackBANK0 cstackBANK0 0000
|
||||
__LcstackCOMMON cstackCOMMON 0000
|
||||
__Leeprom_data eeprom_data 0000
|
||||
__Lend_init end_init 0010
|
||||
__Lfunctab functab 0000
|
||||
__Lidloc idloc 0000
|
||||
__Linit init 0010
|
||||
__Lintentry intentry 0004
|
||||
__Lmaintext maintext 0000
|
||||
__Lpowerup powerup 0000
|
||||
__Lram ram 0000
|
||||
__Lreset_vec reset_vec 0000
|
||||
__Lsfr0 sfr0 0000
|
||||
__Lsfr1 sfr1 0000
|
||||
__Lsfr2 sfr2 0000
|
||||
__Lsfr3 sfr3 0000
|
||||
__Lstrings strings 0000
|
||||
__Ltext text 0000
|
||||
__S0 (abs) 2008
|
||||
__S1 (abs) 007A
|
||||
__S2 (abs) 0000
|
||||
__end_of_AN text303 0147
|
||||
__end_of_AUS text302 0167
|
||||
__end_of_ISR text304 0172
|
||||
__end_of_SendEins text299 018A
|
||||
__end_of_SendNull text298 0187
|
||||
__end_of_SendRc5 text297 0081
|
||||
__end_of_delay_89ms text301 0157
|
||||
__end_of_evaluate_tastatur text300 00E0
|
||||
__end_of_main maintext 0129
|
||||
__pbssBANK0 bssBANK0 0020
|
||||
__pbssCOMMON bssCOMMON 0077
|
||||
__pcstackBANK0 cstackBANK0 002C
|
||||
__pcstackCOMMON cstackCOMMON 0070
|
||||
__pintentry intentry 0004
|
||||
__pmaintext maintext 00E0
|
||||
__ptext296 text296 0000
|
||||
__ptext297 text297 0011
|
||||
__ptext298 text298 0184
|
||||
__ptext299 text299 0187
|
||||
__ptext300 text300 0081
|
||||
__ptext301 text301 0147
|
||||
__ptext302 text302 0157
|
||||
__ptext303 text303 0129
|
||||
__ptext304 text304 0167
|
||||
__ptext305 text305 0000
|
||||
__size_of_AN (abs) 0000
|
||||
__size_of_AUS (abs) 0000
|
||||
__size_of_ISR (abs) 0000
|
||||
__size_of_SendEins (abs) 0000
|
||||
__size_of_SendNull (abs) 0000
|
||||
__size_of_SendRc5 (abs) 0000
|
||||
__size_of_delay_89ms (abs) 0000
|
||||
__size_of_evaluate_tastatur (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
|
||||
_evaluate_tastatur text300 0081
|
||||
_exit init 0010
|
||||
_main maintext 00E0
|
||||
_somethingpressed bssBANK0 002A
|
||||
_toggle bssCOMMON 0079
|
||||
btemp (abs) 007E
|
||||
clear_ram clrtext 017C
|
||||
end_of_initialization cinit 017A
|
||||
evaluate_tastatur@a cstackBANK0 002F
|
||||
evaluate_tastatur@comcode cstackBANK0 002C
|
||||
evaluate_tastatur@e cstackBANK0 002D
|
||||
evaluate_tastatur@i cstackBANK0 002E
|
||||
interrupt_function intentry 0004
|
||||
intlevel0 functab 0000
|
||||
intlevel1 functab 0000
|
||||
intlevel2 functab 0000
|
||||
intlevel3 functab 0000
|
||||
intlevel4 functab 0000
|
||||
intlevel5 functab 0000
|
||||
main@comcode cstackBANK0 0033
|
||||
main@help cstackBANK0 0031
|
||||
main@subcode cstackBANK0 0032
|
||||
reset_vec reset_vec 0000
|
||||
saved_w (abs) 007E
|
||||
start init 0010
|
||||
start_initialization cinit 0172
|
||||
wtemp0 (abs) 007E
|
BIN
out/RC5_Remote_Control.obj
Normal file
BIN
out/RC5_Remote_Control.obj
Normal file
Binary file not shown.
BIN
out/RC5_Remote_Control.rlf
Normal file
BIN
out/RC5_Remote_Control.rlf
Normal file
Binary file not shown.
809
out/RC5_Remote_Control.sdb
Normal file
809
out/RC5_Remote_Control.sdb
Normal file
@ -0,0 +1,809 @@
|
||||
[p LITE_MODE AUTOSTATIC PIC14 PICREGULAR PICMID ]
|
||||
[d version 1.1 ]
|
||||
[d edition pro ]
|
||||
[d chip 16F628A ]
|
||||
"102 C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628a.h
|
||||
[s S31 . 1 `uc 1 C 1 0 :1:0
|
||||
`uc 1 DC 1 0 :1:1
|
||||
`uc 1 Z 1 0 :1:2
|
||||
`uc 1 nPD 1 0 :1:3
|
||||
`uc 1 nTO 1 0 :1:4
|
||||
`uc 1 RP 1 0 :2:5
|
||||
`uc 1 IRP 1 0 :1:7
|
||||
]
|
||||
[s S39 . 1 `uc 1 . 1 0 :5:0
|
||||
`uc 1 RP0 1 0 :1:5
|
||||
`uc 1 RP1 1 0 :1:6
|
||||
]
|
||||
[u S43 . 1 `S31 1 . 1 0 `S39 1 . 1 0 ]
|
||||
"136
|
||||
[s S69 . 1 `uc 1 RA0 1 0 :1:0
|
||||
`uc 1 RA1 1 0 :1:1
|
||||
`uc 1 RA2 1 0 :1:2
|
||||
`uc 1 RA3 1 0 :1:3
|
||||
`uc 1 RA4 1 0 :1:4
|
||||
`uc 1 RA5 1 0 :1:5
|
||||
`uc 1 RA6 1 0 :1:6
|
||||
`uc 1 RA7 1 0 :1:7
|
||||
]
|
||||
[u S78 . 1 `S69 1 . 1 0 ]
|
||||
"162
|
||||
[s S99 . 1 `uc 1 RB0 1 0 :1:0
|
||||
`uc 1 RB1 1 0 :1:1
|
||||
`uc 1 RB2 1 0 :1:2
|
||||
`uc 1 RB3 1 0 :1:3
|
||||
`uc 1 RB4 1 0 :1:4
|
||||
`uc 1 RB5 1 0 :1:5
|
||||
`uc 1 RB6 1 0 :1:6
|
||||
`uc 1 RB7 1 0 :1:7
|
||||
]
|
||||
[u S108 . 1 `S99 1 . 1 0 ]
|
||||
"179
|
||||
[s S121 . 1 `uc 1 PCLATH 1 0 :5:0
|
||||
]
|
||||
[u S123 . 1 `S121 1 . 1 0 ]
|
||||
"201
|
||||
[s S139 . 1 `uc 1 RBIF 1 0 :1:0
|
||||
`uc 1 INTF 1 0 :1:1
|
||||
`uc 1 T0IF 1 0 :1:2
|
||||
`uc 1 RBIE 1 0 :1:3
|
||||
`uc 1 INTE 1 0 :1:4
|
||||
`uc 1 T0IE 1 0 :1:5
|
||||
`uc 1 PEIE 1 0 :1:6
|
||||
`uc 1 GIE 1 0 :1:7
|
||||
]
|
||||
[s S148 . 1 `uc 1 . 1 0 :2:0
|
||||
`uc 1 TMR0IF 1 0 :1:2
|
||||
`uc 1 . 1 0 :2:3
|
||||
`uc 1 TMR0IE 1 0 :1:5
|
||||
]
|
||||
[u S153 . 1 `S139 1 . 1 0 `S148 1 . 1 0 ]
|
||||
"232
|
||||
[s S179 . 1 `uc 1 TMR1IF 1 0 :1:0
|
||||
`uc 1 TMR2IF 1 0 :1:1
|
||||
`uc 1 CCP1IF 1 0 :1:2
|
||||
`uc 1 . 1 0 :1:3
|
||||
`uc 1 TXIF 1 0 :1:4
|
||||
`uc 1 RCIF 1 0 :1:5
|
||||
`uc 1 CMIF 1 0 :1:6
|
||||
`uc 1 EEIF 1 0 :1:7
|
||||
]
|
||||
[s S188 . 1 `uc 1 . 1 0 :1:0
|
||||
`uc 1 . 1 0 :1:1
|
||||
`uc 1 . 1 0 :1:2
|
||||
`uc 1 . 1 0 :3:3
|
||||
`uc 1 . 1 0 :1:6
|
||||
`uc 1 . 1 0 :1:7
|
||||
]
|
||||
[u S195 . 1 `S179 1 . 1 0 `S188 1 . 1 0 ]
|
||||
"276
|
||||
[s S225 . 1 `uc 1 TMR1ON 1 0 :1:0
|
||||
`uc 1 TMR1CS 1 0 :1:1
|
||||
`uc 1 nT1SYNC 1 0 :1:2
|
||||
`uc 1 T1OSCEN 1 0 :1:3
|
||||
`uc 1 T1CKPS 1 0 :2:4
|
||||
]
|
||||
[s S231 . 1 `uc 1 . 1 0 :4:0
|
||||
`uc 1 T1CKPS0 1 0 :1:4
|
||||
`uc 1 T1CKPS1 1 0 :1:5
|
||||
]
|
||||
[u S235 . 1 `S225 1 . 1 0 `S231 1 . 1 0 ]
|
||||
"307
|
||||
[s S258 . 1 `uc 1 T2CKPS 1 0 :2:0
|
||||
`uc 1 TMR2ON 1 0 :1:2
|
||||
`uc 1 TOUTPS 1 0 :4:3
|
||||
]
|
||||
[s S262 . 1 `uc 1 T2CKPS0 1 0 :1:0
|
||||
`uc 1 T2CKPS1 1 0 :1:1
|
||||
`uc 1 . 1 0 :1:2
|
||||
`uc 1 TOUTPS0 1 0 :1:3
|
||||
`uc 1 TOUTPS1 1 0 :1:4
|
||||
`uc 1 TOUTPS2 1 0 :1:5
|
||||
`uc 1 TOUTPS3 1 0 :1:6
|
||||
]
|
||||
[u S270 . 1 `S258 1 . 1 0 `S262 1 . 1 0 ]
|
||||
"347
|
||||
[s S296 . 1 `uc 1 CCP1M 1 0 :4:0
|
||||
`uc 1 CCP1Y 1 0 :1:4
|
||||
`uc 1 CCP1X 1 0 :1:5
|
||||
]
|
||||
[s S300 . 1 `uc 1 CCP1M0 1 0 :1:0
|
||||
`uc 1 CCP1M1 1 0 :1:1
|
||||
`uc 1 CCP1M2 1 0 :1:2
|
||||
`uc 1 CCP1M3 1 0 :1:3
|
||||
]
|
||||
[u S305 . 1 `S296 1 . 1 0 `S300 1 . 1 0 ]
|
||||
"375
|
||||
[s S328 . 1 `uc 1 RX9D 1 0 :1:0
|
||||
`uc 1 OERR 1 0 :1:1
|
||||
`uc 1 FERR 1 0 :1:2
|
||||
`uc 1 ADEN 1 0 :1:3
|
||||
`uc 1 CREN 1 0 :1:4
|
||||
`uc 1 SREN 1 0 :1:5
|
||||
`uc 1 RX9 1 0 :1:6
|
||||
`uc 1 SPEN 1 0 :1:7
|
||||
]
|
||||
[s S337 . 1 `uc 1 . 1 0 :3:0
|
||||
`uc 1 ADDEN 1 0 :1:3
|
||||
]
|
||||
[u S340 . 1 `S328 1 . 1 0 `S337 1 . 1 0 ]
|
||||
"413
|
||||
[s S367 . 1 `uc 1 CM 1 0 :3:0
|
||||
`uc 1 CIS 1 0 :1:3
|
||||
`uc 1 C1INV 1 0 :1:4
|
||||
`uc 1 C2INV 1 0 :1:5
|
||||
`uc 1 C1OUT 1 0 :1:6
|
||||
`uc 1 C2OUT 1 0 :1:7
|
||||
]
|
||||
[s S374 . 1 `uc 1 CM0 1 0 :1:0
|
||||
`uc 1 CM1 1 0 :1:1
|
||||
`uc 1 CM2 1 0 :1:2
|
||||
]
|
||||
[u S378 . 1 `S367 1 . 1 0 `S374 1 . 1 0 ]
|
||||
"447
|
||||
[s S402 . 1 `uc 1 PS 1 0 :3:0
|
||||
`uc 1 PSA 1 0 :1:3
|
||||
`uc 1 T0SE 1 0 :1:4
|
||||
`uc 1 T0CS 1 0 :1:5
|
||||
`uc 1 INTEDG 1 0 :1:6
|
||||
`uc 1 nRBPU 1 0 :1:7
|
||||
]
|
||||
[s S409 . 1 `uc 1 PS0 1 0 :1:0
|
||||
`uc 1 PS1 1 0 :1:1
|
||||
`uc 1 PS2 1 0 :1:2
|
||||
]
|
||||
[u S413 . 1 `S402 1 . 1 0 `S409 1 . 1 0 ]
|
||||
"476
|
||||
[s S437 . 1 `uc 1 TRISA0 1 0 :1:0
|
||||
`uc 1 TRISA1 1 0 :1:1
|
||||
`uc 1 TRISA2 1 0 :1:2
|
||||
`uc 1 TRISA3 1 0 :1:3
|
||||
`uc 1 TRISA4 1 0 :1:4
|
||||
`uc 1 TRISA5 1 0 :1:5
|
||||
`uc 1 TRISA6 1 0 :1:6
|
||||
`uc 1 TRISA7 1 0 :1:7
|
||||
]
|
||||
[u S446 . 1 `S437 1 . 1 0 ]
|
||||
"502
|
||||
[s S467 . 1 `uc 1 TRISB0 1 0 :1:0
|
||||
`uc 1 TRISB1 1 0 :1:1
|
||||
`uc 1 TRISB2 1 0 :1:2
|
||||
`uc 1 TRISB3 1 0 :1:3
|
||||
`uc 1 TRISB4 1 0 :1:4
|
||||
`uc 1 TRISB5 1 0 :1:5
|
||||
`uc 1 TRISB6 1 0 :1:6
|
||||
`uc 1 TRISB7 1 0 :1:7
|
||||
]
|
||||
[u S476 . 1 `S467 1 . 1 0 ]
|
||||
"527
|
||||
[s S496 . 1 `uc 1 TMR1IE 1 0 :1:0
|
||||
`uc 1 TMR2IE 1 0 :1:1
|
||||
`uc 1 CCP1IE 1 0 :1:2
|
||||
`uc 1 . 1 0 :1:3
|
||||
`uc 1 TXIE 1 0 :1:4
|
||||
`uc 1 RCIE 1 0 :1:5
|
||||
`uc 1 CMIE 1 0 :1:6
|
||||
`uc 1 EEIE 1 0 :1:7
|
||||
]
|
||||
[u S505 . 1 `S496 1 . 1 0 ]
|
||||
"550
|
||||
[s S523 . 1 `uc 1 nBOR 1 0 :1:0
|
||||
`uc 1 nPOR 1 0 :1:1
|
||||
`uc 1 . 1 0 :1:2
|
||||
`uc 1 OSCF 1 0 :1:3
|
||||
]
|
||||
[s S528 . 1 `uc 1 nBO 1 0 :1:0
|
||||
]
|
||||
[s S530 . 1 `uc 1 nBOD 1 0 :1:0
|
||||
]
|
||||
[u S532 . 1 `S523 1 . 1 0 `S528 1 . 1 0 `S530 1 . 1 0 ]
|
||||
"581
|
||||
[s S555 . 1 `uc 1 TX9D 1 0 :1:0
|
||||
`uc 1 TRMT 1 0 :1:1
|
||||
`uc 1 BRGH 1 0 :1:2
|
||||
`uc 1 . 1 0 :1:3
|
||||
`uc 1 SYNC 1 0 :1:4
|
||||
`uc 1 TXEN 1 0 :1:5
|
||||
`uc 1 TX9 1 0 :1:6
|
||||
`uc 1 CSRC 1 0 :1:7
|
||||
]
|
||||
[u S564 . 1 `S555 1 . 1 0 ]
|
||||
"615
|
||||
[s S584 . 1 `uc 1 RD 1 0 :1:0
|
||||
`uc 1 WR 1 0 :1:1
|
||||
`uc 1 WREN 1 0 :1:2
|
||||
`uc 1 WRERR 1 0 :1:3
|
||||
]
|
||||
[u S589 . 1 `S584 1 . 1 0 ]
|
||||
"640
|
||||
[s S606 . 1 `uc 1 VR 1 0 :4:0
|
||||
`uc 1 . 1 0 :1:4
|
||||
`uc 1 VRR 1 0 :1:5
|
||||
`uc 1 VROE 1 0 :1:6
|
||||
`uc 1 VREN 1 0 :1:7
|
||||
]
|
||||
[s S612 . 1 `uc 1 VR0 1 0 :1:0
|
||||
`uc 1 VR1 1 0 :1:1
|
||||
`uc 1 VR2 1 0 :1:2
|
||||
`uc 1 VR3 1 0 :1:3
|
||||
]
|
||||
[u S617 . 1 `S606 1 . 1 0 `S612 1 . 1 0 ]
|
||||
"160 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
|
||||
[v F595 `(v 1 t 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\abdiv.c
|
||||
[v ___abdiv `(c 1 e 1 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\abmod.c
|
||||
[v ___abmod `(c 1 e 1 0 ]
|
||||
"34 C:\Program Files\HI-TECH Software\PICC\9.82\sources\abtoft.c
|
||||
[v ___abtoft `(f 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\aldiv.c
|
||||
[v ___aldiv `(l 1 e 4 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\almod.c
|
||||
[v ___almod `(l 1 e 4 0 ]
|
||||
"43 C:\Program Files\HI-TECH Software\PICC\9.82\sources\altoft.c
|
||||
[v ___altoft `(f 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\atdiv.c
|
||||
[v ___atdiv `(m 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\atmod.c
|
||||
[v ___atmod `(m 1 e 3 0 ]
|
||||
"38 C:\Program Files\HI-TECH Software\PICC\9.82\sources\attoft.c
|
||||
[v ___attoft `(f 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\awdiv.c
|
||||
[v ___awdiv `(i 1 e 2 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\awmod.c
|
||||
[v ___awmod `(i 1 e 2 0 ]
|
||||
"33 C:\Program Files\HI-TECH Software\PICC\9.82\sources\awtoft.c
|
||||
[v ___awtoft `(f 1 e 3 0 ]
|
||||
"3 C:\Program Files\HI-TECH Software\PICC\9.82\sources\bmul.c
|
||||
[v ___bmul `(uc 1 e 1 0 ]
|
||||
"63 C:\Program Files\HI-TECH Software\PICC\9.82\sources\float.c
|
||||
[v ___ftpack `(f 1 e 3 0 ]
|
||||
"87 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ftadd.c
|
||||
[v ___ftadd `(f 1 e 3 0 ]
|
||||
"50 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ftdiv.c
|
||||
[v ___ftdiv `(f 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ftge.c
|
||||
[v ___ftge `(b 1 e 0 0 ]
|
||||
"52 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ftmul.c
|
||||
[v ___ftmul `(f 1 e 3 0 ]
|
||||
"16 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ftneg.c
|
||||
[v ___ftneg `(f 1 e 3 0 ]
|
||||
"17 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ftsub.c
|
||||
[v ___ftsub `(f 1 e 3 0 ]
|
||||
"45 C:\Program Files\HI-TECH Software\PICC\9.82\sources\fttol.c
|
||||
[v ___fttol `(l 1 e 4 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lbdiv.c
|
||||
[v ___lbdiv `(uc 1 e 1 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lbmod.c
|
||||
[v ___lbmod `(uc 1 e 1 0 ]
|
||||
"28 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lbtoft.c
|
||||
[v ___lbtoft `(f 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lldiv.c
|
||||
[v ___lldiv `(ul 1 e 4 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\llmod.c
|
||||
[v ___llmod `(ul 1 e 4 0 ]
|
||||
"36 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lltoft.c
|
||||
[v ___lltoft `(f 1 e 3 0 ]
|
||||
"3 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lmul.c
|
||||
[v ___lmul `(ul 1 e 4 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ltdiv.c
|
||||
[v ___ltdiv `(um 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\ltmod.c
|
||||
[v ___ltmod `(um 1 e 3 0 ]
|
||||
"31 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lttoft.c
|
||||
[v ___lttoft `(f 1 e 3 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lwdiv.c
|
||||
[v ___lwdiv `(ui 1 e 2 0 ]
|
||||
"5 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lwmod.c
|
||||
[v ___lwmod `(ui 1 e 2 0 ]
|
||||
"29 C:\Program Files\HI-TECH Software\PICC\9.82\sources\lwtoft.c
|
||||
[v ___lwtoft `(f 1 e 3 0 ]
|
||||
"3 C:\Program Files\HI-TECH Software\PICC\9.82\sources\tmul.c
|
||||
[v ___tmul `(um 1 e 3 0 ]
|
||||
"3 C:\Program Files\HI-TECH Software\PICC\9.82\sources\wmul.c
|
||||
[v ___wmul `(ui 1 e 2 0 ]
|
||||
"60 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
|
||||
[v _AN `(v 1 e 0 0 ]
|
||||
"133
|
||||
[v _AUS `(v 1 e 0 0 ]
|
||||
"160
|
||||
[v _ISR `I(v 1 e 0 0 ]
|
||||
"165
|
||||
[v _delay_89ms `(v 1 e 0 0 ]
|
||||
"190
|
||||
[v _SendEins `(v 1 e 0 0 ]
|
||||
"195
|
||||
[v _SendNull `(v 1 e 0 0 ]
|
||||
"202
|
||||
[v _evaluate_tastatur `(v 1 e 0 0 ]
|
||||
"229
|
||||
[v _SendRc5 `(v 1 e 0 0 ]
|
||||
"260
|
||||
[v _main `(v 1 e 0 0 ]
|
||||
"7 eeprom.c
|
||||
[v _eecpymem `(v 1 e 0 0 ]
|
||||
"25
|
||||
[v _memcpyee `(v 1 e 0 0 ]
|
||||
"49
|
||||
[v ___eetoc `(uc 1 e 1 0 ]
|
||||
"57
|
||||
[v ___eetoi `(ui 1 e 2 0 ]
|
||||
"65
|
||||
[v ___eetom `(um 1 e 3 0 ]
|
||||
"73
|
||||
[v ___eetol `(ul 1 e 4 0 ]
|
||||
"81
|
||||
[v ___ctoee `(uc 1 e 1 0 ]
|
||||
"88
|
||||
[v ___itoee `(ui 1 e 2 0 ]
|
||||
"95
|
||||
[v ___mtoee `(um 1 e 3 0 ]
|
||||
"102
|
||||
[v ___ltoee `(ul 1 e 4 0 ]
|
||||
"109
|
||||
[v ___eetoft `(f 1 e 3 0 ]
|
||||
"117
|
||||
[v ___eetofl `(d 1 e 3 0 ]
|
||||
"125
|
||||
[v ___fttoee `(f 1 e 3 0 ]
|
||||
"132
|
||||
[v ___fltoee `(d 1 e 3 0 ]
|
||||
"81 /hitech/products/compilers/pic/pro/9.82/dist/linux/include/pic16f628a.h
|
||||
[v _INDF `VEuc 1 e 1 @0 ]
|
||||
"85
|
||||
[v _TMR0 `VEuc 1 e 1 @1 ]
|
||||
"89
|
||||
[v _PCL `VEuc 1 e 1 @2 ]
|
||||
"93
|
||||
[v _STATUS `VEuc 1 e 1 @3 ]
|
||||
"95
|
||||
[v _CARRY `VEb 1 e 0 @24 ]
|
||||
"96
|
||||
[v _DC `VEb 1 e 0 @25 ]
|
||||
"97
|
||||
[v _ZERO `VEb 1 e 0 @26 ]
|
||||
"98
|
||||
[v _nPD `VEb 1 e 0 @27 ]
|
||||
"99
|
||||
[v _nTO `VEb 1 e 0 @28 ]
|
||||
"100
|
||||
[v _IRP `VEb 1 e 0 @31 ]
|
||||
"101
|
||||
[v _RP0 `VEb 1 e 0 @29 ]
|
||||
"102
|
||||
[v _RP1 `VEb 1 e 0 @30 ]
|
||||
"123
|
||||
[v _FSR `VEuc 1 e 1 @4 ]
|
||||
"127
|
||||
[v _PORTA `VEuc 1 e 1 @5 ]
|
||||
"129
|
||||
[v _RA0 `VEb 1 e 0 @40 ]
|
||||
"130
|
||||
[v _RA1 `VEb 1 e 0 @41 ]
|
||||
"131
|
||||
[v _RA2 `VEb 1 e 0 @42 ]
|
||||
"132
|
||||
[v _RA3 `VEb 1 e 0 @43 ]
|
||||
"133
|
||||
[v _RA4 `VEb 1 e 0 @44 ]
|
||||
"134
|
||||
[v _RA5 `VEb 1 e 0 @45 ]
|
||||
"135
|
||||
[v _RA6 `VEb 1 e 0 @46 ]
|
||||
"136
|
||||
[v _RA7 `VEb 1 e 0 @47 ]
|
||||
"153
|
||||
[v _PORTB `VEuc 1 e 1 @6 ]
|
||||
"155
|
||||
[v _RB0 `VEb 1 e 0 @48 ]
|
||||
"156
|
||||
[v _RB1 `VEb 1 e 0 @49 ]
|
||||
"157
|
||||
[v _RB2 `VEb 1 e 0 @50 ]
|
||||
"158
|
||||
[v _RB3 `VEb 1 e 0 @51 ]
|
||||
"159
|
||||
[v _RB4 `VEb 1 e 0 @52 ]
|
||||
"160
|
||||
[v _RB5 `VEb 1 e 0 @53 ]
|
||||
"161
|
||||
[v _RB6 `VEb 1 e 0 @54 ]
|
||||
"162
|
||||
[v _RB7 `VEb 1 e 0 @55 ]
|
||||
"179
|
||||
[v _PCLATH `VEuc 1 e 1 @10 ]
|
||||
"190
|
||||
[v _INTCON `VEuc 1 e 1 @11 ]
|
||||
"192
|
||||
[v _RBIF `VEb 1 e 0 @88 ]
|
||||
"193
|
||||
[v _INTF `VEb 1 e 0 @89 ]
|
||||
"194
|
||||
[v _T0IF `VEb 1 e 0 @90 ]
|
||||
"195
|
||||
[v _RBIE `VEb 1 e 0 @91 ]
|
||||
"196
|
||||
[v _INTE `VEb 1 e 0 @92 ]
|
||||
"197
|
||||
[v _T0IE `VEb 1 e 0 @93 ]
|
||||
"198
|
||||
[v _PEIE `VEb 1 e 0 @94 ]
|
||||
"199
|
||||
[v _GIE `VEb 1 e 0 @95 ]
|
||||
"200
|
||||
[v _TMR0IF `VEb 1 e 0 @90 ]
|
||||
"201
|
||||
[v _TMR0IE `VEb 1 e 0 @93 ]
|
||||
"224
|
||||
[v _PIR1 `VEuc 1 e 1 @12 ]
|
||||
"226
|
||||
[v _TMR1IF `VEb 1 e 0 @96 ]
|
||||
"227
|
||||
[v _TMR2IF `VEb 1 e 0 @97 ]
|
||||
"228
|
||||
[v _CCP1IF `VEb 1 e 0 @98 ]
|
||||
"229
|
||||
[v _TXIF `VEb 1 e 0 @100 ]
|
||||
"230
|
||||
[v _RCIF `VEb 1 e 0 @101 ]
|
||||
"231
|
||||
[v _CMIF `VEb 1 e 0 @102 ]
|
||||
"232
|
||||
[v _EEIF `VEb 1 e 0 @103 ]
|
||||
"258
|
||||
[v _TMR1L `VEuc 1 e 1 @14 ]
|
||||
"262
|
||||
[v _TMR1H `VEuc 1 e 1 @15 ]
|
||||
"266
|
||||
[v _TMR1 `VEui 1 e 2 @14 ]
|
||||
"269
|
||||
[v _T1CON `VEuc 1 e 1 @16 ]
|
||||
"271
|
||||
[v _TMR1ON `VEb 1 e 0 @128 ]
|
||||
"272
|
||||
[v _TMR1CS `VEb 1 e 0 @129 ]
|
||||
"273
|
||||
[v _nT1SYNC `VEb 1 e 0 @130 ]
|
||||
"274
|
||||
[v _T1OSCEN `VEb 1 e 0 @131 ]
|
||||
"275
|
||||
[v _T1CKPS0 `VEb 1 e 0 @132 ]
|
||||
"276
|
||||
[v _T1CKPS1 `VEb 1 e 0 @133 ]
|
||||
"295
|
||||
[v _TMR2 `VEuc 1 e 1 @17 ]
|
||||
"299
|
||||
[v _T2CON `VEuc 1 e 1 @18 ]
|
||||
"301
|
||||
[v _TMR2ON `VEb 1 e 0 @146 ]
|
||||
"302
|
||||
[v _T2CKPS0 `VEb 1 e 0 @144 ]
|
||||
"303
|
||||
[v _T2CKPS1 `VEb 1 e 0 @145 ]
|
||||
"304
|
||||
[v _TOUTPS0 `VEb 1 e 0 @147 ]
|
||||
"305
|
||||
[v _TOUTPS1 `VEb 1 e 0 @148 ]
|
||||
"306
|
||||
[v _TOUTPS2 `VEb 1 e 0 @149 ]
|
||||
"307
|
||||
[v _TOUTPS3 `VEb 1 e 0 @150 ]
|
||||
"329
|
||||
[v _CCPR1L `VEuc 1 e 1 @21 ]
|
||||
"333
|
||||
[v _CCPR1H `VEuc 1 e 1 @22 ]
|
||||
"337
|
||||
[v _CCPR1 `VEui 1 e 2 @21 ]
|
||||
"340
|
||||
[v _CCP1CON `VEuc 1 e 1 @23 ]
|
||||
"342
|
||||
[v _CCP1Y `VEb 1 e 0 @188 ]
|
||||
"343
|
||||
[v _CCP1X `VEb 1 e 0 @189 ]
|
||||
"344
|
||||
[v _CCP1M0 `VEb 1 e 0 @184 ]
|
||||
"345
|
||||
[v _CCP1M1 `VEb 1 e 0 @185 ]
|
||||
"346
|
||||
[v _CCP1M2 `VEb 1 e 0 @186 ]
|
||||
"347
|
||||
[v _CCP1M3 `VEb 1 e 0 @187 ]
|
||||
"365
|
||||
[v _RCSTA `VEuc 1 e 1 @24 ]
|
||||
"367
|
||||
[v _RX9D `VEb 1 e 0 @192 ]
|
||||
"368
|
||||
[v _OERR `VEb 1 e 0 @193 ]
|
||||
"369
|
||||
[v _FERR `VEb 1 e 0 @194 ]
|
||||
"370
|
||||
[v _ADEN `VEb 1 e 0 @195 ]
|
||||
"371
|
||||
[v _CREN `VEb 1 e 0 @196 ]
|
||||
"372
|
||||
[v _SREN `VEb 1 e 0 @197 ]
|
||||
"373
|
||||
[v _RX9 `VEb 1 e 0 @198 ]
|
||||
"374
|
||||
[v _SPEN `VEb 1 e 0 @199 ]
|
||||
"375
|
||||
[v _ADDEN `VEb 1 e 0 @195 ]
|
||||
"396
|
||||
[v _TXREG `VEuc 1 e 1 @25 ]
|
||||
"400
|
||||
[v _RCREG `VEuc 1 e 1 @26 ]
|
||||
"404
|
||||
[v _CMCON `VEuc 1 e 1 @31 ]
|
||||
"406
|
||||
[v _CIS `VEb 1 e 0 @251 ]
|
||||
"407
|
||||
[v _C1INV `VEb 1 e 0 @252 ]
|
||||
"408
|
||||
[v _C2INV `VEb 1 e 0 @253 ]
|
||||
"409
|
||||
[v _C1OUT `VEb 1 e 0 @254 ]
|
||||
"410
|
||||
[v _C2OUT `VEb 1 e 0 @255 ]
|
||||
"411
|
||||
[v _CM0 `VEb 1 e 0 @248 ]
|
||||
"412
|
||||
[v _CM1 `VEb 1 e 0 @249 ]
|
||||
"413
|
||||
[v _CM2 `VEb 1 e 0 @250 ]
|
||||
"438
|
||||
[v _OPTION_REG `VEuc 1 e 1 @129 ]
|
||||
"440
|
||||
[v _PSA `VEb 1 e 0 @1035 ]
|
||||
"441
|
||||
[v _T0SE `VEb 1 e 0 @1036 ]
|
||||
"442
|
||||
[v _T0CS `VEb 1 e 0 @1037 ]
|
||||
"443
|
||||
[v _INTEDG `VEb 1 e 0 @1038 ]
|
||||
"444
|
||||
[v _nRBPU `VEb 1 e 0 @1039 ]
|
||||
"445
|
||||
[v _PS0 `VEb 1 e 0 @1032 ]
|
||||
"446
|
||||
[v _PS1 `VEb 1 e 0 @1033 ]
|
||||
"447
|
||||
[v _PS2 `VEb 1 e 0 @1034 ]
|
||||
"467
|
||||
[v _TRISA `VEuc 1 e 1 @133 ]
|
||||
"469
|
||||
[v _TRISA0 `VEb 1 e 0 @1064 ]
|
||||
"470
|
||||
[v _TRISA1 `VEb 1 e 0 @1065 ]
|
||||
"471
|
||||
[v _TRISA2 `VEb 1 e 0 @1066 ]
|
||||
"472
|
||||
[v _TRISA3 `VEb 1 e 0 @1067 ]
|
||||
"473
|
||||
[v _TRISA4 `VEb 1 e 0 @1068 ]
|
||||
"474
|
||||
[v _TRISA5 `VEb 1 e 0 @1069 ]
|
||||
"475
|
||||
[v _TRISA6 `VEb 1 e 0 @1070 ]
|
||||
"476
|
||||
[v _TRISA7 `VEb 1 e 0 @1071 ]
|
||||
"493
|
||||
[v _TRISB `VEuc 1 e 1 @134 ]
|
||||
"495
|
||||
[v _TRISB0 `VEb 1 e 0 @1072 ]
|
||||
"496
|
||||
[v _TRISB1 `VEb 1 e 0 @1073 ]
|
||||
"497
|
||||
[v _TRISB2 `VEb 1 e 0 @1074 ]
|
||||
"498
|
||||
[v _TRISB3 `VEb 1 e 0 @1075 ]
|
||||
"499
|
||||
[v _TRISB4 `VEb 1 e 0 @1076 ]
|
||||
"500
|
||||
[v _TRISB5 `VEb 1 e 0 @1077 ]
|
||||
"501
|
||||
[v _TRISB6 `VEb 1 e 0 @1078 ]
|
||||
"502
|
||||
[v _TRISB7 `VEb 1 e 0 @1079 ]
|
||||
"519
|
||||
[v _PIE1 `VEuc 1 e 1 @140 ]
|
||||
"521
|
||||
[v _TMR1IE `VEb 1 e 0 @1120 ]
|
||||
"522
|
||||
[v _TMR2IE `VEb 1 e 0 @1121 ]
|
||||
"523
|
||||
[v _CCP1IE `VEb 1 e 0 @1122 ]
|
||||
"524
|
||||
[v _TXIE `VEb 1 e 0 @1124 ]
|
||||
"525
|
||||
[v _RCIE `VEb 1 e 0 @1125 ]
|
||||
"526
|
||||
[v _CMIE `VEb 1 e 0 @1126 ]
|
||||
"527
|
||||
[v _EEIE `VEb 1 e 0 @1127 ]
|
||||
"544
|
||||
[v _PCON `VEuc 1 e 1 @142 ]
|
||||
"546
|
||||
[v _nBOR `VEb 1 e 0 @1136 ]
|
||||
"547
|
||||
[v _nPOR `VEb 1 e 0 @1137 ]
|
||||
"548
|
||||
[v _OSCF `VEb 1 e 0 @1139 ]
|
||||
"549
|
||||
[v _nBO `VEb 1 e 0 @1136 ]
|
||||
"550
|
||||
[v _nBOD `VEb 1 e 0 @1136 ]
|
||||
"569
|
||||
[v _PR2 `VEuc 1 e 1 @146 ]
|
||||
"573
|
||||
[v _TXSTA `VEuc 1 e 1 @152 ]
|
||||
"575
|
||||
[v _TX9D `VEb 1 e 0 @1216 ]
|
||||
"576
|
||||
[v _TRMT `VEb 1 e 0 @1217 ]
|
||||
"577
|
||||
[v _BRGH `VEb 1 e 0 @1218 ]
|
||||
"578
|
||||
[v _SYNC `VEb 1 e 0 @1220 ]
|
||||
"579
|
||||
[v _TXEN `VEb 1 e 0 @1221 ]
|
||||
"580
|
||||
[v _TX9 `VEb 1 e 0 @1222 ]
|
||||
"581
|
||||
[v _CSRC `VEb 1 e 0 @1223 ]
|
||||
"598
|
||||
[v _SPBRG `VEuc 1 e 1 @153 ]
|
||||
"602
|
||||
[v _EEDATA `VEuc 1 e 1 @154 ]
|
||||
"606
|
||||
[v _EEADR `VEuc 1 e 1 @155 ]
|
||||
"610
|
||||
[v _EECON1 `VEuc 1 e 1 @156 ]
|
||||
"612
|
||||
[v _RD `VEb 1 e 0 @1248 ]
|
||||
"613
|
||||
[v _WR `VEb 1 e 0 @1249 ]
|
||||
"614
|
||||
[v _WREN `VEb 1 e 0 @1250 ]
|
||||
"615
|
||||
[v _WRERR `VEb 1 e 0 @1251 ]
|
||||
"628
|
||||
[v _EECON2 `VEuc 1 e 1 @157 ]
|
||||
"632
|
||||
[v _VRCON `VEuc 1 e 1 @159 ]
|
||||
"634
|
||||
[v _VRR `VEb 1 e 0 @1277 ]
|
||||
"635
|
||||
[v _VROE `VEb 1 e 0 @1278 ]
|
||||
"636
|
||||
[v _VREN `VEb 1 e 0 @1279 ]
|
||||
"637
|
||||
[v _VR0 `VEb 1 e 0 @1272 ]
|
||||
"638
|
||||
[v _VR1 `VEb 1 e 0 @1273 ]
|
||||
"639
|
||||
[v _VR2 `VEb 1 e 0 @1274 ]
|
||||
"640
|
||||
[v _VR3 `VEb 1 e 0 @1275 ]
|
||||
"119 C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628a.h
|
||||
[v _STATUSbits `VES43 1 e 1 @3 ]
|
||||
"149
|
||||
[v _PORTAbits `VES78 1 e 1 @5 ]
|
||||
"175
|
||||
[v _PORTBbits `VES78 1 e 1 @6 ]
|
||||
"186
|
||||
[v _PCLATHbits `VES123 1 e 1 @10 ]
|
||||
"220
|
||||
[v _INTCONbits `VES153 1 e 1 @11 ]
|
||||
"253
|
||||
[v _PIR1bits `VES195 1 e 1 @12 ]
|
||||
"291
|
||||
[v _T1CONbits `VES235 1 e 1 @16 ]
|
||||
"324
|
||||
[v _T2CONbits `VES270 1 e 1 @18 ]
|
||||
"361
|
||||
[v _CCP1CONbits `VES305 1 e 1 @23 ]
|
||||
"392
|
||||
[v _RCSTAbits `VES340 1 e 1 @24 ]
|
||||
"429
|
||||
[v _CMCONbits `VES378 1 e 1 @31 ]
|
||||
"463
|
||||
[v _OPTION_REGbits `VES378 1 e 1 @129 ]
|
||||
"489
|
||||
[v _TRISAbits `VES78 1 e 1 @133 ]
|
||||
"515
|
||||
[v _TRISBbits `VES78 1 e 1 @134 ]
|
||||
"540
|
||||
[v _PIE1bits `VES78 1 e 1 @140 ]
|
||||
"565
|
||||
[v _PCONbits `VES532 1 e 1 @142 ]
|
||||
"594
|
||||
[v _TXSTAbits `VES78 1 e 1 @152 ]
|
||||
"624
|
||||
[v _EECON1bits `VES589 1 e 1 @156 ]
|
||||
"656
|
||||
[v _VRCONbits `VES617 1 e 1 @159 ]
|
||||
"50 C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
|
||||
[v _toggle `uc 1 e 1 0 ]
|
||||
"51
|
||||
[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 _CountB `ui 1 e 2 0 ]
|
||||
[v _CountC `ui 1 e 2 0 ]
|
||||
"55
|
||||
[v _somethingpressed `ui 1 e 2 0 ]
|
||||
"260
|
||||
[v _main `(v 1 e 0 0 ]
|
||||
{
|
||||
"261
|
||||
[v main@comcode `uc 1 a 1 7 ]
|
||||
"262
|
||||
[v main@subcode `uc 1 a 1 6 ]
|
||||
"280
|
||||
[v main@help `uc 1 a 1 5 ]
|
||||
"304
|
||||
} 0
|
||||
"229
|
||||
[v _SendRc5 `(v 1 e 0 0 ]
|
||||
{
|
||||
[v SendRc5@command `*.0uc 1 a 1 wreg ]
|
||||
"230
|
||||
[v SendRc5@i `uc 1 a 1 2 ]
|
||||
"229
|
||||
[v SendRc5@command `*.0uc 1 a 1 wreg ]
|
||||
[v SendRc5@group `*.0uc 1 p 1 6 ]
|
||||
"256
|
||||
} 0
|
||||
"195
|
||||
[v _SendNull `(v 1 e 0 0 ]
|
||||
{
|
||||
"198
|
||||
} 0
|
||||
"190
|
||||
[v _SendEins `(v 1 e 0 0 ]
|
||||
{
|
||||
"193
|
||||
} 0
|
||||
"202
|
||||
[v _evaluate_tastatur `(v 1 e 0 0 ]
|
||||
{
|
||||
[v evaluate_tastatur@comcode `*.0uc 1 a 1 wreg ]
|
||||
"204
|
||||
[v evaluate_tastatur@a `uc 1 a 1 3 ]
|
||||
"203
|
||||
[v evaluate_tastatur@i `uc 1 a 1 2 ]
|
||||
"205
|
||||
[v evaluate_tastatur@e `uc 1 a 1 1 ]
|
||||
"202
|
||||
[v evaluate_tastatur@comcode `*.0uc 1 a 1 wreg ]
|
||||
"226
|
||||
} 0
|
||||
"165
|
||||
[v _delay_89ms `(v 1 e 0 0 ]
|
||||
{
|
||||
"187
|
||||
} 0
|
||||
"133
|
||||
[v _AUS `(v 1 e 0 0 ]
|
||||
{
|
||||
"134
|
||||
[v AUS@i `uc 1 a 1 5 ]
|
||||
"154
|
||||
} 0
|
||||
"60
|
||||
[v _AN `(v 1 e 0 0 ]
|
||||
{
|
||||
"61
|
||||
[v AN@i `uc 1 a 1 5 ]
|
||||
"130
|
||||
} 0
|
||||
"160
|
||||
[v _ISR `I(v 1 e 0 0 ]
|
||||
{
|
||||
"162
|
||||
} 0
|
324
out/RC5_Remote_Control.sym
Normal file
324
out/RC5_Remote_Control.sym
Normal file
@ -0,0 +1,324 @@
|
||||
_RD 4E0 0 ABS
|
||||
_AN 129 0 CODE
|
||||
_WR 4E1 0 ABS
|
||||
_RA0 28 0 ABS
|
||||
_CM0 F8 0 ABS
|
||||
_CM1 F9 0 ABS
|
||||
_CM2 FA 0 ABS
|
||||
__S0 2008 0 ABS
|
||||
__S1 7A 0 ABS
|
||||
__S2 0 0 ABS
|
||||
_GIE 5F 0 ABS
|
||||
?_AN 70 0 COMMON
|
||||
_AUS 157 0 CODE
|
||||
_ISR 167 0 CODE
|
||||
__Hintentry 10 0 CODE
|
||||
__Lintentry 4 0 CODE
|
||||
AN@i 75 0 COMMON
|
||||
__pintentry 4 0 CODE
|
||||
_RBIE 5B 0 ABS
|
||||
_RBIF 58 0 ABS
|
||||
??_AN 74 0 COMMON
|
||||
_WREN 4E2 0 ABS
|
||||
?_AUS 70 0 COMMON
|
||||
?_ISR 70 0 COMMON
|
||||
AUS@i 75 0 COMMON
|
||||
_main E0 0 CODE
|
||||
btemp 7E 0 ABS
|
||||
?_evaluate_tastatur 70 0 COMMON
|
||||
_exit 10 0 CODE
|
||||
start 10 0 CODE
|
||||
__end_of_SendRc5 81 0 CODE
|
||||
_somethingpressed 2A 0 BANK0
|
||||
_TRISA 85 0 ABS
|
||||
_TRISB 86 0 ABS
|
||||
_PORTA 5 0 ABS
|
||||
reset_vec 0 0 CODE
|
||||
_PORTB 6 0 ABS
|
||||
_EEADR 9B 0 ABS
|
||||
_CMCON 1F 0 ABS
|
||||
wtemp0 7E 0 ABS
|
||||
??_AUS 74 0 COMMON
|
||||
??_ISR 70 0 COMMON
|
||||
interrupt_function 4 0 CODE
|
||||
_CARRY 18 0 ABS
|
||||
__Hconfig 2008 0 CONFIG
|
||||
__Lconfig 2007 0 CONFIG
|
||||
__end_of_SendEins 18A 0 CODE
|
||||
clear_ram 17C 0 CODE
|
||||
__Hram 0 0 ABS
|
||||
__Lram 0 0 ABS
|
||||
?_main 70 0 COMMON
|
||||
_SendNull 184 0 CODE
|
||||
main@help 31 0 BANK0
|
||||
__end_of_AUS 167 0 CODE
|
||||
__end_of_ISR 172 0 CODE
|
||||
__Hfunctab 0 0 CODE
|
||||
__Lfunctab 0 0 CODE
|
||||
_EECON1 9C 0 ABS
|
||||
_SendEins 187 0 CODE
|
||||
_EECON2 9D 0 ABS
|
||||
_OPTION_REG 81 0 ABS
|
||||
__size_of_evaluate_tastatur 0 0 ABS
|
||||
__Hcommon 0 0 ABS
|
||||
__Lcommon 0 0 ABS
|
||||
__Heeprom_data 0 0 EEDATA
|
||||
__Leeprom_data 0 0 EEDATA
|
||||
_EEDATA 9A 0 ABS
|
||||
SendRc5@group 76 0 COMMON
|
||||
_cycl_1 26 0 BANK0
|
||||
_cycl_2 28 0 BANK0
|
||||
__Habs1 0 0 ABS
|
||||
__Labs1 0 0 ABS
|
||||
_INTCON B 0 ABS
|
||||
__Hsfr0 0 0 ABS
|
||||
__Lsfr0 0 0 ABS
|
||||
__Hsfr1 0 0 ABS
|
||||
__Lsfr1 0 0 ABS
|
||||
__Hsfr2 0 0 ABS
|
||||
__Lsfr2 0 0 ABS
|
||||
__Hsfr3 0 0 ABS
|
||||
__Lsfr3 0 0 ABS
|
||||
__ptext300 81 0 CODE
|
||||
__ptext301 147 0 CODE
|
||||
_CountA 20 0 BANK0
|
||||
_CountB 22 0 BANK0
|
||||
__ptext302 157 0 CODE
|
||||
_CountC 24 0 BANK0
|
||||
__size_of_SendRc5 0 0 ABS
|
||||
__ptext303 129 0 CODE
|
||||
__size_of_SendNull 0 0 ABS
|
||||
__ptext304 167 0 CODE
|
||||
__Hcode 0 0 ABS
|
||||
__Lcode 0 0 ABS
|
||||
__ptext305 0 0 CODE
|
||||
_toggle 79 0 COMMON
|
||||
??_main 30 0 BANK0
|
||||
__HcstackBANK0 0 0 ABS
|
||||
__LcstackBANK0 0 0 ABS
|
||||
__pcstackBANK0 2C 0 BANK0
|
||||
saved_w 7E 0 ABS
|
||||
__Hinit 10 0 CODE
|
||||
__Linit 10 0 CODE
|
||||
?_SendNull 70 0 COMMON
|
||||
__end_of_main 129 0 CODE
|
||||
__Htext 0 0 ABS
|
||||
__Ltext 0 0 ABS
|
||||
end_of_initialization 17A 0 CODE
|
||||
__ptext296 0 0 CODE
|
||||
__size_of_AUS 0 0 ABS
|
||||
__size_of_ISR 0 0 ABS
|
||||
__end_of_delay_89ms 157 0 CODE
|
||||
?_SendEins 70 0 COMMON
|
||||
__ptext297 11 0 CODE
|
||||
__ptext298 184 0 CODE
|
||||
__ptext299 187 0 CODE
|
||||
__Hstrings 0 0 ABS
|
||||
__Lstrings 0 0 ABS
|
||||
_delay_89ms 147 0 CODE
|
||||
_SendRc5 11 0 CODE
|
||||
__Hbank0 0 0 ABS
|
||||
__Lbank0 0 0 ABS
|
||||
__Hbank1 0 0 ABS
|
||||
__Lbank1 0 0 ABS
|
||||
__Hbank2 0 0 ABS
|
||||
__Lbank2 0 0 ABS
|
||||
_counterms 77 0 COMMON
|
||||
__Hbank3 0 0 BANK3
|
||||
__Lbank3 0 0 BANK3
|
||||
evaluate_tastatur@a 2F 0 BANK0
|
||||
__Hpowerup 0 0 CODE
|
||||
evaluate_tastatur@e 2D 0 BANK0
|
||||
__Lpowerup 0 0 CODE
|
||||
evaluate_tastatur@i 2E 0 BANK0
|
||||
__end_of_SendNull 187 0 CODE
|
||||
__end_of_AN 147 0 CODE
|
||||
_counterus 78 0 COMMON
|
||||
__Hclrtext 0 0 ABS
|
||||
__Lclrtext 0 0 ABS
|
||||
??_delay_89ms 74 0 COMMON
|
||||
evaluate_tastatur@comcode 2C 0 BANK0
|
||||
__Hidloc 0 0 IDLOC
|
||||
__Lidloc 0 0 IDLOC
|
||||
??_SendNull 76 0 COMMON
|
||||
??_SendRc5 2C 0 BANK0
|
||||
__Hcinit 0 0 ABS
|
||||
__Lcinit 0 0 ABS
|
||||
__size_of_main 0 0 ABS
|
||||
__size_of_delay_89ms 0 0 ABS
|
||||
__HbssBANK0 0 0 ABS
|
||||
__LbssBANK0 0 0 ABS
|
||||
__pbssBANK0 20 0 BANK0
|
||||
??_SendEins 76 0 COMMON
|
||||
??_evaluate_tastatur 74 0 COMMON
|
||||
__HbssCOMMON 0 0 ABS
|
||||
__LbssCOMMON 0 0 ABS
|
||||
__pbssCOMMON 77 0 COMMON
|
||||
?_delay_89ms 70 0 COMMON
|
||||
__Hend_init 11 0 CODE
|
||||
__Lend_init 10 0 CODE
|
||||
main@subcode 32 0 BANK0
|
||||
main@comcode 33 0 BANK0
|
||||
SendRc5@command 2D 0 BANK0
|
||||
?_SendRc5 76 0 COMMON
|
||||
__Hreset_vec 1 0 CODE
|
||||
__Lreset_vec 0 0 CODE
|
||||
intlevel0 0 0 CODE
|
||||
intlevel1 0 0 CODE
|
||||
_evaluate_tastatur 81 0 CODE
|
||||
intlevel2 0 0 CODE
|
||||
intlevel3 0 0 CODE
|
||||
intlevel4 0 0 CODE
|
||||
intlevel5 0 0 CODE
|
||||
__HcstackCOMMON 0 0 ABS
|
||||
__LcstackCOMMON 0 0 ABS
|
||||
__end_of_evaluate_tastatur E0 0 CODE
|
||||
__size_of_AN 0 0 ABS
|
||||
__pcstackCOMMON 70 0 COMMON
|
||||
start_initialization 172 0 CODE
|
||||
__size_of_SendEins 0 0 ABS
|
||||
__Hmaintext 0 0 ABS
|
||||
__Lmaintext 0 0 ABS
|
||||
__pmaintext E0 0 CODE
|
||||
SendRc5@i 2E 0 BANK0
|
||||
%segments
|
||||
reset_vec 0 1 CODE 0
|
||||
intentry 8 313 CODE 8
|
||||
config 400E 400F CONFIG 400E
|
||||
cstackCOMMON 70 79 COMMON 70
|
||||
bssBANK0 20 33 BANK0 20
|
||||
%locals
|
||||
startup.obj
|
||||
startup.as
|
||||
60 0 0 CODE
|
||||
69 10 0 CODE
|
||||
RC5_Remote_Control.obj
|
||||
C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
|
||||
43 2007 0 CONFIG
|
||||
RC5_Remote_Control.as
|
||||
171 172 0 CODE
|
||||
172 173 0 CODE
|
||||
173 174 0 CODE
|
||||
176 175 0 CODE
|
||||
177 176 0 CODE
|
||||
178 177 0 CODE
|
||||
179 178 0 CODE
|
||||
180 179 0 CODE
|
||||
187 17A 0 CODE
|
||||
188 17B 0 CODE
|
||||
159 17C 0 CODE
|
||||
161 17D 0 CODE
|
||||
162 17E 0 CODE
|
||||
163 17F 0 CODE
|
||||
164 180 0 CODE
|
||||
165 181 0 CODE
|
||||
166 182 0 CODE
|
||||
167 183 0 CODE
|
||||
C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c
|
||||
261 E0 0 CODE
|
||||
262 E3 0 CODE
|
||||
264 E4 0 CODE
|
||||
265 E8 0 CODE
|
||||
266 EC 0 CODE
|
||||
267 EF 0 CODE
|
||||
269 F1 0 CODE
|
||||
270 F2 0 CODE
|
||||
271 F5 0 CODE
|
||||
272 F6 0 CODE
|
||||
273 F7 0 CODE
|
||||
274 F8 0 CODE
|
||||
275 FA 0 CODE
|
||||
278 FE 0 CODE
|
||||
279 FF 0 CODE
|
||||
280 100 0 CODE
|
||||
284 102 0 CODE
|
||||
285 103 0 CODE
|
||||
284 104 0 CODE
|
||||
286 109 0 CODE
|
||||
287 10D 0 CODE
|
||||
288 10F 0 CODE
|
||||
290 118 0 CODE
|
||||
291 11E 0 CODE
|
||||
292 122 0 CODE
|
||||
293 126 0 CODE
|
||||
282 127 0 CODE
|
||||
304 128 0 CODE
|
||||
231 11 0 CODE
|
||||
232 15 0 CODE
|
||||
234 16 0 CODE
|
||||
235 1D 0 CODE
|
||||
236 23 0 CODE
|
||||
238 25 0 CODE
|
||||
240 27 0 CODE
|
||||
242 35 0 CODE
|
||||
243 45 0 CODE
|
||||
245 47 0 CODE
|
||||
240 49 0 CODE
|
||||
247 54 0 CODE
|
||||
249 60 0 CODE
|
||||
250 70 0 CODE
|
||||
252 72 0 CODE
|
||||
247 74 0 CODE
|
||||
254 7F 0 CODE
|
||||
256 80 0 CODE
|
||||
196 184 0 CODE
|
||||
197 185 0 CODE
|
||||
198 186 0 CODE
|
||||
191 187 0 CODE
|
||||
192 188 0 CODE
|
||||
193 189 0 CODE
|
||||
206 81 0 CODE
|
||||
208 85 0 CODE
|
||||
210 91 0 CODE
|
||||
211 93 0 CODE
|
||||
212 A1 0 CODE
|
||||
214 AD 0 CODE
|
||||
215 B1 0 CODE
|
||||
217 BE 0 CODE
|
||||
218 C5 0 CODE
|
||||
219 CA 0 CODE
|
||||
212 CB 0 CODE
|
||||
208 D6 0 CODE
|
||||
226 DF 0 CODE
|
||||
168 147 0 CODE
|
||||
169 148 0 CODE
|
||||
170 149 0 CODE
|
||||
171 14A 0 CODE
|
||||
172 14B 0 CODE
|
||||
173 14C 0 CODE
|
||||
174 14D 0 CODE
|
||||
175 14E 0 CODE
|
||||
176 14F 0 CODE
|
||||
179 150 0 CODE
|
||||
180 151 0 CODE
|
||||
181 152 0 CODE
|
||||
182 153 0 CODE
|
||||
183 154 0 CODE
|
||||
184 155 0 CODE
|
||||
187 156 0 CODE
|
||||
134 157 0 CODE
|
||||
137 158 0 CODE
|
||||
139 15B 0 CODE
|
||||
154 166 0 CODE
|
||||
61 129 0 CODE
|
||||
64 12A 0 CODE
|
||||
65 12D 0 CODE
|
||||
66 12E 0 CODE
|
||||
67 12F 0 CODE
|
||||
69 130 0 CODE
|
||||
70 131 0 CODE
|
||||
71 132 0 CODE
|
||||
72 133 0 CODE
|
||||
73 134 0 CODE
|
||||
74 135 0 CODE
|
||||
75 136 0 CODE
|
||||
76 137 0 CODE
|
||||
77 138 0 CODE
|
||||
78 139 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
|
10
out/funclist
Normal file
10
out/funclist
Normal file
@ -0,0 +1,10 @@
|
||||
_SendRc5: CODE, 17 0 112
|
||||
_SendEins: CODE, 391 0 3
|
||||
_AUS: CODE, 343 0 16
|
||||
_ISR: CODE, 359 0 11
|
||||
_main: CODE, 224 0 73
|
||||
_delay_89ms: CODE, 327 0 16
|
||||
_SendNull: CODE, 388 0 3
|
||||
_AN: CODE, 297 0 30
|
||||
_evaluate_tastatur: CODE, 129 0 95
|
||||
Total: 359
|
1469
out/main.p1
Normal file
1469
out/main.p1
Normal file
File diff suppressed because it is too large
Load Diff
801
out/main.pre
Normal file
801
out/main.pre
Normal file
@ -0,0 +1,801 @@
|
||||
|
||||
# 1 "C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c"
|
||||
|
||||
# 81 "C:\Program Files\HI-TECH Software\PICC\9.82\include\pic16f628a.h"
|
||||
volatile unsigned char INDF @ 0x000;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TMR0 @ 0x001;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PCL @ 0x002;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char STATUS @ 0x003;
|
||||
|
||||
volatile bit CARRY @ ((unsigned)&STATUS*8)+0;
|
||||
volatile bit DC @ ((unsigned)&STATUS*8)+1;
|
||||
volatile bit ZERO @ ((unsigned)&STATUS*8)+2;
|
||||
volatile bit nPD @ ((unsigned)&STATUS*8)+3;
|
||||
volatile bit nTO @ ((unsigned)&STATUS*8)+4;
|
||||
volatile bit IRP @ ((unsigned)&STATUS*8)+7;
|
||||
volatile bit RP0 @ ((unsigned)&STATUS*8)+5;
|
||||
volatile bit RP1 @ ((unsigned)&STATUS*8)+6;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned C : 1;
|
||||
unsigned DC : 1;
|
||||
unsigned Z : 1;
|
||||
unsigned nPD : 1;
|
||||
unsigned nTO : 1;
|
||||
unsigned RP : 2;
|
||||
unsigned IRP : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned : 5;
|
||||
unsigned RP0 : 1;
|
||||
unsigned RP1 : 1;
|
||||
};
|
||||
} STATUSbits @ 0x003;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char FSR @ 0x004;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PORTA @ 0x005;
|
||||
|
||||
volatile bit RA0 @ ((unsigned)&PORTA*8)+0;
|
||||
volatile bit RA1 @ ((unsigned)&PORTA*8)+1;
|
||||
volatile bit RA2 @ ((unsigned)&PORTA*8)+2;
|
||||
volatile bit RA3 @ ((unsigned)&PORTA*8)+3;
|
||||
volatile bit RA4 @ ((unsigned)&PORTA*8)+4;
|
||||
volatile bit RA5 @ ((unsigned)&PORTA*8)+5;
|
||||
volatile bit RA6 @ ((unsigned)&PORTA*8)+6;
|
||||
volatile bit RA7 @ ((unsigned)&PORTA*8)+7;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned RA0 : 1;
|
||||
unsigned RA1 : 1;
|
||||
unsigned RA2 : 1;
|
||||
unsigned RA3 : 1;
|
||||
unsigned RA4 : 1;
|
||||
unsigned RA5 : 1;
|
||||
unsigned RA6 : 1;
|
||||
unsigned RA7 : 1;
|
||||
};
|
||||
} PORTAbits @ 0x005;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PORTB @ 0x006;
|
||||
|
||||
volatile bit RB0 @ ((unsigned)&PORTB*8)+0;
|
||||
volatile bit RB1 @ ((unsigned)&PORTB*8)+1;
|
||||
volatile bit RB2 @ ((unsigned)&PORTB*8)+2;
|
||||
volatile bit RB3 @ ((unsigned)&PORTB*8)+3;
|
||||
volatile bit RB4 @ ((unsigned)&PORTB*8)+4;
|
||||
volatile bit RB5 @ ((unsigned)&PORTB*8)+5;
|
||||
volatile bit RB6 @ ((unsigned)&PORTB*8)+6;
|
||||
volatile bit RB7 @ ((unsigned)&PORTB*8)+7;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned RB0 : 1;
|
||||
unsigned RB1 : 1;
|
||||
unsigned RB2 : 1;
|
||||
unsigned RB3 : 1;
|
||||
unsigned RB4 : 1;
|
||||
unsigned RB5 : 1;
|
||||
unsigned RB6 : 1;
|
||||
unsigned RB7 : 1;
|
||||
};
|
||||
} PORTBbits @ 0x006;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PCLATH @ 0x00A;
|
||||
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned PCLATH : 5;
|
||||
};
|
||||
} PCLATHbits @ 0x00A;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char INTCON @ 0x00B;
|
||||
|
||||
volatile bit RBIF @ ((unsigned)&INTCON*8)+0;
|
||||
volatile bit INTF @ ((unsigned)&INTCON*8)+1;
|
||||
volatile bit T0IF @ ((unsigned)&INTCON*8)+2;
|
||||
volatile bit RBIE @ ((unsigned)&INTCON*8)+3;
|
||||
volatile bit INTE @ ((unsigned)&INTCON*8)+4;
|
||||
volatile bit T0IE @ ((unsigned)&INTCON*8)+5;
|
||||
volatile bit PEIE @ ((unsigned)&INTCON*8)+6;
|
||||
volatile bit GIE @ ((unsigned)&INTCON*8)+7;
|
||||
volatile bit TMR0IF @ ((unsigned)&INTCON*8)+2;
|
||||
volatile bit TMR0IE @ ((unsigned)&INTCON*8)+5;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned RBIF : 1;
|
||||
unsigned INTF : 1;
|
||||
unsigned T0IF : 1;
|
||||
unsigned RBIE : 1;
|
||||
unsigned INTE : 1;
|
||||
unsigned T0IE : 1;
|
||||
unsigned PEIE : 1;
|
||||
unsigned GIE : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned : 2;
|
||||
unsigned TMR0IF : 1;
|
||||
unsigned : 2;
|
||||
unsigned TMR0IE : 1;
|
||||
};
|
||||
} INTCONbits @ 0x00B;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PIR1 @ 0x00C;
|
||||
|
||||
volatile bit TMR1IF @ ((unsigned)&PIR1*8)+0;
|
||||
volatile bit TMR2IF @ ((unsigned)&PIR1*8)+1;
|
||||
volatile bit CCP1IF @ ((unsigned)&PIR1*8)+2;
|
||||
volatile bit TXIF @ ((unsigned)&PIR1*8)+4;
|
||||
volatile bit RCIF @ ((unsigned)&PIR1*8)+5;
|
||||
volatile bit CMIF @ ((unsigned)&PIR1*8)+6;
|
||||
volatile bit EEIF @ ((unsigned)&PIR1*8)+7;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned TMR1IF : 1;
|
||||
unsigned TMR2IF : 1;
|
||||
unsigned CCP1IF : 1;
|
||||
unsigned : 1;
|
||||
unsigned TXIF : 1;
|
||||
unsigned RCIF : 1;
|
||||
unsigned CMIF : 1;
|
||||
unsigned EEIF : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned : 1;
|
||||
unsigned : 1;
|
||||
unsigned : 1;
|
||||
unsigned : 3;
|
||||
unsigned : 1;
|
||||
unsigned : 1;
|
||||
};
|
||||
} PIR1bits @ 0x00C;
|
||||
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TMR1L @ 0x00E;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TMR1H @ 0x00F;
|
||||
|
||||
|
||||
|
||||
volatile unsigned int TMR1 @ 0x00E;
|
||||
|
||||
|
||||
volatile unsigned char T1CON @ 0x010;
|
||||
|
||||
volatile bit TMR1ON @ ((unsigned)&T1CON*8)+0;
|
||||
volatile bit TMR1CS @ ((unsigned)&T1CON*8)+1;
|
||||
volatile bit nT1SYNC @ ((unsigned)&T1CON*8)+2;
|
||||
volatile bit T1OSCEN @ ((unsigned)&T1CON*8)+3;
|
||||
volatile bit T1CKPS0 @ ((unsigned)&T1CON*8)+4;
|
||||
volatile bit T1CKPS1 @ ((unsigned)&T1CON*8)+5;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned TMR1ON : 1;
|
||||
unsigned TMR1CS : 1;
|
||||
unsigned nT1SYNC : 1;
|
||||
unsigned T1OSCEN : 1;
|
||||
unsigned T1CKPS : 2;
|
||||
};
|
||||
struct {
|
||||
unsigned : 4;
|
||||
unsigned T1CKPS0 : 1;
|
||||
unsigned T1CKPS1 : 1;
|
||||
};
|
||||
} T1CONbits @ 0x010;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TMR2 @ 0x011;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char T2CON @ 0x012;
|
||||
|
||||
volatile bit TMR2ON @ ((unsigned)&T2CON*8)+2;
|
||||
volatile bit T2CKPS0 @ ((unsigned)&T2CON*8)+0;
|
||||
volatile bit T2CKPS1 @ ((unsigned)&T2CON*8)+1;
|
||||
volatile bit TOUTPS0 @ ((unsigned)&T2CON*8)+3;
|
||||
volatile bit TOUTPS1 @ ((unsigned)&T2CON*8)+4;
|
||||
volatile bit TOUTPS2 @ ((unsigned)&T2CON*8)+5;
|
||||
volatile bit TOUTPS3 @ ((unsigned)&T2CON*8)+6;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned T2CKPS : 2;
|
||||
unsigned TMR2ON : 1;
|
||||
unsigned TOUTPS : 4;
|
||||
};
|
||||
struct {
|
||||
unsigned T2CKPS0 : 1;
|
||||
unsigned T2CKPS1 : 1;
|
||||
unsigned : 1;
|
||||
unsigned TOUTPS0 : 1;
|
||||
unsigned TOUTPS1 : 1;
|
||||
unsigned TOUTPS2 : 1;
|
||||
unsigned TOUTPS3 : 1;
|
||||
};
|
||||
} T2CONbits @ 0x012;
|
||||
|
||||
|
||||
|
||||
|
||||
volatile unsigned char CCPR1L @ 0x015;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char CCPR1H @ 0x016;
|
||||
|
||||
|
||||
|
||||
volatile unsigned int CCPR1 @ 0x015;
|
||||
|
||||
|
||||
volatile unsigned char CCP1CON @ 0x017;
|
||||
|
||||
volatile bit CCP1Y @ ((unsigned)&CCP1CON*8)+4;
|
||||
volatile bit CCP1X @ ((unsigned)&CCP1CON*8)+5;
|
||||
volatile bit CCP1M0 @ ((unsigned)&CCP1CON*8)+0;
|
||||
volatile bit CCP1M1 @ ((unsigned)&CCP1CON*8)+1;
|
||||
volatile bit CCP1M2 @ ((unsigned)&CCP1CON*8)+2;
|
||||
volatile bit CCP1M3 @ ((unsigned)&CCP1CON*8)+3;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned CCP1M : 4;
|
||||
unsigned CCP1Y : 1;
|
||||
unsigned CCP1X : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned CCP1M0 : 1;
|
||||
unsigned CCP1M1 : 1;
|
||||
unsigned CCP1M2 : 1;
|
||||
unsigned CCP1M3 : 1;
|
||||
};
|
||||
} CCP1CONbits @ 0x017;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char RCSTA @ 0x018;
|
||||
|
||||
volatile bit RX9D @ ((unsigned)&RCSTA*8)+0;
|
||||
volatile bit OERR @ ((unsigned)&RCSTA*8)+1;
|
||||
volatile bit FERR @ ((unsigned)&RCSTA*8)+2;
|
||||
volatile bit ADEN @ ((unsigned)&RCSTA*8)+3;
|
||||
volatile bit CREN @ ((unsigned)&RCSTA*8)+4;
|
||||
volatile bit SREN @ ((unsigned)&RCSTA*8)+5;
|
||||
volatile bit RX9 @ ((unsigned)&RCSTA*8)+6;
|
||||
volatile bit SPEN @ ((unsigned)&RCSTA*8)+7;
|
||||
volatile bit ADDEN @ ((unsigned)&RCSTA*8)+3;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned RX9D : 1;
|
||||
unsigned OERR : 1;
|
||||
unsigned FERR : 1;
|
||||
unsigned ADEN : 1;
|
||||
unsigned CREN : 1;
|
||||
unsigned SREN : 1;
|
||||
unsigned RX9 : 1;
|
||||
unsigned SPEN : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned : 3;
|
||||
unsigned ADDEN : 1;
|
||||
};
|
||||
} RCSTAbits @ 0x018;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TXREG @ 0x019;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char RCREG @ 0x01A;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char CMCON @ 0x01F;
|
||||
|
||||
volatile bit CIS @ ((unsigned)&CMCON*8)+3;
|
||||
volatile bit C1INV @ ((unsigned)&CMCON*8)+4;
|
||||
volatile bit C2INV @ ((unsigned)&CMCON*8)+5;
|
||||
volatile bit C1OUT @ ((unsigned)&CMCON*8)+6;
|
||||
volatile bit C2OUT @ ((unsigned)&CMCON*8)+7;
|
||||
volatile bit CM0 @ ((unsigned)&CMCON*8)+0;
|
||||
volatile bit CM1 @ ((unsigned)&CMCON*8)+1;
|
||||
volatile bit CM2 @ ((unsigned)&CMCON*8)+2;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned CM : 3;
|
||||
unsigned CIS : 1;
|
||||
unsigned C1INV : 1;
|
||||
unsigned C2INV : 1;
|
||||
unsigned C1OUT : 1;
|
||||
unsigned C2OUT : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned CM0 : 1;
|
||||
unsigned CM1 : 1;
|
||||
unsigned CM2 : 1;
|
||||
};
|
||||
} CMCONbits @ 0x01F;
|
||||
|
||||
# 438
|
||||
volatile unsigned char OPTION_REG @ 0x081;
|
||||
|
||||
volatile bit PSA @ ((unsigned)&OPTION_REG*8)+3;
|
||||
volatile bit T0SE @ ((unsigned)&OPTION_REG*8)+4;
|
||||
volatile bit T0CS @ ((unsigned)&OPTION_REG*8)+5;
|
||||
volatile bit INTEDG @ ((unsigned)&OPTION_REG*8)+6;
|
||||
volatile bit nRBPU @ ((unsigned)&OPTION_REG*8)+7;
|
||||
volatile bit PS0 @ ((unsigned)&OPTION_REG*8)+0;
|
||||
volatile bit PS1 @ ((unsigned)&OPTION_REG*8)+1;
|
||||
volatile bit PS2 @ ((unsigned)&OPTION_REG*8)+2;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned PS : 3;
|
||||
unsigned PSA : 1;
|
||||
unsigned T0SE : 1;
|
||||
unsigned T0CS : 1;
|
||||
unsigned INTEDG : 1;
|
||||
unsigned nRBPU : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned PS0 : 1;
|
||||
unsigned PS1 : 1;
|
||||
unsigned PS2 : 1;
|
||||
};
|
||||
} OPTION_REGbits @ 0x081;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TRISA @ 0x085;
|
||||
|
||||
volatile bit TRISA0 @ ((unsigned)&TRISA*8)+0;
|
||||
volatile bit TRISA1 @ ((unsigned)&TRISA*8)+1;
|
||||
volatile bit TRISA2 @ ((unsigned)&TRISA*8)+2;
|
||||
volatile bit TRISA3 @ ((unsigned)&TRISA*8)+3;
|
||||
volatile bit TRISA4 @ ((unsigned)&TRISA*8)+4;
|
||||
volatile bit TRISA5 @ ((unsigned)&TRISA*8)+5;
|
||||
volatile bit TRISA6 @ ((unsigned)&TRISA*8)+6;
|
||||
volatile bit TRISA7 @ ((unsigned)&TRISA*8)+7;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned TRISA0 : 1;
|
||||
unsigned TRISA1 : 1;
|
||||
unsigned TRISA2 : 1;
|
||||
unsigned TRISA3 : 1;
|
||||
unsigned TRISA4 : 1;
|
||||
unsigned TRISA5 : 1;
|
||||
unsigned TRISA6 : 1;
|
||||
unsigned TRISA7 : 1;
|
||||
};
|
||||
} TRISAbits @ 0x085;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TRISB @ 0x086;
|
||||
|
||||
volatile bit TRISB0 @ ((unsigned)&TRISB*8)+0;
|
||||
volatile bit TRISB1 @ ((unsigned)&TRISB*8)+1;
|
||||
volatile bit TRISB2 @ ((unsigned)&TRISB*8)+2;
|
||||
volatile bit TRISB3 @ ((unsigned)&TRISB*8)+3;
|
||||
volatile bit TRISB4 @ ((unsigned)&TRISB*8)+4;
|
||||
volatile bit TRISB5 @ ((unsigned)&TRISB*8)+5;
|
||||
volatile bit TRISB6 @ ((unsigned)&TRISB*8)+6;
|
||||
volatile bit TRISB7 @ ((unsigned)&TRISB*8)+7;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned TRISB0 : 1;
|
||||
unsigned TRISB1 : 1;
|
||||
unsigned TRISB2 : 1;
|
||||
unsigned TRISB3 : 1;
|
||||
unsigned TRISB4 : 1;
|
||||
unsigned TRISB5 : 1;
|
||||
unsigned TRISB6 : 1;
|
||||
unsigned TRISB7 : 1;
|
||||
};
|
||||
} TRISBbits @ 0x086;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PIE1 @ 0x08C;
|
||||
|
||||
volatile bit TMR1IE @ ((unsigned)&PIE1*8)+0;
|
||||
volatile bit TMR2IE @ ((unsigned)&PIE1*8)+1;
|
||||
volatile bit CCP1IE @ ((unsigned)&PIE1*8)+2;
|
||||
volatile bit TXIE @ ((unsigned)&PIE1*8)+4;
|
||||
volatile bit RCIE @ ((unsigned)&PIE1*8)+5;
|
||||
volatile bit CMIE @ ((unsigned)&PIE1*8)+6;
|
||||
volatile bit EEIE @ ((unsigned)&PIE1*8)+7;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned TMR1IE : 1;
|
||||
unsigned TMR2IE : 1;
|
||||
unsigned CCP1IE : 1;
|
||||
unsigned : 1;
|
||||
unsigned TXIE : 1;
|
||||
unsigned RCIE : 1;
|
||||
unsigned CMIE : 1;
|
||||
unsigned EEIE : 1;
|
||||
};
|
||||
} PIE1bits @ 0x08C;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PCON @ 0x08E;
|
||||
|
||||
volatile bit nBOR @ ((unsigned)&PCON*8)+0;
|
||||
volatile bit nPOR @ ((unsigned)&PCON*8)+1;
|
||||
volatile bit OSCF @ ((unsigned)&PCON*8)+3;
|
||||
volatile bit nBO @ ((unsigned)&PCON*8)+0;
|
||||
volatile bit nBOD @ ((unsigned)&PCON*8)+0;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned nBOR : 1;
|
||||
unsigned nPOR : 1;
|
||||
unsigned : 1;
|
||||
unsigned OSCF : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned nBO : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned nBOD : 1;
|
||||
};
|
||||
} PCONbits @ 0x08E;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char PR2 @ 0x092;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char TXSTA @ 0x098;
|
||||
|
||||
volatile bit TX9D @ ((unsigned)&TXSTA*8)+0;
|
||||
volatile bit TRMT @ ((unsigned)&TXSTA*8)+1;
|
||||
volatile bit BRGH @ ((unsigned)&TXSTA*8)+2;
|
||||
volatile bit SYNC @ ((unsigned)&TXSTA*8)+4;
|
||||
volatile bit TXEN @ ((unsigned)&TXSTA*8)+5;
|
||||
volatile bit TX9 @ ((unsigned)&TXSTA*8)+6;
|
||||
volatile bit CSRC @ ((unsigned)&TXSTA*8)+7;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned TX9D : 1;
|
||||
unsigned TRMT : 1;
|
||||
unsigned BRGH : 1;
|
||||
unsigned : 1;
|
||||
unsigned SYNC : 1;
|
||||
unsigned TXEN : 1;
|
||||
unsigned TX9 : 1;
|
||||
unsigned CSRC : 1;
|
||||
};
|
||||
} TXSTAbits @ 0x098;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char SPBRG @ 0x099;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char EEDATA @ 0x09A;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char EEADR @ 0x09B;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char EECON1 @ 0x09C;
|
||||
|
||||
volatile bit RD @ ((unsigned)&EECON1*8)+0;
|
||||
volatile bit WR @ ((unsigned)&EECON1*8)+1;
|
||||
volatile bit WREN @ ((unsigned)&EECON1*8)+2;
|
||||
volatile bit WRERR @ ((unsigned)&EECON1*8)+3;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned RD : 1;
|
||||
unsigned WR : 1;
|
||||
unsigned WREN : 1;
|
||||
unsigned WRERR : 1;
|
||||
};
|
||||
} EECON1bits @ 0x09C;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char EECON2 @ 0x09D;
|
||||
|
||||
|
||||
|
||||
volatile unsigned char VRCON @ 0x09F;
|
||||
|
||||
volatile bit VRR @ ((unsigned)&VRCON*8)+5;
|
||||
volatile bit VROE @ ((unsigned)&VRCON*8)+6;
|
||||
volatile bit VREN @ ((unsigned)&VRCON*8)+7;
|
||||
volatile bit VR0 @ ((unsigned)&VRCON*8)+0;
|
||||
volatile bit VR1 @ ((unsigned)&VRCON*8)+1;
|
||||
volatile bit VR2 @ ((unsigned)&VRCON*8)+2;
|
||||
volatile bit VR3 @ ((unsigned)&VRCON*8)+3;
|
||||
|
||||
volatile union {
|
||||
struct {
|
||||
unsigned VR : 4;
|
||||
unsigned : 1;
|
||||
unsigned VRR : 1;
|
||||
unsigned VROE : 1;
|
||||
unsigned VREN : 1;
|
||||
};
|
||||
struct {
|
||||
unsigned VR0 : 1;
|
||||
unsigned VR1 : 1;
|
||||
unsigned VR2 : 1;
|
||||
unsigned VR3 : 1;
|
||||
};
|
||||
} VRCONbits @ 0x09F;
|
||||
|
||||
|
||||
# 27 "C:\Program Files\HI-TECH Software\PICC\9.82\include\pic.h"
|
||||
#pragma inline(_nop)
|
||||
extern void _nop(void);
|
||||
|
||||
# 80
|
||||
extern unsigned int flash_read(unsigned short addr);
|
||||
|
||||
# 144
|
||||
extern void flash_erase(unsigned short addr);
|
||||
|
||||
# 41 "C:\Program Files\HI-TECH Software\PICC\9.82\include\eeprom_routines.h"
|
||||
extern unsigned char eeprom_write(unsigned char addr, unsigned char value);
|
||||
extern unsigned char eeprom_read(unsigned char addr);
|
||||
extern void eecpymem(volatile unsigned char *to, eeprom unsigned char *from, unsigned char size);
|
||||
extern void memcpyee(eeprom unsigned char *to, const unsigned char *from, unsigned char size);
|
||||
|
||||
|
||||
# 153 "C:\Program Files\HI-TECH Software\PICC\9.82\include\pic.h"
|
||||
#pragma inline(_delay)
|
||||
extern void _delay(unsigned long);
|
||||
|
||||
# 43 "C:\Users\132033dt\Desktop\RC5_Remote_Control\src\main.c"
|
||||
asm("\tpsect config,class=CONFIG,delta=2"); asm("\tdw ""0xFF7F & 0xFFBF & 0xFFFF & 0xFFDF & 0xFFF7 & 0xFFFB & 0xFFED");
|
||||
|
||||
|
||||
unsigned char PhaseDemod();
|
||||
|
||||
|
||||
|
||||
unsigned char toggle = 0;
|
||||
unsigned char counterus = 0;
|
||||
unsigned char counterms = 0;
|
||||
unsigned int cycl_1;
|
||||
unsigned int cycl_2, CountA, CountB, CountC;
|
||||
unsigned int somethingpressed = 0;
|
||||
|
||||
void samplebit();
|
||||
|
||||
void AN()
|
||||
{
|
||||
unsigned char i = 0;
|
||||
do
|
||||
{
|
||||
RA0 = 1;
|
||||
RA0 = 1;
|
||||
RA0 = 1;
|
||||
RA0 = 1;
|
||||
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
i++;
|
||||
}
|
||||
while(i<32);
|
||||
|
||||
RA0 = 0;
|
||||
|
||||
# 130
|
||||
}
|
||||
|
||||
void AUS()
|
||||
{
|
||||
unsigned char i = 0;
|
||||
do
|
||||
{
|
||||
RA0=0;
|
||||
}
|
||||
while(i++<59);
|
||||
|
||||
# 154
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void interrupt ISR (void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void delay_89ms()
|
||||
{
|
||||
|
||||
# 166
|
||||
#asm
|
||||
pause89ms
|
||||
clrf _CountA
|
||||
clrf _CountB
|
||||
clrf _CountC
|
||||
movlw 0x74
|
||||
movwf _CountB
|
||||
movlw 0x02
|
||||
movwf _CountA
|
||||
movlw 0x01
|
||||
movwf _CountC
|
||||
|
||||
Loop ;Wiederholung der Zeitverzögerung
|
||||
decfsz _CountA
|
||||
goto Loop
|
||||
decfsz _CountB
|
||||
goto Loop
|
||||
decfsz _CountC
|
||||
goto Loop
|
||||
#endasm
|
||||
return;
|
||||
}
|
||||
|
||||
void SendEins()
|
||||
{
|
||||
AUS();
|
||||
AN();
|
||||
}
|
||||
void SendNull()
|
||||
{
|
||||
AN();
|
||||
AUS();
|
||||
}
|
||||
|
||||
|
||||
void evaluate_tastatur(char *comcode)
|
||||
{
|
||||
unsigned char i;
|
||||
unsigned char a;
|
||||
unsigned char e;
|
||||
e = 0;
|
||||
|
||||
for(i=3; i != 255; i--)
|
||||
{
|
||||
PORTB = 0xFF;
|
||||
PORTB &= ~(1<<i);
|
||||
for(a=4; a <= 7; a++)
|
||||
{
|
||||
e++;
|
||||
if( ((PORTB>>a) & 1) == 0)
|
||||
{
|
||||
*comcode = e;
|
||||
somethingpressed = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void SendRc5(char* command, char *group)
|
||||
{
|
||||
unsigned char i;
|
||||
SendEins();
|
||||
SendEins();
|
||||
|
||||
toggle = toggle ^ 1 & 1;
|
||||
if(toggle == 1)
|
||||
SendEins();
|
||||
else
|
||||
SendNull();
|
||||
|
||||
for(i = 4; i != 255; i--)
|
||||
{
|
||||
if(((*group>>i))&1)
|
||||
SendEins();
|
||||
else
|
||||
SendNull();
|
||||
}
|
||||
for(i = 5; i != 255; i--)
|
||||
{
|
||||
if(((*command)>>i)&1)
|
||||
SendEins();
|
||||
else
|
||||
SendNull();
|
||||
}
|
||||
delay_89ms();
|
||||
|
||||
}
|
||||
|
||||
|
||||
void main(void)
|
||||
{
|
||||
unsigned char comcode = 0;
|
||||
char subcode = 0;
|
||||
|
||||
OPTION_REG = 0b00000010;
|
||||
CMCON = 0x07;
|
||||
TRISA = 0x00;
|
||||
TRISB = 0xF0;
|
||||
|
||||
GIE = 1;
|
||||
CM0 = 1;
|
||||
CM1 = 1;
|
||||
CM2 = 1;
|
||||
PORTA = 0;
|
||||
PORTB = 0xFF;
|
||||
subcode = 29;
|
||||
|
||||
|
||||
INTCON = 0;
|
||||
RBIE = 1;
|
||||
char help = 0;
|
||||
|
||||
while(1)
|
||||
{
|
||||
while(!RBIF)
|
||||
asm("sleep");
|
||||
PORTB = 0xFF;
|
||||
evaluate_tastatur(&comcode);
|
||||
if(somethingpressed == 1)
|
||||
{
|
||||
SendRc5(&comcode, &subcode);
|
||||
somethingpressed = 0;
|
||||
help = 1;
|
||||
}
|
||||
|
||||
# 303
|
||||
}
|
||||
}
|
||||
|
84
out/startup.as
Normal file
84
out/startup.as
Normal file
@ -0,0 +1,84 @@
|
||||
|
||||
; HI-TECH C Compiler for PIC10/12/16 MCUs V9.82
|
||||
; Copyright (C) 1984-2011 HI-TECH Software
|
||||
|
||||
; Auto-generated runtime startup code for final link stage.
|
||||
|
||||
;
|
||||
; Compiler options:
|
||||
;
|
||||
; -oRC5_Remote_Control.cof -mRC5_Remote_Control.map --summary=default \
|
||||
; --output=default main.p1 --chip=16F628A -P --runtime=default \
|
||||
; --opt=default -D__DEBUG=1 --rom=default --ram=default -g --asmlist \
|
||||
; --errformat=Error [%n] %f; %l.%c %s --msgformat=Advisory[%n] %s \
|
||||
; --warnformat=Warning [%n] %f; %l.%c %s
|
||||
;
|
||||
|
||||
|
||||
processor 16F628A
|
||||
|
||||
global _main,start,_exit,reset_vec
|
||||
fnroot _main
|
||||
psect config,class=CONFIG,delta=2
|
||||
psect idloc,class=IDLOC,delta=2
|
||||
psect code,class=CODE,delta=2
|
||||
psect powerup,class=CODE,delta=2
|
||||
psect reset_vec,class=CODE,delta=2
|
||||
psect maintext,class=CODE,delta=2
|
||||
C set 0
|
||||
Z set 2
|
||||
PCL set 2
|
||||
INDF set 0
|
||||
|
||||
STATUS equ 3
|
||||
PCLATH equ 0Ah
|
||||
|
||||
psect eeprom_data,class=EEDATA,delta=2,space=2
|
||||
psect intentry,class=CODE,delta=2
|
||||
psect functab,class=CODE,delta=2
|
||||
global intlevel0,intlevel1,intlevel2, intlevel3, intlevel4, intlevel5
|
||||
intlevel0:
|
||||
intlevel1:
|
||||
intlevel2:
|
||||
intlevel3:
|
||||
intlevel4:
|
||||
intlevel5:
|
||||
psect init,class=CODE,delta=2
|
||||
psect cinit,class=CODE,delta=2
|
||||
psect text,class=CODE,delta=2
|
||||
psect end_init,class=CODE,delta=2
|
||||
psect clrtext,class=CODE,delta=2
|
||||
FSR set 4
|
||||
psect strings,class=CODE,delta=2,reloc=256
|
||||
|
||||
psect reset_vec
|
||||
reset_vec:
|
||||
; No powerup routine
|
||||
global start
|
||||
|
||||
; jump to start
|
||||
goto start & 0x7FF | (reset_vec & not 0x7FF)
|
||||
|
||||
|
||||
|
||||
psect init
|
||||
start
|
||||
_exit
|
||||
psect end_init
|
||||
global start_initialization
|
||||
ljmp start_initialization ;jump to C runtime clear & initialization
|
||||
|
||||
psect bank0,class=BANK0,space=1
|
||||
psect bank1,class=BANK1,space=1
|
||||
psect bank2,class=BANK2,space=1
|
||||
psect bank3,class=BANK3,space=1
|
||||
psect ram,class=RAM,space=1
|
||||
psect abs1,class=ABS1,space=1
|
||||
psect common,class=COMMON,space=1
|
||||
psect sfr0,class=SFR0,space=1
|
||||
psect sfr1,class=SFR1,space=1
|
||||
psect sfr2,class=SFR2,space=1
|
||||
psect sfr3,class=SFR3,space=1
|
||||
|
||||
|
||||
end start
|
83
out/startup.lst
Normal file
83
out/startup.lst
Normal file
@ -0,0 +1,83 @@
|
||||
|
||||
|
||||
HI-TECH Software PIC Macro Assembler V9.82 build 9453
|
||||
Fri Apr 15 09:39:32 2016
|
||||
|
||||
|
||||
1
|
||||
2 ; HI-TECH C Compiler for PIC10/12/16 MCUs V9.82
|
||||
3 ; Copyright (C) 1984-2011 HI-TECH Software
|
||||
4
|
||||
5 ; Auto-generated runtime startup code for final link stage.
|
||||
6
|
||||
7 ;
|
||||
8 ; Compiler options:
|
||||
9 ;
|
||||
10 ; -oRC5_Remote_Control.cof -mRC5_Remote_Control.map --summary=default \
|
||||
11 ; --output=default main.p1 --chip=16F628A -P --runtime=default \
|
||||
12 ; --opt=default -D__DEBUG=1 --rom=default --ram=default -g --asmlist \
|
||||
13 ; --errformat=Error [%n] %f; %l.%c %s --msgformat=Advisory[%n] %s \
|
||||
14 ; --warnformat=Warning [%n] %f; %l.%c %s
|
||||
15 ;
|
||||
16
|
||||
17
|
||||
18 processor 16F628A
|
||||
19
|
||||
20 global _main,start,_exit,reset_vec
|
||||
21 fnroot _main
|
||||
22 psect config,class=CONFIG,delta=2
|
||||
23 psect idloc,class=IDLOC,delta=2
|
||||
24 psect code,class=CODE,delta=2
|
||||
25 psect powerup,class=CODE,delta=2
|
||||
26 psect reset_vec,class=CODE,delta=2
|
||||
27 psect maintext,class=CODE,delta=2
|
||||
28 0000 C set 0
|
||||
29 0002 Z set 2
|
||||
30 0002 PCL set 2
|
||||
31 0000 INDF set 0
|
||||
32
|
||||
33 0003 STATUS equ 3
|
||||
34 000A PCLATH equ 0Ah
|
||||
35
|
||||
36 psect eeprom_data,class=EEDATA,delta=2,space=2
|
||||
37 psect intentry,class=CODE,delta=2
|
||||
38 psect functab,class=CODE,delta=2
|
||||
39 global intlevel0,intlevel1,intlevel2, intlevel3, intlevel4, intlevel5
|
||||
40 0000 intlevel0:
|
||||
41 0000 intlevel1:
|
||||
42 0000 intlevel2:
|
||||
43 0000 intlevel3:
|
||||
44 0000 intlevel4:
|
||||
45 0000 intlevel5:
|
||||
46 psect init,class=CODE,delta=2
|
||||
47 psect cinit,class=CODE,delta=2
|
||||
48 psect text,class=CODE,delta=2
|
||||
49 psect end_init,class=CODE,delta=2
|
||||
50 psect clrtext,class=CODE,delta=2
|
||||
51 0004 FSR set 4
|
||||
52 psect strings,class=CODE,delta=2,reloc=256
|
||||
53
|
||||
54 psect reset_vec
|
||||
55 0000 reset_vec:
|
||||
56 ; No powerup routine
|
||||
57 global start
|
||||
58
|
||||
59 ; jump to start
|
||||
60 0000 2810 goto start & 0x7FF | (reset_vec & not 0x7FF)
|
||||
61
|
||||
62
|
||||
63
|
||||
64 psect init
|
||||
65 0010 start
|
||||
66 0010 _exit
|
||||
67 psect end_init
|
||||
68 global start_initialization
|
||||
69 0010 2972 ljmp start_initialization ;jump to C runtime clear & initialization
|
||||
|
||||
|
||||
HI-TECH Software PICC Macro Assembler V9.82 build 9453
|
||||
Symbol Table Fri Apr 15 09:39:32 2016
|
||||
|
||||
_main 00E0 _exit 0010 start 0010 start_initialization 0172
|
||||
intlevel0 0000 intlevel1 0000 intlevel2 0000 intlevel3 0000
|
||||
intlevel4 0000 intlevel5 0000 reset_vec 0000
|
BIN
out/startup.obj
Normal file
BIN
out/startup.obj
Normal file
Binary file not shown.
BIN
out/startup.rlf
Normal file
BIN
out/startup.rlf
Normal file
Binary file not shown.
308
src/main.c
308
src/main.c
@ -1 +1,307 @@
|
||||
//Noting to see here
|
||||
|
||||
|
||||
// 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 <xc.h>
|
||||
// #include <pic16F62xa.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 );
|
||||
|
||||
|
||||
unsigned char PhaseDemod();
|
||||
|
||||
|
||||
//Globale Variablen
|
||||
unsigned char toggle = 0; //Das Togglebit
|
||||
unsigned char counterus = 0;
|
||||
unsigned char counterms = 0;
|
||||
unsigned int cycl_1;
|
||||
unsigned int cycl_2, CountA, CountB, CountC;
|
||||
unsigned int somethingpressed = 0;
|
||||
|
||||
void samplebit();
|
||||
|
||||
void AN()
|
||||
{
|
||||
unsigned char i = 0;
|
||||
do
|
||||
{
|
||||
RA0 = 1;
|
||||
RA0 = 1;
|
||||
RA0 = 1;
|
||||
RA0 = 1;
|
||||
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
RA0 = 0;
|
||||
i++;
|
||||
}
|
||||
while(i<32);
|
||||
|
||||
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()
|
||||
{
|
||||
unsigned char i = 0;
|
||||
do
|
||||
{
|
||||
RA0=0;
|
||||
}
|
||||
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*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void interrupt ISR (void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void delay_89ms()
|
||||
{
|
||||
#asm
|
||||
pause89ms
|
||||
clrf _CountA
|
||||
clrf _CountB
|
||||
clrf _CountC
|
||||
movlw 0x74
|
||||
movwf _CountB
|
||||
movlw 0x02
|
||||
movwf _CountA
|
||||
movlw 0x01
|
||||
movwf _CountC
|
||||
|
||||
Loop ;Wiederholung der Zeitverzögerung
|
||||
decfsz _CountA
|
||||
goto Loop
|
||||
decfsz _CountB
|
||||
goto Loop
|
||||
decfsz _CountC
|
||||
goto Loop
|
||||
#endasm
|
||||
return;
|
||||
}
|
||||
|
||||
void SendEins()
|
||||
{
|
||||
AUS();
|
||||
AN();
|
||||
}
|
||||
void SendNull()
|
||||
{
|
||||
AN();
|
||||
AUS();
|
||||
}
|
||||
|
||||
|
||||
void evaluate_tastatur(char *comcode)
|
||||
{
|
||||
unsigned char i;
|
||||
unsigned char a;
|
||||
unsigned char e;
|
||||
e = 0;
|
||||
|
||||
for(i=3; i != 255; i--)
|
||||
{
|
||||
PORTB = 0xFF;
|
||||
PORTB &= ~(1<<i);
|
||||
for(a=4; a <= 7; a++)
|
||||
{
|
||||
e++;
|
||||
if( ((PORTB>>a) & 1) == 0)
|
||||
{
|
||||
*comcode = e;
|
||||
somethingpressed = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void SendRc5(char* command, char *group)
|
||||
{
|
||||
unsigned char i;
|
||||
SendEins();
|
||||
SendEins();
|
||||
|
||||
toggle = toggle ^ 1 & 1;
|
||||
if(toggle == 1)
|
||||
SendEins();
|
||||
else
|
||||
SendNull();
|
||||
|
||||
for(i = 4; i != 255; i--)
|
||||
{
|
||||
if(((*group>>i))&1)
|
||||
SendEins();
|
||||
else
|
||||
SendNull();
|
||||
}
|
||||
for(i = 5; i != 255; i--)
|
||||
{
|
||||
if(((*command)>>i)&1)
|
||||
SendEins();
|
||||
else
|
||||
SendNull();
|
||||
}
|
||||
delay_89ms();
|
||||
|
||||
}
|
||||
|
||||
|
||||
void main(void)
|
||||
{ //Takt des PIC 4MHz, ein Zyklus = 1us
|
||||
unsigned char comcode = 0;
|
||||
char subcode = 0;
|
||||
|
||||
OPTION_REG = 0b00000010; //Pullups on
|
||||
CMCON = 0x07; //Komperatoren Abschalten
|
||||
TRISA = 0x00; //PORTA ist Ausgang
|
||||
TRISB = 0xF0; //PORTB 0...3 sind Ausgänge
|
||||
//PR2 = 0xFF; //Periodendauer für die PWM modulation
|
||||
GIE = 1; //Interrupts nicht möglich
|
||||
CM0 = 1;
|
||||
CM1 = 1;
|
||||
CM2 = 1;
|
||||
PORTA = 0; //Aus und Eingänge auf null
|
||||
PORTB = 0xFF;
|
||||
subcode = 29; //21;
|
||||
|
||||
|
||||
INTCON = 0;
|
||||
RBIE = 1;
|
||||
char help = 0;
|
||||
|
||||
while(1)
|
||||
{
|
||||
while(!RBIF)
|
||||
SLEEP();
|
||||
PORTB = 0xFF;
|
||||
evaluate_tastatur(&comcode);
|
||||
if(somethingpressed == 1)
|
||||
{
|
||||
SendRc5(&comcode, &subcode);
|
||||
somethingpressed = 0;
|
||||
help = 1;
|
||||
}
|
||||
/*else if(help == 1)
|
||||
{
|
||||
help = 0;
|
||||
comcode = 0; //endcommand
|
||||
SendRc5(&comcode, &subcode);
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user