diff --git a/c_projects/pic_blink/example_v2.X/Makefile b/c_projects/pic_blink/example_v2.X/Makefile new file mode 100644 index 0000000..fca8e2c --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/Makefile @@ -0,0 +1,113 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin +RANLIB=ranlib + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... +# WARNING: the IDE does not call this target since it takes a long time to +# simply run make. Instead, the IDE removes the configuration directories +# under build and dist directly without calling make. +# This target is left here so people can do a clean when running a clean +# outside the IDE. + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/c_projects/pic_blink/example_v2.X/build/default/production/main.i b/c_projects/pic_blink/example_v2.X/build/default/production/main.i new file mode 100644 index 0000000..be15881 --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/build/default/production/main.i @@ -0,0 +1,1361 @@ +# 1 "main.c" +# 1 "" 1 +# 1 "" 3 +# 288 "" 3 +# 1 "" 1 +# 1 "" 2 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\language_support.h" 1 3 +# 2 "" 2 +# 1 "main.c" 2 +# 10 "main.c" +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 1 3 +# 18 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 3 +extern const char __xc8_OPTIM_SPEED; + +extern double __fpnormalize(double); + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\xc8debug.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\musl_xc8.h" 1 3 +# 5 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 2 3 + + + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\features.h" 1 3 +# 11 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 2 3 +# 21 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 1 3 +# 24 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef long int wchar_t; +# 128 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef unsigned size_t; +# 174 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef __int24 int24_t; +# 210 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef __uint24 uint24_t; +# 22 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 2 3 + +int atoi (const char *); +long atol (const char *); + + + +double atof (const char *); + + +float strtof (const char *restrict, char **restrict); +double strtod (const char *restrict, char **restrict); +long double strtold (const char *restrict, char **restrict); + + + +long strtol (const char *restrict, char **restrict, int); +unsigned long strtoul (const char *restrict, char **restrict, int); + + + + + +unsigned long __strtoxl(const char * s, char ** endptr, int base, char is_signed); +# 55 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 3 +int rand (void); +void srand (unsigned); + +void *malloc (size_t); +void *calloc (size_t, size_t); +void *realloc (void *, size_t); +void free (void *); + + void abort (void); +int atexit (void (*) (void)); + void exit (int); + void _Exit (int); + +void *bsearch (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); + + + + + + + +__attribute__((nonreentrant)) void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); + +int abs (int); +long labs (long); + + + + +typedef struct { int quot, rem; } div_t; +typedef struct { long quot, rem; } ldiv_t; + + + + +div_t div (int, int); +ldiv_t ldiv (long, long); + + + + +typedef struct { unsigned int quot, rem; } udiv_t; +typedef struct { unsigned long quot, rem; } uldiv_t; +udiv_t udiv (unsigned int, unsigned int); +uldiv_t uldiv (unsigned long, unsigned long); +# 5 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\xc8debug.h" 2 3 + + + + + + + +#pragma intrinsic(__builtin_software_breakpoint) +extern void __builtin_software_breakpoint(void); +# 23 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 2 3 + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\builtins.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 1 3 +# 26 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 1 3 +# 133 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef unsigned short uintptr_t; +# 148 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef short intptr_t; +# 164 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef signed char int8_t; + + + + +typedef short int16_t; +# 179 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef long int32_t; +# 192 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef int32_t intmax_t; + + + + + + + +typedef unsigned char uint8_t; + + + + +typedef unsigned short uint16_t; +# 215 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef unsigned long uint32_t; +# 233 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef uint32_t uintmax_t; +# 27 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 2 3 + +typedef int8_t int_fast8_t; + + + + +typedef int8_t int_least8_t; +typedef int16_t int_least16_t; + +typedef int24_t int_least24_t; +typedef int24_t int_fast24_t; + +typedef int32_t int_least32_t; + + + + +typedef uint8_t uint_fast8_t; + + + + +typedef uint8_t uint_least8_t; +typedef uint16_t uint_least16_t; + +typedef uint24_t uint_least24_t; +typedef uint24_t uint_fast24_t; + +typedef uint32_t uint_least32_t; +# 148 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/stdint.h" 1 3 +typedef int16_t int_fast16_t; +typedef int32_t int_fast32_t; +typedef uint16_t uint_fast16_t; +typedef uint32_t uint_fast32_t; +# 149 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 2 3 +# 4 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\builtins.h" 2 3 + + + +#pragma intrinsic(__nop) +extern void __nop(void); +# 19 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\builtins.h" 3 +#pragma intrinsic(_delay) +extern __attribute__((nonreentrant)) void _delay(uint32_t); +#pragma intrinsic(_delaywdt) +extern __attribute__((nonreentrant)) void _delaywdt(uint32_t); +# 24 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 2 3 + + + + +# 1 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 1 3 + + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\htc.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 1 3 +# 4 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\htc.h" 2 3 +# 6 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 2 3 + + + +extern unsigned char __osccal_val(void); + + + + +# 1 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic_chip_select.h" 1 3 +# 223 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic_chip_select.h" 3 +# 1 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 1 3 +# 44 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\__at.h" 1 3 +# 45 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 2 3 + + + + + + + +extern volatile unsigned char INDF __attribute__((address(0x000))); + +__asm("INDF equ 00h"); + + +typedef union { + struct { + unsigned INDF :8; + }; +} INDFbits_t; +extern volatile INDFbits_t INDFbits __attribute__((address(0x000))); +# 72 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char TMR0 __attribute__((address(0x001))); + +__asm("TMR0 equ 01h"); + + +typedef union { + struct { + unsigned TMR0 :8; + }; +} TMR0bits_t; +extern volatile TMR0bits_t TMR0bits __attribute__((address(0x001))); +# 92 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PCL __attribute__((address(0x002))); + +__asm("PCL equ 02h"); + + +typedef union { + struct { + unsigned PCL :8; + }; +} PCLbits_t; +extern volatile PCLbits_t PCLbits __attribute__((address(0x002))); +# 112 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char STATUS __attribute__((address(0x003))); + +__asm("STATUS equ 03h"); + + +typedef 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; + }; + struct { + unsigned CARRY :1; + unsigned :1; + unsigned ZERO :1; + }; +} STATUSbits_t; +extern volatile STATUSbits_t STATUSbits __attribute__((address(0x003))); +# 198 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char FSR __attribute__((address(0x004))); + +__asm("FSR equ 04h"); + + +typedef union { + struct { + unsigned FSR :8; + }; +} FSRbits_t; +extern volatile FSRbits_t FSRbits __attribute__((address(0x004))); +# 218 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char GPIO __attribute__((address(0x005))); + +__asm("GPIO equ 05h"); + + +typedef union { + struct { + unsigned GP0 :1; + unsigned GP1 :1; + unsigned GP2 :1; + unsigned GP3 :1; + unsigned GP4 :1; + unsigned GP5 :1; + }; + struct { + unsigned GPIO0 :1; + unsigned GPIO1 :1; + unsigned GPIO2 :1; + unsigned GPIO3 :1; + unsigned GPIO4 :1; + unsigned GPIO5 :1; + }; +} GPIObits_t; +extern volatile GPIObits_t GPIObits __attribute__((address(0x005))); +# 306 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PCLATH __attribute__((address(0x00A))); + +__asm("PCLATH equ 0Ah"); + + +typedef union { + struct { + unsigned PCLATH :5; + }; +} PCLATHbits_t; +extern volatile PCLATHbits_t PCLATHbits __attribute__((address(0x00A))); +# 326 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char INTCON __attribute__((address(0x00B))); + +__asm("INTCON equ 0Bh"); + + +typedef union { + struct { + unsigned GPIF :1; + unsigned INTF :1; + unsigned T0IF :1; + unsigned GPIE :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_t; +extern volatile INTCONbits_t INTCONbits __attribute__((address(0x00B))); +# 404 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PIR1 __attribute__((address(0x00C))); + +__asm("PIR1 equ 0Ch"); + + +typedef union { + struct { + unsigned TMR1IF :1; + unsigned :2; + unsigned CMIF :1; + unsigned :2; + unsigned ADIF :1; + unsigned EEIF :1; + }; + struct { + unsigned T1IF :1; + }; +} PIR1bits_t; +extern volatile PIR1bits_t PIR1bits __attribute__((address(0x00C))); +# 452 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned short TMR1 __attribute__((address(0x00E))); + +__asm("TMR1 equ 0Eh"); + + + + +extern volatile unsigned char TMR1L __attribute__((address(0x00E))); + +__asm("TMR1L equ 0Eh"); + + +typedef union { + struct { + unsigned TMR1L :8; + }; +} TMR1Lbits_t; +extern volatile TMR1Lbits_t TMR1Lbits __attribute__((address(0x00E))); +# 479 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char TMR1H __attribute__((address(0x00F))); + +__asm("TMR1H equ 0Fh"); + + +typedef union { + struct { + unsigned TMR1H :8; + }; +} TMR1Hbits_t; +extern volatile TMR1Hbits_t TMR1Hbits __attribute__((address(0x00F))); +# 499 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char T1CON __attribute__((address(0x010))); + +__asm("T1CON equ 010h"); + + +typedef union { + struct { + unsigned TMR1ON :1; + unsigned TMR1CS :1; + unsigned nT1SYNC :1; + unsigned T1OSCEN :1; + unsigned T1CKPS :2; + unsigned TMR1GE :1; + }; + struct { + unsigned :4; + unsigned T1CKPS0 :1; + unsigned T1CKPS1 :1; + }; +} T1CONbits_t; +extern volatile T1CONbits_t T1CONbits __attribute__((address(0x010))); +# 564 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char CMCON __attribute__((address(0x019))); + +__asm("CMCON equ 019h"); + + +typedef union { + struct { + unsigned CM :3; + unsigned CIS :1; + unsigned CINV :1; + unsigned :1; + unsigned COUT :1; + }; + struct { + unsigned CM0 :1; + unsigned CM1 :1; + unsigned CM2 :1; + }; +} CMCONbits_t; +extern volatile CMCONbits_t CMCONbits __attribute__((address(0x019))); +# 623 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ADRESH __attribute__((address(0x01E))); + +__asm("ADRESH equ 01Eh"); + + +typedef union { + struct { + unsigned ADRESH :8; + }; +} ADRESHbits_t; +extern volatile ADRESHbits_t ADRESHbits __attribute__((address(0x01E))); +# 643 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ADCON0 __attribute__((address(0x01F))); + +__asm("ADCON0 equ 01Fh"); + + +typedef union { + struct { + unsigned ADON :1; + unsigned GO_nDONE :1; + unsigned CHS :2; + unsigned :2; + unsigned VCFG :1; + unsigned ADFM :1; + }; + struct { + unsigned :1; + unsigned GO_DONE :1; + unsigned CHS0 :1; + unsigned CHS1 :1; + }; + struct { + unsigned :1; + unsigned nDONE :1; + }; + struct { + unsigned :1; + unsigned GO :1; + }; +} ADCON0bits_t; +extern volatile ADCON0bits_t ADCON0bits __attribute__((address(0x01F))); +# 727 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char OPTION_REG __attribute__((address(0x081))); + +__asm("OPTION_REG equ 081h"); + + +typedef union { + struct { + unsigned PS :3; + unsigned PSA :1; + unsigned T0SE :1; + unsigned T0CS :1; + unsigned INTEDG :1; + unsigned nGPPU :1; + }; + struct { + unsigned PS0 :1; + unsigned PS1 :1; + unsigned PS2 :1; + }; +} OPTION_REGbits_t; +extern volatile OPTION_REGbits_t OPTION_REGbits __attribute__((address(0x081))); +# 797 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char TRISIO __attribute__((address(0x085))); + +__asm("TRISIO equ 085h"); + + +typedef union { + struct { + unsigned TRISIO0 :1; + unsigned TRISIO1 :1; + unsigned TRISIO2 :1; + unsigned TRISIO3 :1; + unsigned TRISIO4 :1; + unsigned TRISIO5 :1; + }; +} TRISIObits_t; +extern volatile TRISIObits_t TRISIObits __attribute__((address(0x085))); +# 847 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PIE1 __attribute__((address(0x08C))); + +__asm("PIE1 equ 08Ch"); + + +typedef union { + struct { + unsigned TMR1IE :1; + unsigned :2; + unsigned CMIE :1; + unsigned :2; + unsigned ADIE :1; + unsigned EEIE :1; + }; + struct { + unsigned T1IE :1; + }; +} PIE1bits_t; +extern volatile PIE1bits_t PIE1bits __attribute__((address(0x08C))); +# 895 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PCON __attribute__((address(0x08E))); + +__asm("PCON equ 08Eh"); + + +typedef union { + struct { + unsigned nBOR :1; + unsigned nPOR :1; + }; + struct { + unsigned nBOD :1; + }; +} PCONbits_t; +extern volatile PCONbits_t PCONbits __attribute__((address(0x08E))); +# 929 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char OSCCAL __attribute__((address(0x090))); + +__asm("OSCCAL equ 090h"); + + +typedef union { + struct { + unsigned :2; + unsigned CAL :6; + }; + struct { + unsigned :2; + unsigned CAL0 :1; + unsigned CAL1 :1; + unsigned CAL2 :1; + unsigned CAL3 :1; + unsigned CAL4 :1; + unsigned CAL5 :1; + }; +} OSCCALbits_t; +extern volatile OSCCALbits_t OSCCALbits __attribute__((address(0x090))); +# 989 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char WPU __attribute__((address(0x095))); + +__asm("WPU equ 095h"); + + +typedef union { + struct { + unsigned WPU0 :1; + unsigned WPU1 :1; + unsigned WPU2 :1; + unsigned :1; + unsigned WPU4 :1; + unsigned WPU5 :1; + }; +} WPUbits_t; +extern volatile WPUbits_t WPUbits __attribute__((address(0x095))); +# 1034 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char IOC __attribute__((address(0x096))); + +__asm("IOC equ 096h"); + + +extern volatile unsigned char IOCB __attribute__((address(0x096))); + +__asm("IOCB equ 096h"); + + +typedef union { + struct { + unsigned IOC0 :1; + unsigned IOC1 :1; + unsigned IOC2 :1; + unsigned IOC3 :1; + unsigned IOC4 :1; + unsigned IOC5 :1; + }; + struct { + unsigned IOCB0 :1; + unsigned IOCB1 :1; + unsigned IOCB2 :1; + unsigned IOCB3 :1; + unsigned IOCB4 :1; + unsigned IOCB5 :1; + }; +} IOCbits_t; +extern volatile IOCbits_t IOCbits __attribute__((address(0x096))); +# 1125 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +typedef union { + struct { + unsigned IOC0 :1; + unsigned IOC1 :1; + unsigned IOC2 :1; + unsigned IOC3 :1; + unsigned IOC4 :1; + unsigned IOC5 :1; + }; + struct { + unsigned IOCB0 :1; + unsigned IOCB1 :1; + unsigned IOCB2 :1; + unsigned IOCB3 :1; + unsigned IOCB4 :1; + unsigned IOCB5 :1; + }; +} IOCBbits_t; +extern volatile IOCBbits_t IOCBbits __attribute__((address(0x096))); +# 1208 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char VRCON __attribute__((address(0x099))); + +__asm("VRCON equ 099h"); + + +typedef union { + struct { + unsigned VR :4; + unsigned :1; + unsigned VRR :1; + unsigned :1; + unsigned VREN :1; + }; + struct { + unsigned VR0 :1; + unsigned VR1 :1; + unsigned VR2 :1; + unsigned VR3 :1; + }; +} VRCONbits_t; +extern volatile VRCONbits_t VRCONbits __attribute__((address(0x099))); +# 1268 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EEDATA __attribute__((address(0x09A))); + +__asm("EEDATA equ 09Ah"); + + +extern volatile unsigned char EEDAT __attribute__((address(0x09A))); + +__asm("EEDAT equ 09Ah"); + + +typedef union { + struct { + unsigned EEDATA :8; + }; +} EEDATAbits_t; +extern volatile EEDATAbits_t EEDATAbits __attribute__((address(0x09A))); + + + + + + + +typedef union { + struct { + unsigned EEDATA :8; + }; +} EEDATbits_t; +extern volatile EEDATbits_t EEDATbits __attribute__((address(0x09A))); +# 1306 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EEADR __attribute__((address(0x09B))); + +__asm("EEADR equ 09Bh"); + + +typedef union { + struct { + unsigned EEADR :7; + }; +} EEADRbits_t; +extern volatile EEADRbits_t EEADRbits __attribute__((address(0x09B))); +# 1326 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EECON1 __attribute__((address(0x09C))); + +__asm("EECON1 equ 09Ch"); + + +typedef union { + struct { + unsigned RD :1; + unsigned WR :1; + unsigned WREN :1; + unsigned WRERR :1; + }; +} EECON1bits_t; +extern volatile EECON1bits_t EECON1bits __attribute__((address(0x09C))); +# 1364 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EECON2 __attribute__((address(0x09D))); + +__asm("EECON2 equ 09Dh"); + + +typedef union { + struct { + unsigned EECON2 :8; + }; +} EECON2bits_t; +extern volatile EECON2bits_t EECON2bits __attribute__((address(0x09D))); +# 1384 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ADRESL __attribute__((address(0x09E))); + +__asm("ADRESL equ 09Eh"); + + +typedef union { + struct { + unsigned ADRESL :8; + }; +} ADRESLbits_t; +extern volatile ADRESLbits_t ADRESLbits __attribute__((address(0x09E))); +# 1404 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ANSEL __attribute__((address(0x09F))); + +__asm("ANSEL equ 09Fh"); + + +typedef union { + struct { + unsigned ANS :4; + unsigned ADCS :3; + }; + struct { + unsigned ANS0 :1; + unsigned ANS1 :1; + unsigned ANS2 :1; + unsigned ANS3 :1; + unsigned ADCS0 :1; + unsigned ADCS1 :1; + unsigned ADCS2 :1; + }; +} ANSELbits_t; +extern volatile ANSELbits_t ANSELbits __attribute__((address(0x09F))); +# 1484 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile __bit ADCS0 __attribute__((address(0x4FC))); + + +extern volatile __bit ADCS1 __attribute__((address(0x4FD))); + + +extern volatile __bit ADCS2 __attribute__((address(0x4FE))); + + +extern volatile __bit ADFM __attribute__((address(0xFF))); + + +extern volatile __bit ADIE __attribute__((address(0x466))); + + +extern volatile __bit ADIF __attribute__((address(0x66))); + + +extern volatile __bit ADON __attribute__((address(0xF8))); + + +extern volatile __bit ANS0 __attribute__((address(0x4F8))); + + +extern volatile __bit ANS1 __attribute__((address(0x4F9))); + + +extern volatile __bit ANS2 __attribute__((address(0x4FA))); + + +extern volatile __bit ANS3 __attribute__((address(0x4FB))); + + +extern volatile __bit CAL0 __attribute__((address(0x482))); + + +extern volatile __bit CAL1 __attribute__((address(0x483))); + + +extern volatile __bit CAL2 __attribute__((address(0x484))); + + +extern volatile __bit CAL3 __attribute__((address(0x485))); + + +extern volatile __bit CAL4 __attribute__((address(0x486))); + + +extern volatile __bit CAL5 __attribute__((address(0x487))); + + +extern volatile __bit CARRY __attribute__((address(0x18))); + + +extern volatile __bit CHS0 __attribute__((address(0xFA))); + + +extern volatile __bit CHS1 __attribute__((address(0xFB))); + + +extern volatile __bit CINV __attribute__((address(0xCC))); + + +extern volatile __bit CIS __attribute__((address(0xCB))); + + +extern volatile __bit CM0 __attribute__((address(0xC8))); + + +extern volatile __bit CM1 __attribute__((address(0xC9))); + + +extern volatile __bit CM2 __attribute__((address(0xCA))); + + +extern volatile __bit CMIE __attribute__((address(0x463))); + + +extern volatile __bit CMIF __attribute__((address(0x63))); + + +extern volatile __bit COUT __attribute__((address(0xCE))); + + +extern volatile __bit DC __attribute__((address(0x19))); + + +extern volatile __bit EEIE __attribute__((address(0x467))); + + +extern volatile __bit EEIF __attribute__((address(0x67))); + + +extern volatile __bit GIE __attribute__((address(0x5F))); + + +extern volatile __bit GO __attribute__((address(0xF9))); + + +extern volatile __bit GO_DONE __attribute__((address(0xF9))); + + +extern volatile __bit GO_nDONE __attribute__((address(0xF9))); + + +extern volatile __bit GP0 __attribute__((address(0x28))); + + +extern volatile __bit GP1 __attribute__((address(0x29))); + + +extern volatile __bit GP2 __attribute__((address(0x2A))); + + +extern volatile __bit GP3 __attribute__((address(0x2B))); + + +extern volatile __bit GP4 __attribute__((address(0x2C))); + + +extern volatile __bit GP5 __attribute__((address(0x2D))); + + +extern volatile __bit GPIE __attribute__((address(0x5B))); + + +extern volatile __bit GPIF __attribute__((address(0x58))); + + +extern volatile __bit GPIO0 __attribute__((address(0x28))); + + +extern volatile __bit GPIO1 __attribute__((address(0x29))); + + +extern volatile __bit GPIO2 __attribute__((address(0x2A))); + + +extern volatile __bit GPIO3 __attribute__((address(0x2B))); + + +extern volatile __bit GPIO4 __attribute__((address(0x2C))); + + +extern volatile __bit GPIO5 __attribute__((address(0x2D))); + + +extern volatile __bit INTE __attribute__((address(0x5C))); + + +extern volatile __bit INTEDG __attribute__((address(0x40E))); + + +extern volatile __bit INTF __attribute__((address(0x59))); + + +extern volatile __bit IOC0 __attribute__((address(0x4B0))); + + +extern volatile __bit IOC1 __attribute__((address(0x4B1))); + + +extern volatile __bit IOC2 __attribute__((address(0x4B2))); + + +extern volatile __bit IOC3 __attribute__((address(0x4B3))); + + +extern volatile __bit IOC4 __attribute__((address(0x4B4))); + + +extern volatile __bit IOC5 __attribute__((address(0x4B5))); + + +extern volatile __bit IOCB0 __attribute__((address(0x4B0))); + + +extern volatile __bit IOCB1 __attribute__((address(0x4B1))); + + +extern volatile __bit IOCB2 __attribute__((address(0x4B2))); + + +extern volatile __bit IOCB3 __attribute__((address(0x4B3))); + + +extern volatile __bit IOCB4 __attribute__((address(0x4B4))); + + +extern volatile __bit IOCB5 __attribute__((address(0x4B5))); + + +extern volatile __bit IRP __attribute__((address(0x1F))); + + +extern volatile __bit PEIE __attribute__((address(0x5E))); + + +extern volatile __bit PS0 __attribute__((address(0x408))); + + +extern volatile __bit PS1 __attribute__((address(0x409))); + + +extern volatile __bit PS2 __attribute__((address(0x40A))); + + +extern volatile __bit PSA __attribute__((address(0x40B))); + + +extern volatile __bit RD __attribute__((address(0x4E0))); + + +extern volatile __bit RP0 __attribute__((address(0x1D))); + + +extern volatile __bit RP1 __attribute__((address(0x1E))); + + +extern volatile __bit T0CS __attribute__((address(0x40D))); + + +extern volatile __bit T0IE __attribute__((address(0x5D))); + + +extern volatile __bit T0IF __attribute__((address(0x5A))); + + +extern volatile __bit T0SE __attribute__((address(0x40C))); + + +extern volatile __bit T1CKPS0 __attribute__((address(0x84))); + + +extern volatile __bit T1CKPS1 __attribute__((address(0x85))); + + +extern volatile __bit T1IE __attribute__((address(0x460))); + + +extern volatile __bit T1IF __attribute__((address(0x60))); + + +extern volatile __bit T1OSCEN __attribute__((address(0x83))); + + +extern volatile __bit TMR0IE __attribute__((address(0x5D))); + + +extern volatile __bit TMR0IF __attribute__((address(0x5A))); + + +extern volatile __bit TMR1CS __attribute__((address(0x81))); + + +extern volatile __bit TMR1GE __attribute__((address(0x86))); + + +extern volatile __bit TMR1IE __attribute__((address(0x460))); + + +extern volatile __bit TMR1IF __attribute__((address(0x60))); + + +extern volatile __bit TMR1ON __attribute__((address(0x80))); + + +extern volatile __bit TRISIO0 __attribute__((address(0x428))); + + +extern volatile __bit TRISIO1 __attribute__((address(0x429))); + + +extern volatile __bit TRISIO2 __attribute__((address(0x42A))); + + +extern volatile __bit TRISIO3 __attribute__((address(0x42B))); + + +extern volatile __bit TRISIO4 __attribute__((address(0x42C))); + + +extern volatile __bit TRISIO5 __attribute__((address(0x42D))); + + +extern volatile __bit VCFG __attribute__((address(0xFE))); + + +extern volatile __bit VR0 __attribute__((address(0x4C8))); + + +extern volatile __bit VR1 __attribute__((address(0x4C9))); + + +extern volatile __bit VR2 __attribute__((address(0x4CA))); + + +extern volatile __bit VR3 __attribute__((address(0x4CB))); + + +extern volatile __bit VREN __attribute__((address(0x4CF))); + + +extern volatile __bit VRR __attribute__((address(0x4CD))); + + +extern volatile __bit WPU0 __attribute__((address(0x4A8))); + + +extern volatile __bit WPU1 __attribute__((address(0x4A9))); + + +extern volatile __bit WPU2 __attribute__((address(0x4AA))); + + +extern volatile __bit WPU4 __attribute__((address(0x4AC))); + + +extern volatile __bit WPU5 __attribute__((address(0x4AD))); + + +extern volatile __bit WR __attribute__((address(0x4E1))); + + +extern volatile __bit WREN __attribute__((address(0x4E2))); + + +extern volatile __bit WRERR __attribute__((address(0x4E3))); + + +extern volatile __bit ZERO __attribute__((address(0x1A))); + + +extern volatile __bit nBOD __attribute__((address(0x470))); + + +extern volatile __bit nBOR __attribute__((address(0x470))); + + +extern volatile __bit nDONE __attribute__((address(0xF9))); + + +extern volatile __bit nGPPU __attribute__((address(0x40F))); + + +extern volatile __bit nPD __attribute__((address(0x1B))); + + +extern volatile __bit nPOR __attribute__((address(0x471))); + + +extern volatile __bit nT1SYNC __attribute__((address(0x82))); + + +extern volatile __bit nTO __attribute__((address(0x1C))); +# 224 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic_chip_select.h" 2 3 +# 14 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 2 3 +# 76 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 3 +__attribute__((__unsupported__("The " "FLASH_READ" " macro function is no longer supported. Please use the MPLAB X MCC."))) unsigned char __flash_read(unsigned short addr); + +__attribute__((__unsupported__("The " "FLASH_WRITE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_write(unsigned short addr, unsigned short data); + +__attribute__((__unsupported__("The " "FLASH_ERASE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_erase(unsigned short addr); + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\eeprom_routines.h" 1 3 +# 114 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\eeprom_routines.h" 3 +extern void eeprom_write(unsigned char addr, unsigned char value); +extern unsigned char eeprom_read(unsigned char addr); +# 84 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 2 3 +# 118 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 3 +extern __bank0 unsigned char __resetbits; +extern __bank0 __bit __powerdown; +extern __bank0 __bit __timeout; +# 28 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 2 3 +# 10 "main.c" 2 + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdio.h" 1 3 +# 24 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdio.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 1 3 +# 12 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef void * va_list[1]; + + + + +typedef void * __isoc_va_list[1]; +# 143 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef short ssize_t; +# 253 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef long off_t; +# 409 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef struct _IO_FILE FILE; +# 25 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdio.h" 2 3 +# 52 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdio.h" 3 +typedef union _G_fpos64_t { + char __opaque[16]; + double __align; +} fpos_t; + +extern FILE *const stdin; +extern FILE *const stdout; +extern FILE *const stderr; + + + + + +FILE *fopen(const char *restrict, const char *restrict); +FILE *freopen(const char *restrict, const char *restrict, FILE *restrict); +int fclose(FILE *); + +int remove(const char *); +int rename(const char *, const char *); + +int feof(FILE *); +int ferror(FILE *); +int fflush(FILE *); +void clearerr(FILE *); + +int fseek(FILE *, long, int); +long ftell(FILE *); +void rewind(FILE *); + +int fgetpos(FILE *restrict, fpos_t *restrict); +int fsetpos(FILE *, const fpos_t *); + +size_t fread(void *restrict, size_t, size_t, FILE *restrict); +size_t fwrite(const void *restrict, size_t, size_t, FILE *restrict); + +int fgetc(FILE *); +int getc(FILE *); +int getchar(void); + + + + + +int ungetc(int, FILE *); +int getch(void); + +int fputc(int, FILE *); +int putc(int, FILE *); +int putchar(int); + + + + + +void putch(char); + +char *fgets(char *restrict, int, FILE *restrict); + +char *gets(char *); + + +int fputs(const char *restrict, FILE *restrict); +int puts(const char *); + +__attribute__((__format__(__printf__, 1, 2))) +int printf(const char *restrict, ...); +__attribute__((__format__(__printf__, 2, 3))) +int fprintf(FILE *restrict, const char *restrict, ...); +__attribute__((__format__(__printf__, 2, 3))) +int sprintf(char *restrict, const char *restrict, ...); +__attribute__((__format__(__printf__, 3, 4))) +int snprintf(char *restrict, size_t, const char *restrict, ...); + +__attribute__((__format__(__printf__, 1, 0))) +int vprintf(const char *restrict, __isoc_va_list); +int vfprintf(FILE *restrict, const char *restrict, __isoc_va_list); +__attribute__((__format__(__printf__, 2, 0))) +int vsprintf(char *restrict, const char *restrict, __isoc_va_list); +__attribute__((__format__(__printf__, 3, 0))) +int vsnprintf(char *restrict, size_t, const char *restrict, __isoc_va_list); + +__attribute__((__format__(__scanf__, 1, 2))) +int scanf(const char *restrict, ...); +__attribute__((__format__(__scanf__, 2, 3))) +int fscanf(FILE *restrict, const char *restrict, ...); +__attribute__((__format__(__scanf__, 2, 3))) +int sscanf(const char *restrict, const char *restrict, ...); + +__attribute__((__format__(__scanf__, 1, 0))) +int vscanf(const char *restrict, __isoc_va_list); +int vfscanf(FILE *restrict, const char *restrict, __isoc_va_list); +__attribute__((__format__(__scanf__, 2, 0))) +int vsscanf(const char *restrict, const char *restrict, __isoc_va_list); + +void perror(const char *); + +int setvbuf(FILE *restrict, char *restrict, int, size_t); +void setbuf(FILE *restrict, char *restrict); + +char *tmpnam(char *); +FILE *tmpfile(void); + + + + +FILE *fmemopen(void *restrict, size_t, const char *restrict); +FILE *open_memstream(char **, size_t *); +FILE *fdopen(int, const char *); +FILE *popen(const char *, const char *); +int pclose(FILE *); +int fileno(FILE *); +int fseeko(FILE *, off_t, int); +off_t ftello(FILE *); +int dprintf(int, const char *restrict, ...); +int vdprintf(int, const char *restrict, __isoc_va_list); +void flockfile(FILE *); +int ftrylockfile(FILE *); +void funlockfile(FILE *); +int getc_unlocked(FILE *); +int getchar_unlocked(void); +int putc_unlocked(int, FILE *); +int putchar_unlocked(int); +ssize_t getdelim(char **restrict, size_t *restrict, int, FILE *restrict); +ssize_t getline(char **restrict, size_t *restrict, FILE *restrict); +int renameat(int, const char *, int, const char *); +char *ctermid(char *); + + + + + + + +char *tempnam(const char *, const char *); +# 11 "main.c" 2 +# 20 "main.c" +void main(void) +{ + + *(volatile uint8_t*) 0x00000085 &= ~(1 << 1); + + while(1) + { + GP1 = 1; + _delay(110 * .6 + 2); + GP1 = 0; + _delay(110 * (1 - .6) - 2); + } +} diff --git a/c_projects/pic_blink/example_v2.X/build/default/production/main.p1 b/c_projects/pic_blink/example_v2.X/build/default/production/main.p1 new file mode 100644 index 0000000..67dfb8f --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/build/default/production/main.p1 @@ -0,0 +1,145 @@ +Version 4.0 HI-TECH Software Intermediate Code +[p mainexit ] +"1592 C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1592: extern volatile __bit GP1 __attribute__((address(0x29))); +[v _GP1 `Vb ~T0 @X0 0 e@41 ] +[v F164 `(v ~T0 @X0 1 tf1`ul ] +"20 C:\Program Files\Microchip\xc8\v2.50\pic\include\builtins.h +[v __delay `JF164 ~T0 @X0 0 e ] +[p i __delay ] +"54 C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 54: __asm("INDF equ 00h"); +[; <" INDF equ 00h ;# "> +"74 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 74: __asm("TMR0 equ 01h"); +[; <" TMR0 equ 01h ;# "> +"94 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 94: __asm("PCL equ 02h"); +[; <" PCL equ 02h ;# "> +"114 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 114: __asm("STATUS equ 03h"); +[; <" STATUS equ 03h ;# "> +"200 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 200: __asm("FSR equ 04h"); +[; <" FSR equ 04h ;# "> +"220 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 220: __asm("GPIO equ 05h"); +[; <" GPIO equ 05h ;# "> +"308 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 308: __asm("PCLATH equ 0Ah"); +[; <" PCLATH equ 0Ah ;# "> +"328 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 328: __asm("INTCON equ 0Bh"); +[; <" INTCON equ 0Bh ;# "> +"406 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 406: __asm("PIR1 equ 0Ch"); +[; <" PIR1 equ 0Ch ;# "> +"454 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 454: __asm("TMR1 equ 0Eh"); +[; <" TMR1 equ 0Eh ;# "> +"461 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 461: __asm("TMR1L equ 0Eh"); +[; <" TMR1L equ 0Eh ;# "> +"481 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 481: __asm("TMR1H equ 0Fh"); +[; <" TMR1H equ 0Fh ;# "> +"501 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 501: __asm("T1CON equ 010h"); +[; <" T1CON equ 010h ;# "> +"566 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 566: __asm("CMCON equ 019h"); +[; <" CMCON equ 019h ;# "> +"625 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 625: __asm("ADRESH equ 01Eh"); +[; <" ADRESH equ 01Eh ;# "> +"645 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 645: __asm("ADCON0 equ 01Fh"); +[; <" ADCON0 equ 01Fh ;# "> +"729 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 729: __asm("OPTION_REG equ 081h"); +[; <" OPTION_REG equ 081h ;# "> +"799 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 799: __asm("TRISIO equ 085h"); +[; <" TRISIO equ 085h ;# "> +"849 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 849: __asm("PIE1 equ 08Ch"); +[; <" PIE1 equ 08Ch ;# "> +"897 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 897: __asm("PCON equ 08Eh"); +[; <" PCON equ 08Eh ;# "> +"931 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 931: __asm("OSCCAL equ 090h"); +[; <" OSCCAL equ 090h ;# "> +"991 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 991: __asm("WPU equ 095h"); +[; <" WPU equ 095h ;# "> +"1036 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1036: __asm("IOC equ 096h"); +[; <" IOC equ 096h ;# "> +"1041 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1041: __asm("IOCB equ 096h"); +[; <" IOCB equ 096h ;# "> +"1210 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1210: __asm("VRCON equ 099h"); +[; <" VRCON equ 099h ;# "> +"1270 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1270: __asm("EEDATA equ 09Ah"); +[; <" EEDATA equ 09Ah ;# "> +"1275 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1275: __asm("EEDAT equ 09Ah"); +[; <" EEDAT equ 09Ah ;# "> +"1308 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1308: __asm("EEADR equ 09Bh"); +[; <" EEADR equ 09Bh ;# "> +"1328 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1328: __asm("EECON1 equ 09Ch"); +[; <" EECON1 equ 09Ch ;# "> +"1366 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1366: __asm("EECON2 equ 09Dh"); +[; <" EECON2 equ 09Dh ;# "> +"1386 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1386: __asm("ADRESL equ 09Eh"); +[; <" ADRESL equ 09Eh ;# "> +"1406 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1406: __asm("ANSEL equ 09Fh"); +[; <" ANSEL equ 09Fh ;# "> +[v $root$_main `(v ~T0 @X0 0 e ] +"20 main.c +[; ;main.c: 20: void main(void) +[v _main `(v ~T0 @X0 1 ef ] +"21 +[; ;main.c: 21: { +{ +[e :U _main ] +[f ] +"23 +[; ;main.c: 23: *(volatile uint8_t*) 0x00000085 &= ~(1 << 1); +[e =& *U -> -> 133 `i `*Vuc -> ~ << -> 1 `i -> 1 `i `uc ] +"25 +[; ;main.c: 25: while(1) +[e :U 89 ] +"26 +[; ;main.c: 26: { +{ +"27 +[; ;main.c: 27: GP1 = 1; +[e = _GP1 -> -> 1 `i `b ] +"28 +[; ;main.c: 28: _delay(110 * .6 + 2); +[e ( __delay (1 -> + * -> -> 110 `i `d .0.6 -> -> 2 `i `d `ul ] +"29 +[; ;main.c: 29: GP1 = 0; +[e = _GP1 -> -> 0 `i `b ] +"30 +[; ;main.c: 30: _delay(110 * (1 - .6) - 2); +[e ( __delay (1 -> - * -> -> 110 `i `d - -> -> 1 `i `d .0.6 -> -> 2 `i `d `ul ] +"31 +[; ;main.c: 31: } +} +[e :U 88 ] +[e $U 89 ] +[e :U 90 ] +"32 +[; ;main.c: 32: } +[e :UE 87 ] +} diff --git a/c_projects/pic_blink/example_v2.X/build/default/production/main.p1.d b/c_projects/pic_blink/example_v2.X/build/default/production/main.p1.d new file mode 100644 index 0000000..b27dd1d --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/build/default/production/main.p1.d @@ -0,0 +1,2 @@ +build/default/production/main.p1: \ +main.c diff --git a/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.d b/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.d new file mode 100644 index 0000000..cf59123 --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.d @@ -0,0 +1,2 @@ +dist/default/production\__eeprom.p1: \ + C:\Program\ Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c diff --git a/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.i b/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.i new file mode 100644 index 0000000..954fbe6 --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.i @@ -0,0 +1,1364 @@ +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\sources\\c99\\pic\\__eeprom.c" +# 1 "" 1 +# 1 "" 3 +# 288 "" 3 +# 1 "" 1 +# 1 "" 2 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\language_support.h" 1 3 +# 2 "" 2 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\sources\\c99\\pic\\__eeprom.c" 2 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 1 3 +# 18 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 3 +extern const char __xc8_OPTIM_SPEED; + +extern double __fpnormalize(double); + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\xc8debug.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\musl_xc8.h" 1 3 +# 5 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 2 3 + + + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\features.h" 1 3 +# 11 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 2 3 +# 21 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 1 3 +# 24 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef long int wchar_t; +# 128 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef unsigned size_t; +# 174 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef __int24 int24_t; +# 210 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef __uint24 uint24_t; +# 22 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 2 3 + +int atoi (const char *); +long atol (const char *); + + + +double atof (const char *); + + +float strtof (const char *restrict, char **restrict); +double strtod (const char *restrict, char **restrict); +long double strtold (const char *restrict, char **restrict); + + + +long strtol (const char *restrict, char **restrict, int); +unsigned long strtoul (const char *restrict, char **restrict, int); + + + + + +unsigned long __strtoxl(const char * s, char ** endptr, int base, char is_signed); +# 55 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdlib.h" 3 +int rand (void); +void srand (unsigned); + +void *malloc (size_t); +void *calloc (size_t, size_t); +void *realloc (void *, size_t); +void free (void *); + + void abort (void); +int atexit (void (*) (void)); + void exit (int); + void _Exit (int); + +void *bsearch (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); + + + + + + + +__attribute__((nonreentrant)) void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); + +int abs (int); +long labs (long); + + + + +typedef struct { int quot, rem; } div_t; +typedef struct { long quot, rem; } ldiv_t; + + + + +div_t div (int, int); +ldiv_t ldiv (long, long); + + + + +typedef struct { unsigned int quot, rem; } udiv_t; +typedef struct { unsigned long quot, rem; } uldiv_t; +udiv_t udiv (unsigned int, unsigned int); +uldiv_t uldiv (unsigned long, unsigned long); +# 5 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\xc8debug.h" 2 3 + + + + + + + +#pragma intrinsic(__builtin_software_breakpoint) +extern void __builtin_software_breakpoint(void); +# 23 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 2 3 + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\builtins.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 1 3 +# 26 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 1 3 +# 133 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef unsigned short uintptr_t; +# 148 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef short intptr_t; +# 164 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef signed char int8_t; + + + + +typedef short int16_t; +# 179 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef long int32_t; +# 192 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef int32_t intmax_t; + + + + + + + +typedef unsigned char uint8_t; + + + + +typedef unsigned short uint16_t; +# 215 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef unsigned long uint32_t; +# 233 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/alltypes.h" 3 +typedef uint32_t uintmax_t; +# 27 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 2 3 + +typedef int8_t int_fast8_t; + + + + +typedef int8_t int_least8_t; +typedef int16_t int_least16_t; + +typedef int24_t int_least24_t; +typedef int24_t int_fast24_t; + +typedef int32_t int_least32_t; + + + + +typedef uint8_t uint_fast8_t; + + + + +typedef uint8_t uint_least8_t; +typedef uint16_t uint_least16_t; + +typedef uint24_t uint_least24_t; +typedef uint24_t uint_fast24_t; + +typedef uint32_t uint_least32_t; +# 148 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\bits/stdint.h" 1 3 +typedef int16_t int_fast16_t; +typedef int32_t int_fast32_t; +typedef uint16_t uint_fast16_t; +typedef uint32_t uint_fast32_t; +# 149 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\c99\\stdint.h" 2 3 +# 4 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\builtins.h" 2 3 + + + +#pragma intrinsic(__nop) +extern void __nop(void); +# 19 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\builtins.h" 3 +#pragma intrinsic(_delay) +extern __attribute__((nonreentrant)) void _delay(uint32_t); +#pragma intrinsic(_delaywdt) +extern __attribute__((nonreentrant)) void _delaywdt(uint32_t); +# 24 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 2 3 + + + + +# 1 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 1 3 + + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\htc.h" 1 3 + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 1 3 +# 4 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\htc.h" 2 3 +# 6 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 2 3 + + + +extern unsigned char __osccal_val(void); + + + + +# 1 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic_chip_select.h" 1 3 +# 223 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic_chip_select.h" 3 +# 1 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 1 3 +# 44 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\__at.h" 1 3 +# 45 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 2 3 + + + + + + + +extern volatile unsigned char INDF __attribute__((address(0x000))); + +__asm("INDF equ 00h"); + + +typedef union { + struct { + unsigned INDF :8; + }; +} INDFbits_t; +extern volatile INDFbits_t INDFbits __attribute__((address(0x000))); +# 72 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char TMR0 __attribute__((address(0x001))); + +__asm("TMR0 equ 01h"); + + +typedef union { + struct { + unsigned TMR0 :8; + }; +} TMR0bits_t; +extern volatile TMR0bits_t TMR0bits __attribute__((address(0x001))); +# 92 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PCL __attribute__((address(0x002))); + +__asm("PCL equ 02h"); + + +typedef union { + struct { + unsigned PCL :8; + }; +} PCLbits_t; +extern volatile PCLbits_t PCLbits __attribute__((address(0x002))); +# 112 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char STATUS __attribute__((address(0x003))); + +__asm("STATUS equ 03h"); + + +typedef 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; + }; + struct { + unsigned CARRY :1; + unsigned :1; + unsigned ZERO :1; + }; +} STATUSbits_t; +extern volatile STATUSbits_t STATUSbits __attribute__((address(0x003))); +# 198 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char FSR __attribute__((address(0x004))); + +__asm("FSR equ 04h"); + + +typedef union { + struct { + unsigned FSR :8; + }; +} FSRbits_t; +extern volatile FSRbits_t FSRbits __attribute__((address(0x004))); +# 218 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char GPIO __attribute__((address(0x005))); + +__asm("GPIO equ 05h"); + + +typedef union { + struct { + unsigned GP0 :1; + unsigned GP1 :1; + unsigned GP2 :1; + unsigned GP3 :1; + unsigned GP4 :1; + unsigned GP5 :1; + }; + struct { + unsigned GPIO0 :1; + unsigned GPIO1 :1; + unsigned GPIO2 :1; + unsigned GPIO3 :1; + unsigned GPIO4 :1; + unsigned GPIO5 :1; + }; +} GPIObits_t; +extern volatile GPIObits_t GPIObits __attribute__((address(0x005))); +# 306 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PCLATH __attribute__((address(0x00A))); + +__asm("PCLATH equ 0Ah"); + + +typedef union { + struct { + unsigned PCLATH :5; + }; +} PCLATHbits_t; +extern volatile PCLATHbits_t PCLATHbits __attribute__((address(0x00A))); +# 326 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char INTCON __attribute__((address(0x00B))); + +__asm("INTCON equ 0Bh"); + + +typedef union { + struct { + unsigned GPIF :1; + unsigned INTF :1; + unsigned T0IF :1; + unsigned GPIE :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_t; +extern volatile INTCONbits_t INTCONbits __attribute__((address(0x00B))); +# 404 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PIR1 __attribute__((address(0x00C))); + +__asm("PIR1 equ 0Ch"); + + +typedef union { + struct { + unsigned TMR1IF :1; + unsigned :2; + unsigned CMIF :1; + unsigned :2; + unsigned ADIF :1; + unsigned EEIF :1; + }; + struct { + unsigned T1IF :1; + }; +} PIR1bits_t; +extern volatile PIR1bits_t PIR1bits __attribute__((address(0x00C))); +# 452 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned short TMR1 __attribute__((address(0x00E))); + +__asm("TMR1 equ 0Eh"); + + + + +extern volatile unsigned char TMR1L __attribute__((address(0x00E))); + +__asm("TMR1L equ 0Eh"); + + +typedef union { + struct { + unsigned TMR1L :8; + }; +} TMR1Lbits_t; +extern volatile TMR1Lbits_t TMR1Lbits __attribute__((address(0x00E))); +# 479 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char TMR1H __attribute__((address(0x00F))); + +__asm("TMR1H equ 0Fh"); + + +typedef union { + struct { + unsigned TMR1H :8; + }; +} TMR1Hbits_t; +extern volatile TMR1Hbits_t TMR1Hbits __attribute__((address(0x00F))); +# 499 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char T1CON __attribute__((address(0x010))); + +__asm("T1CON equ 010h"); + + +typedef union { + struct { + unsigned TMR1ON :1; + unsigned TMR1CS :1; + unsigned nT1SYNC :1; + unsigned T1OSCEN :1; + unsigned T1CKPS :2; + unsigned TMR1GE :1; + }; + struct { + unsigned :4; + unsigned T1CKPS0 :1; + unsigned T1CKPS1 :1; + }; +} T1CONbits_t; +extern volatile T1CONbits_t T1CONbits __attribute__((address(0x010))); +# 564 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char CMCON __attribute__((address(0x019))); + +__asm("CMCON equ 019h"); + + +typedef union { + struct { + unsigned CM :3; + unsigned CIS :1; + unsigned CINV :1; + unsigned :1; + unsigned COUT :1; + }; + struct { + unsigned CM0 :1; + unsigned CM1 :1; + unsigned CM2 :1; + }; +} CMCONbits_t; +extern volatile CMCONbits_t CMCONbits __attribute__((address(0x019))); +# 623 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ADRESH __attribute__((address(0x01E))); + +__asm("ADRESH equ 01Eh"); + + +typedef union { + struct { + unsigned ADRESH :8; + }; +} ADRESHbits_t; +extern volatile ADRESHbits_t ADRESHbits __attribute__((address(0x01E))); +# 643 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ADCON0 __attribute__((address(0x01F))); + +__asm("ADCON0 equ 01Fh"); + + +typedef union { + struct { + unsigned ADON :1; + unsigned GO_nDONE :1; + unsigned CHS :2; + unsigned :2; + unsigned VCFG :1; + unsigned ADFM :1; + }; + struct { + unsigned :1; + unsigned GO_DONE :1; + unsigned CHS0 :1; + unsigned CHS1 :1; + }; + struct { + unsigned :1; + unsigned nDONE :1; + }; + struct { + unsigned :1; + unsigned GO :1; + }; +} ADCON0bits_t; +extern volatile ADCON0bits_t ADCON0bits __attribute__((address(0x01F))); +# 727 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char OPTION_REG __attribute__((address(0x081))); + +__asm("OPTION_REG equ 081h"); + + +typedef union { + struct { + unsigned PS :3; + unsigned PSA :1; + unsigned T0SE :1; + unsigned T0CS :1; + unsigned INTEDG :1; + unsigned nGPPU :1; + }; + struct { + unsigned PS0 :1; + unsigned PS1 :1; + unsigned PS2 :1; + }; +} OPTION_REGbits_t; +extern volatile OPTION_REGbits_t OPTION_REGbits __attribute__((address(0x081))); +# 797 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char TRISIO __attribute__((address(0x085))); + +__asm("TRISIO equ 085h"); + + +typedef union { + struct { + unsigned TRISIO0 :1; + unsigned TRISIO1 :1; + unsigned TRISIO2 :1; + unsigned TRISIO3 :1; + unsigned TRISIO4 :1; + unsigned TRISIO5 :1; + }; +} TRISIObits_t; +extern volatile TRISIObits_t TRISIObits __attribute__((address(0x085))); +# 847 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PIE1 __attribute__((address(0x08C))); + +__asm("PIE1 equ 08Ch"); + + +typedef union { + struct { + unsigned TMR1IE :1; + unsigned :2; + unsigned CMIE :1; + unsigned :2; + unsigned ADIE :1; + unsigned EEIE :1; + }; + struct { + unsigned T1IE :1; + }; +} PIE1bits_t; +extern volatile PIE1bits_t PIE1bits __attribute__((address(0x08C))); +# 895 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char PCON __attribute__((address(0x08E))); + +__asm("PCON equ 08Eh"); + + +typedef union { + struct { + unsigned nBOR :1; + unsigned nPOR :1; + }; + struct { + unsigned nBOD :1; + }; +} PCONbits_t; +extern volatile PCONbits_t PCONbits __attribute__((address(0x08E))); +# 929 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char OSCCAL __attribute__((address(0x090))); + +__asm("OSCCAL equ 090h"); + + +typedef union { + struct { + unsigned :2; + unsigned CAL :6; + }; + struct { + unsigned :2; + unsigned CAL0 :1; + unsigned CAL1 :1; + unsigned CAL2 :1; + unsigned CAL3 :1; + unsigned CAL4 :1; + unsigned CAL5 :1; + }; +} OSCCALbits_t; +extern volatile OSCCALbits_t OSCCALbits __attribute__((address(0x090))); +# 989 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char WPU __attribute__((address(0x095))); + +__asm("WPU equ 095h"); + + +typedef union { + struct { + unsigned WPU0 :1; + unsigned WPU1 :1; + unsigned WPU2 :1; + unsigned :1; + unsigned WPU4 :1; + unsigned WPU5 :1; + }; +} WPUbits_t; +extern volatile WPUbits_t WPUbits __attribute__((address(0x095))); +# 1034 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char IOC __attribute__((address(0x096))); + +__asm("IOC equ 096h"); + + +extern volatile unsigned char IOCB __attribute__((address(0x096))); + +__asm("IOCB equ 096h"); + + +typedef union { + struct { + unsigned IOC0 :1; + unsigned IOC1 :1; + unsigned IOC2 :1; + unsigned IOC3 :1; + unsigned IOC4 :1; + unsigned IOC5 :1; + }; + struct { + unsigned IOCB0 :1; + unsigned IOCB1 :1; + unsigned IOCB2 :1; + unsigned IOCB3 :1; + unsigned IOCB4 :1; + unsigned IOCB5 :1; + }; +} IOCbits_t; +extern volatile IOCbits_t IOCbits __attribute__((address(0x096))); +# 1125 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +typedef union { + struct { + unsigned IOC0 :1; + unsigned IOC1 :1; + unsigned IOC2 :1; + unsigned IOC3 :1; + unsigned IOC4 :1; + unsigned IOC5 :1; + }; + struct { + unsigned IOCB0 :1; + unsigned IOCB1 :1; + unsigned IOCB2 :1; + unsigned IOCB3 :1; + unsigned IOCB4 :1; + unsigned IOCB5 :1; + }; +} IOCBbits_t; +extern volatile IOCBbits_t IOCBbits __attribute__((address(0x096))); +# 1208 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char VRCON __attribute__((address(0x099))); + +__asm("VRCON equ 099h"); + + +typedef union { + struct { + unsigned VR :4; + unsigned :1; + unsigned VRR :1; + unsigned :1; + unsigned VREN :1; + }; + struct { + unsigned VR0 :1; + unsigned VR1 :1; + unsigned VR2 :1; + unsigned VR3 :1; + }; +} VRCONbits_t; +extern volatile VRCONbits_t VRCONbits __attribute__((address(0x099))); +# 1268 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EEDATA __attribute__((address(0x09A))); + +__asm("EEDATA equ 09Ah"); + + +extern volatile unsigned char EEDAT __attribute__((address(0x09A))); + +__asm("EEDAT equ 09Ah"); + + +typedef union { + struct { + unsigned EEDATA :8; + }; +} EEDATAbits_t; +extern volatile EEDATAbits_t EEDATAbits __attribute__((address(0x09A))); + + + + + + + +typedef union { + struct { + unsigned EEDATA :8; + }; +} EEDATbits_t; +extern volatile EEDATbits_t EEDATbits __attribute__((address(0x09A))); +# 1306 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EEADR __attribute__((address(0x09B))); + +__asm("EEADR equ 09Bh"); + + +typedef union { + struct { + unsigned EEADR :7; + }; +} EEADRbits_t; +extern volatile EEADRbits_t EEADRbits __attribute__((address(0x09B))); +# 1326 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EECON1 __attribute__((address(0x09C))); + +__asm("EECON1 equ 09Ch"); + + +typedef union { + struct { + unsigned RD :1; + unsigned WR :1; + unsigned WREN :1; + unsigned WRERR :1; + }; +} EECON1bits_t; +extern volatile EECON1bits_t EECON1bits __attribute__((address(0x09C))); +# 1364 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char EECON2 __attribute__((address(0x09D))); + +__asm("EECON2 equ 09Dh"); + + +typedef union { + struct { + unsigned EECON2 :8; + }; +} EECON2bits_t; +extern volatile EECON2bits_t EECON2bits __attribute__((address(0x09D))); +# 1384 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ADRESL __attribute__((address(0x09E))); + +__asm("ADRESL equ 09Eh"); + + +typedef union { + struct { + unsigned ADRESL :8; + }; +} ADRESLbits_t; +extern volatile ADRESLbits_t ADRESLbits __attribute__((address(0x09E))); +# 1404 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile unsigned char ANSEL __attribute__((address(0x09F))); + +__asm("ANSEL equ 09Fh"); + + +typedef union { + struct { + unsigned ANS :4; + unsigned ADCS :3; + }; + struct { + unsigned ANS0 :1; + unsigned ANS1 :1; + unsigned ANS2 :1; + unsigned ANS3 :1; + unsigned ADCS0 :1; + unsigned ADCS1 :1; + unsigned ADCS2 :1; + }; +} ANSELbits_t; +extern volatile ANSELbits_t ANSELbits __attribute__((address(0x09F))); +# 1484 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\proc\\pic12f675.h" 3 +extern volatile __bit ADCS0 __attribute__((address(0x4FC))); + + +extern volatile __bit ADCS1 __attribute__((address(0x4FD))); + + +extern volatile __bit ADCS2 __attribute__((address(0x4FE))); + + +extern volatile __bit ADFM __attribute__((address(0xFF))); + + +extern volatile __bit ADIE __attribute__((address(0x466))); + + +extern volatile __bit ADIF __attribute__((address(0x66))); + + +extern volatile __bit ADON __attribute__((address(0xF8))); + + +extern volatile __bit ANS0 __attribute__((address(0x4F8))); + + +extern volatile __bit ANS1 __attribute__((address(0x4F9))); + + +extern volatile __bit ANS2 __attribute__((address(0x4FA))); + + +extern volatile __bit ANS3 __attribute__((address(0x4FB))); + + +extern volatile __bit CAL0 __attribute__((address(0x482))); + + +extern volatile __bit CAL1 __attribute__((address(0x483))); + + +extern volatile __bit CAL2 __attribute__((address(0x484))); + + +extern volatile __bit CAL3 __attribute__((address(0x485))); + + +extern volatile __bit CAL4 __attribute__((address(0x486))); + + +extern volatile __bit CAL5 __attribute__((address(0x487))); + + +extern volatile __bit CARRY __attribute__((address(0x18))); + + +extern volatile __bit CHS0 __attribute__((address(0xFA))); + + +extern volatile __bit CHS1 __attribute__((address(0xFB))); + + +extern volatile __bit CINV __attribute__((address(0xCC))); + + +extern volatile __bit CIS __attribute__((address(0xCB))); + + +extern volatile __bit CM0 __attribute__((address(0xC8))); + + +extern volatile __bit CM1 __attribute__((address(0xC9))); + + +extern volatile __bit CM2 __attribute__((address(0xCA))); + + +extern volatile __bit CMIE __attribute__((address(0x463))); + + +extern volatile __bit CMIF __attribute__((address(0x63))); + + +extern volatile __bit COUT __attribute__((address(0xCE))); + + +extern volatile __bit DC __attribute__((address(0x19))); + + +extern volatile __bit EEIE __attribute__((address(0x467))); + + +extern volatile __bit EEIF __attribute__((address(0x67))); + + +extern volatile __bit GIE __attribute__((address(0x5F))); + + +extern volatile __bit GO __attribute__((address(0xF9))); + + +extern volatile __bit GO_DONE __attribute__((address(0xF9))); + + +extern volatile __bit GO_nDONE __attribute__((address(0xF9))); + + +extern volatile __bit GP0 __attribute__((address(0x28))); + + +extern volatile __bit GP1 __attribute__((address(0x29))); + + +extern volatile __bit GP2 __attribute__((address(0x2A))); + + +extern volatile __bit GP3 __attribute__((address(0x2B))); + + +extern volatile __bit GP4 __attribute__((address(0x2C))); + + +extern volatile __bit GP5 __attribute__((address(0x2D))); + + +extern volatile __bit GPIE __attribute__((address(0x5B))); + + +extern volatile __bit GPIF __attribute__((address(0x58))); + + +extern volatile __bit GPIO0 __attribute__((address(0x28))); + + +extern volatile __bit GPIO1 __attribute__((address(0x29))); + + +extern volatile __bit GPIO2 __attribute__((address(0x2A))); + + +extern volatile __bit GPIO3 __attribute__((address(0x2B))); + + +extern volatile __bit GPIO4 __attribute__((address(0x2C))); + + +extern volatile __bit GPIO5 __attribute__((address(0x2D))); + + +extern volatile __bit INTE __attribute__((address(0x5C))); + + +extern volatile __bit INTEDG __attribute__((address(0x40E))); + + +extern volatile __bit INTF __attribute__((address(0x59))); + + +extern volatile __bit IOC0 __attribute__((address(0x4B0))); + + +extern volatile __bit IOC1 __attribute__((address(0x4B1))); + + +extern volatile __bit IOC2 __attribute__((address(0x4B2))); + + +extern volatile __bit IOC3 __attribute__((address(0x4B3))); + + +extern volatile __bit IOC4 __attribute__((address(0x4B4))); + + +extern volatile __bit IOC5 __attribute__((address(0x4B5))); + + +extern volatile __bit IOCB0 __attribute__((address(0x4B0))); + + +extern volatile __bit IOCB1 __attribute__((address(0x4B1))); + + +extern volatile __bit IOCB2 __attribute__((address(0x4B2))); + + +extern volatile __bit IOCB3 __attribute__((address(0x4B3))); + + +extern volatile __bit IOCB4 __attribute__((address(0x4B4))); + + +extern volatile __bit IOCB5 __attribute__((address(0x4B5))); + + +extern volatile __bit IRP __attribute__((address(0x1F))); + + +extern volatile __bit PEIE __attribute__((address(0x5E))); + + +extern volatile __bit PS0 __attribute__((address(0x408))); + + +extern volatile __bit PS1 __attribute__((address(0x409))); + + +extern volatile __bit PS2 __attribute__((address(0x40A))); + + +extern volatile __bit PSA __attribute__((address(0x40B))); + + +extern volatile __bit RD __attribute__((address(0x4E0))); + + +extern volatile __bit RP0 __attribute__((address(0x1D))); + + +extern volatile __bit RP1 __attribute__((address(0x1E))); + + +extern volatile __bit T0CS __attribute__((address(0x40D))); + + +extern volatile __bit T0IE __attribute__((address(0x5D))); + + +extern volatile __bit T0IF __attribute__((address(0x5A))); + + +extern volatile __bit T0SE __attribute__((address(0x40C))); + + +extern volatile __bit T1CKPS0 __attribute__((address(0x84))); + + +extern volatile __bit T1CKPS1 __attribute__((address(0x85))); + + +extern volatile __bit T1IE __attribute__((address(0x460))); + + +extern volatile __bit T1IF __attribute__((address(0x60))); + + +extern volatile __bit T1OSCEN __attribute__((address(0x83))); + + +extern volatile __bit TMR0IE __attribute__((address(0x5D))); + + +extern volatile __bit TMR0IF __attribute__((address(0x5A))); + + +extern volatile __bit TMR1CS __attribute__((address(0x81))); + + +extern volatile __bit TMR1GE __attribute__((address(0x86))); + + +extern volatile __bit TMR1IE __attribute__((address(0x460))); + + +extern volatile __bit TMR1IF __attribute__((address(0x60))); + + +extern volatile __bit TMR1ON __attribute__((address(0x80))); + + +extern volatile __bit TRISIO0 __attribute__((address(0x428))); + + +extern volatile __bit TRISIO1 __attribute__((address(0x429))); + + +extern volatile __bit TRISIO2 __attribute__((address(0x42A))); + + +extern volatile __bit TRISIO3 __attribute__((address(0x42B))); + + +extern volatile __bit TRISIO4 __attribute__((address(0x42C))); + + +extern volatile __bit TRISIO5 __attribute__((address(0x42D))); + + +extern volatile __bit VCFG __attribute__((address(0xFE))); + + +extern volatile __bit VR0 __attribute__((address(0x4C8))); + + +extern volatile __bit VR1 __attribute__((address(0x4C9))); + + +extern volatile __bit VR2 __attribute__((address(0x4CA))); + + +extern volatile __bit VR3 __attribute__((address(0x4CB))); + + +extern volatile __bit VREN __attribute__((address(0x4CF))); + + +extern volatile __bit VRR __attribute__((address(0x4CD))); + + +extern volatile __bit WPU0 __attribute__((address(0x4A8))); + + +extern volatile __bit WPU1 __attribute__((address(0x4A9))); + + +extern volatile __bit WPU2 __attribute__((address(0x4AA))); + + +extern volatile __bit WPU4 __attribute__((address(0x4AC))); + + +extern volatile __bit WPU5 __attribute__((address(0x4AD))); + + +extern volatile __bit WR __attribute__((address(0x4E1))); + + +extern volatile __bit WREN __attribute__((address(0x4E2))); + + +extern volatile __bit WRERR __attribute__((address(0x4E3))); + + +extern volatile __bit ZERO __attribute__((address(0x1A))); + + +extern volatile __bit nBOD __attribute__((address(0x470))); + + +extern volatile __bit nBOR __attribute__((address(0x470))); + + +extern volatile __bit nDONE __attribute__((address(0xF9))); + + +extern volatile __bit nGPPU __attribute__((address(0x40F))); + + +extern volatile __bit nPD __attribute__((address(0x1B))); + + +extern volatile __bit nPOR __attribute__((address(0x471))); + + +extern volatile __bit nT1SYNC __attribute__((address(0x82))); + + +extern volatile __bit nTO __attribute__((address(0x1C))); +# 224 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic_chip_select.h" 2 3 +# 14 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 2 3 +# 76 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 3 +__attribute__((__unsupported__("The " "FLASH_READ" " macro function is no longer supported. Please use the MPLAB X MCC."))) unsigned char __flash_read(unsigned short addr); + +__attribute__((__unsupported__("The " "FLASH_WRITE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_write(unsigned short addr, unsigned short data); + +__attribute__((__unsupported__("The " "FLASH_ERASE" " macro function is no longer supported. Please use the MPLAB X MCC."))) void __flash_erase(unsigned short addr); + + + +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\eeprom_routines.h" 1 3 +# 114 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\eeprom_routines.h" 3 +extern void eeprom_write(unsigned char addr, unsigned char value); +extern unsigned char eeprom_read(unsigned char addr); +# 84 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 2 3 +# 118 "C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\\pic\\include\\pic.h" 3 +extern __bank0 unsigned char __resetbits; +extern __bank0 __bit __powerdown; +extern __bank0 __bit __timeout; +# 28 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\include\\xc.h" 2 3 +# 1 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\sources\\c99\\pic\\__eeprom.c" 2 + + + + +void +__eecpymem(volatile unsigned char *to, __eeprom unsigned char * from, unsigned char size) +{ + volatile unsigned char *cp = to; + + while (EECON1bits.WR) continue; + EEADR = (unsigned char)from; + while(size--) { + while (EECON1bits.WR) continue; + + EECON1 &= 0x7F; + + EECON1bits.RD = 1; + *cp++ = EEDATA; + ++EEADR; + } +# 36 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\sources\\c99\\pic\\__eeprom.c" +} + +void +__memcpyee(__eeprom unsigned char * to, const unsigned char *from, unsigned char size) +{ + const unsigned char *ptr =from; + + while (EECON1bits.WR) continue; + EEADR = (unsigned char)to - 1U; + + EECON1 &= 0x7F; + + while(size--) { + while (EECON1bits.WR) { + continue; + } + EEDATA = *ptr++; + ++EEADR; + STATUSbits.CARRY = 0; + if (INTCONbits.GIE) { + STATUSbits.CARRY = 1; + } + INTCONbits.GIE = 0; + EECON1bits.WREN = 1; + EECON2 = 0x55; + EECON2 = 0xAA; + EECON1bits.WR = 1; + EECON1bits.WREN = 0; + if (STATUSbits.CARRY) { + INTCONbits.GIE = 1; + } + } +# 101 "C:\\Program Files\\Microchip\\xc8\\v2.50\\pic\\sources\\c99\\pic\\__eeprom.c" +} + +unsigned char +__eetoc(__eeprom void *addr) +{ + unsigned char data; + __eecpymem((unsigned char *) &data,addr,1); + return data; +} + +unsigned int +__eetoi(__eeprom void *addr) +{ + unsigned int data; + __eecpymem((unsigned char *) &data,addr,2); + return data; +} + +#pragma warning push +#pragma warning disable 2040 +__uint24 +__eetom(__eeprom void *addr) +{ + __uint24 data; + __eecpymem((unsigned char *) &data,addr,3); + return data; +} +#pragma warning pop + +unsigned long +__eetol(__eeprom void *addr) +{ + unsigned long data; + __eecpymem((unsigned char *) &data,addr,4); + return data; +} + +#pragma warning push +#pragma warning disable 1516 +unsigned long long +__eetoo(__eeprom void *addr) +{ + unsigned long long data; + __eecpymem((unsigned char *) &data,addr,8); + return data; +} +#pragma warning pop + +unsigned char +__ctoee(__eeprom void *addr, unsigned char data) +{ + __memcpyee(addr,(unsigned char *) &data,1); + return data; +} + +unsigned int +__itoee(__eeprom void *addr, unsigned int data) +{ + __memcpyee(addr,(unsigned char *) &data,2); + return data; +} + +#pragma warning push +#pragma warning disable 2040 +__uint24 +__mtoee(__eeprom void *addr, __uint24 data) +{ + __memcpyee(addr,(unsigned char *) &data,3); + return data; +} +#pragma warning pop + +unsigned long +__ltoee(__eeprom void *addr, unsigned long data) +{ + __memcpyee(addr,(unsigned char *) &data,4); + return data; +} + +#pragma warning push +#pragma warning disable 1516 +unsigned long long +__otoee(__eeprom void *addr, unsigned long long data) +{ + __memcpyee(addr,(unsigned char *) &data,8); + return data; +} +#pragma warning pop + +float +__eetoft(__eeprom void *addr) +{ + float data; + __eecpymem((unsigned char *) &data,addr,3); + return data; +} + +double +__eetofl(__eeprom void *addr) +{ + double data; + __eecpymem((unsigned char *) &data,addr,4); + return data; +} + +float +__fttoee(__eeprom void *addr, float data) +{ + __memcpyee(addr,(unsigned char *) &data,3); + return data; +} + +double +__fltoee(__eeprom void *addr, double data) +{ + __memcpyee(addr,(unsigned char *) &data,4); + return data; +} diff --git a/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.p1 b/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.p1 new file mode 100644 index 0000000..28fa851 --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/dist/default/production/__eeprom.p1 @@ -0,0 +1,666 @@ +Version 4.0 HI-TECH Software Intermediate Code +"1332 C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1332: struct { +[s S77 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S77 . RD WR WREN WRERR ] +"1331 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1331: typedef union { +[u S76 `S77 1 ] +[n S76 . . ] +"1339 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1339: extern volatile EECON1bits_t EECON1bits __attribute__((address(0x09C))); +[v _EECON1bits `VS76 ~T0 @X0 0 e@156 ] +"1306 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1306: extern volatile unsigned char EEADR __attribute__((address(0x09B))); +[v _EEADR `Vuc ~T0 @X0 0 e@155 ] +"1326 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1326: extern volatile unsigned char EECON1 __attribute__((address(0x09C))); +[v _EECON1 `Vuc ~T0 @X0 0 e@156 ] +"1268 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1268: extern volatile unsigned char EEDATA __attribute__((address(0x09A))); +[v _EEDATA `Vuc ~T0 @X0 0 e@154 ] +"118 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 118: struct { +[s S12 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] +[n S12 . C DC Z nPD nTO RP IRP ] +"127 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 127: struct { +[s S13 :5 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S13 . . RP0 RP1 ] +"132 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 132: struct { +[s S14 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S14 . CARRY . ZERO ] +"117 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 117: typedef union { +[u S11 `S12 1 `S13 1 `S14 1 ] +[n S11 . . . . ] +"138 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 138: extern volatile STATUSbits_t STATUSbits __attribute__((address(0x003))); +[v _STATUSbits `VS11 ~T0 @X0 0 e@3 ] +"332 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 332: struct { +[s S23 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 :1 `uc 1 ] +[n S23 . GPIF INTF T0IF GPIE INTE T0IE PEIE GIE ] +"342 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 342: struct { +[s S24 :2 `uc 1 :1 `uc 1 :2 `uc 1 :1 `uc 1 ] +[n S24 . . TMR0IF . TMR0IE ] +"331 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 331: typedef union { +[u S22 `S23 1 `S24 1 ] +[n S22 . . . ] +"349 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 349: extern volatile INTCONbits_t INTCONbits __attribute__((address(0x00B))); +[v _INTCONbits `VS22 ~T0 @X0 0 e@11 ] +"1364 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1364: extern volatile unsigned char EECON2 __attribute__((address(0x09D))); +[v _EECON2 `Vuc ~T0 @X0 0 e@157 ] +"54 C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 54: __asm("INDF equ 00h"); +[; <" INDF equ 00h ;# "> +"74 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 74: __asm("TMR0 equ 01h"); +[; <" TMR0 equ 01h ;# "> +"94 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 94: __asm("PCL equ 02h"); +[; <" PCL equ 02h ;# "> +"114 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 114: __asm("STATUS equ 03h"); +[; <" STATUS equ 03h ;# "> +"200 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 200: __asm("FSR equ 04h"); +[; <" FSR equ 04h ;# "> +"220 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 220: __asm("GPIO equ 05h"); +[; <" GPIO equ 05h ;# "> +"308 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 308: __asm("PCLATH equ 0Ah"); +[; <" PCLATH equ 0Ah ;# "> +"328 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 328: __asm("INTCON equ 0Bh"); +[; <" INTCON equ 0Bh ;# "> +"406 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 406: __asm("PIR1 equ 0Ch"); +[; <" PIR1 equ 0Ch ;# "> +"454 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 454: __asm("TMR1 equ 0Eh"); +[; <" TMR1 equ 0Eh ;# "> +"461 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 461: __asm("TMR1L equ 0Eh"); +[; <" TMR1L equ 0Eh ;# "> +"481 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 481: __asm("TMR1H equ 0Fh"); +[; <" TMR1H equ 0Fh ;# "> +"501 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 501: __asm("T1CON equ 010h"); +[; <" T1CON equ 010h ;# "> +"566 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 566: __asm("CMCON equ 019h"); +[; <" CMCON equ 019h ;# "> +"625 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 625: __asm("ADRESH equ 01Eh"); +[; <" ADRESH equ 01Eh ;# "> +"645 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 645: __asm("ADCON0 equ 01Fh"); +[; <" ADCON0 equ 01Fh ;# "> +"729 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 729: __asm("OPTION_REG equ 081h"); +[; <" OPTION_REG equ 081h ;# "> +"799 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 799: __asm("TRISIO equ 085h"); +[; <" TRISIO equ 085h ;# "> +"849 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 849: __asm("PIE1 equ 08Ch"); +[; <" PIE1 equ 08Ch ;# "> +"897 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 897: __asm("PCON equ 08Eh"); +[; <" PCON equ 08Eh ;# "> +"931 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 931: __asm("OSCCAL equ 090h"); +[; <" OSCCAL equ 090h ;# "> +"991 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 991: __asm("WPU equ 095h"); +[; <" WPU equ 095h ;# "> +"1036 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1036: __asm("IOC equ 096h"); +[; <" IOC equ 096h ;# "> +"1041 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1041: __asm("IOCB equ 096h"); +[; <" IOCB equ 096h ;# "> +"1210 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1210: __asm("VRCON equ 099h"); +[; <" VRCON equ 099h ;# "> +"1270 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1270: __asm("EEDATA equ 09Ah"); +[; <" EEDATA equ 09Ah ;# "> +"1275 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1275: __asm("EEDAT equ 09Ah"); +[; <" EEDAT equ 09Ah ;# "> +"1308 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1308: __asm("EEADR equ 09Bh"); +[; <" EEADR equ 09Bh ;# "> +"1328 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1328: __asm("EECON1 equ 09Ch"); +[; <" EECON1 equ 09Ch ;# "> +"1366 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1366: __asm("EECON2 equ 09Dh"); +[; <" EECON2 equ 09Dh ;# "> +"1386 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1386: __asm("ADRESL equ 09Eh"); +[; <" ADRESL equ 09Eh ;# "> +"1406 +[; ;C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h: 1406: __asm("ANSEL equ 09Fh"); +[; <" ANSEL equ 09Fh ;# "> +"6 C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: __eecpymem(volatile unsigned char *to, __eeprom unsigned char * from, unsigned char size) +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: } +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: } +[v ___eecpymem `(v ~T0 @X0 1 ef3`*Vuc`*Euc`uc ] +"7 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: { +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: unsigned int +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: +{ +[e :U ___eecpymem ] +"6 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: __eecpymem(volatile unsigned char *to, __eeprom unsigned char * from, unsigned char size) +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: } +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 6: } +[v _to `*Vuc ~T0 @X0 1 r1 ] +[v _from `*Euc ~T0 @X0 1 r2 ] +[v _size `uc ~T0 @X0 1 r3 ] +"7 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: { +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: unsigned int +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 7: +[f ] +"8 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 8: volatile unsigned char *cp = to; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 8: __itoee(__eeprom void *addr, unsigned int data) +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 8: double +[v _cp `*Vuc ~T0 @X0 1 a ] +[e = _cp _to ] +"10 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 10: while (EECON1bits.WR) continue; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 10: __memcpyee(addr,(unsigned char *) &data,2); +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 10: { +[e $U 86 ] +[e :U 87 ] +[e $U 86 ] +[e :U 86 ] +[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 87 ] +[e :U 88 ] +"11 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 11: EEADR = (unsigned char)from; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 11: return data; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 11: double data; +[e = _EEADR -> _from `uc ] +"12 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 12: while(size--) { +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 12: } +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 12: __eecpymem((unsigned char *) &data,addr,4); +[e $U 89 ] +[e :U 90 ] +{ +"13 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 13: while (EECON1bits.WR) continue; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 13: +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 13: return data; +[e $U 92 ] +[e :U 93 ] +[e $U 92 ] +[e :U 92 ] +[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 93 ] +[e :U 94 ] +"15 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 15: EECON1 &= 0x7F; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 15: +[e =& _EECON1 -> -> 127 `i `Vuc ] +"17 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 17: EECON1bits.RD = 1; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 17: __fttoee(__eeprom void *addr, float data) +[e = . . _EECON1bits 0 0 -> -> 1 `i `uc ] +"18 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 18: *cp++ = EEDATA; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 18: { +[e = *U ++ _cp * -> -> 1 `i `x -> -> # *U _cp `i `x _EEDATA ] +"19 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 19: ++EEADR; +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 19: __memcpyee(addr,(unsigned char *) &data,3); +[e =+ _EEADR -> -> 1 `i `Vuc ] +"20 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 20: } +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 20: return data; +} +[e :U 89 ] +"12 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 12: while(size--) { +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 12: } +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 12: __eecpymem((unsigned char *) &data,addr,4); +[e $ != -> -- _size -> -> 1 `i `uc `i -> 0 `i 90 ] +[e :U 91 ] +"36 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 36: } +[e :UE 85 ] +} +"39 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 39: __memcpyee(__eeprom unsigned char * to, const unsigned char *from, unsigned char size) +[v ___memcpyee `(v ~T0 @X0 1 ef3`*Euc`*Cuc`uc ] +"40 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 40: { +{ +[e :U ___memcpyee ] +"39 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 39: __memcpyee(__eeprom unsigned char * to, const unsigned char *from, unsigned char size) +[v _to `*Euc ~T0 @X0 1 r1 ] +[v _from `*Cuc ~T0 @X0 1 r2 ] +[v _size `uc ~T0 @X0 1 r3 ] +"40 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 40: { +[f ] +"41 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 41: const unsigned char *ptr =from; +[v _ptr `*Cuc ~T0 @X0 1 a ] +[e = _ptr _from ] +"43 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 43: while (EECON1bits.WR) continue; +[e $U 96 ] +[e :U 97 ] +[e $U 96 ] +[e :U 96 ] +[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 97 ] +[e :U 98 ] +"44 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 44: EEADR = (unsigned char)to - 1U; +[e = _EEADR -> - -> -> _to `uc `ui -> 1 `ui `uc ] +"46 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 46: EECON1 &= 0x7F; +[e =& _EECON1 -> -> 127 `i `Vuc ] +"48 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 48: while(size--) { +[e $U 99 ] +[e :U 100 ] +{ +"49 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 49: while (EECON1bits.WR) { +[e $U 102 ] +[e :U 103 ] +{ +"50 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 50: continue; +[e $U 102 ] +"51 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 51: } +} +[e :U 102 ] +"49 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 49: while (EECON1bits.WR) { +[e $ != -> . . _EECON1bits 0 1 `i -> 0 `i 103 ] +[e :U 104 ] +"52 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 52: EEDATA = *ptr++; +[e = _EEDATA *U ++ _ptr * -> -> 1 `i `x -> -> # *U _ptr `i `x ] +"53 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 53: ++EEADR; +[e =+ _EEADR -> -> 1 `i `Vuc ] +"54 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 54: STATUSbits.CARRY = 0; +[e = . . _STATUSbits 2 0 -> -> 0 `i `uc ] +"55 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 55: if (INTCONbits.GIE) { +[e $ ! != -> . . _INTCONbits 0 7 `i -> 0 `i 105 ] +{ +"56 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 56: STATUSbits.CARRY = 1; +[e = . . _STATUSbits 2 0 -> -> 1 `i `uc ] +"57 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 57: } +} +[e :U 105 ] +"58 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 58: INTCONbits.GIE = 0; +[e = . . _INTCONbits 0 7 -> -> 0 `i `uc ] +"59 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 59: EECON1bits.WREN = 1; +[e = . . _EECON1bits 0 2 -> -> 1 `i `uc ] +"60 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 60: EECON2 = 0x55; +[e = _EECON2 -> -> 85 `i `uc ] +"61 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 61: EECON2 = 0xAA; +[e = _EECON2 -> -> 170 `i `uc ] +"62 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 62: EECON1bits.WR = 1; +[e = . . _EECON1bits 0 1 -> -> 1 `i `uc ] +"63 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 63: EECON1bits.WREN = 0; +[e = . . _EECON1bits 0 2 -> -> 0 `i `uc ] +"64 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 64: if (STATUSbits.CARRY) { +[e $ ! != -> . . _STATUSbits 2 0 `i -> 0 `i 106 ] +{ +"65 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 65: INTCONbits.GIE = 1; +[e = . . _INTCONbits 0 7 -> -> 1 `i `uc ] +"66 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 66: } +} +[e :U 106 ] +"67 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 67: } +} +[e :U 99 ] +"48 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 48: while(size--) { +[e $ != -> -- _size -> -> 1 `i `uc `i -> 0 `i 100 ] +[e :U 101 ] +"101 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 101: } +[e :UE 95 ] +} +"104 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 104: __eetoc(__eeprom void *addr) +[v ___eetoc `(uc ~T0 @X0 1 ef1`*Ev ] +"105 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 105: { +{ +[e :U ___eetoc ] +"104 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 104: __eetoc(__eeprom void *addr) +[v _addr `*Ev ~T0 @X0 1 r1 ] +"105 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 105: { +[f ] +"106 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 106: unsigned char data; +[v _data `uc ~T0 @X0 1 a ] +"107 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 107: __eecpymem((unsigned char *) &data,addr,1); +[e ( ___eecpymem (3 , , -> &U _data `*Vuc -> _addr `*Euc -> -> 1 `i `uc ] +"108 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 108: return data; +[e ) _data ] +[e $UE 107 ] +"109 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 109: } +[e :UE 107 ] +} +"112 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 112: __eetoi(__eeprom void *addr) +[v ___eetoi `(ui ~T0 @X0 1 ef1`*Ev ] +"113 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 113: { +{ +[e :U ___eetoi ] +"112 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 112: __eetoi(__eeprom void *addr) +[v _addr `*Ev ~T0 @X0 1 r1 ] +"113 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 113: { +[f ] +"114 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 114: unsigned int data; +[v _data `ui ~T0 @X0 1 a ] +"115 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 115: __eecpymem((unsigned char *) &data,addr,2); +[e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 2 `i `uc ] +"116 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 116: return data; +[e ) _data ] +[e $UE 108 ] +"117 +[; ;C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c: 117: } +[e :UE 108 ] +} +"119 +[p k ] +"120 +[p n 2040 ] +"122 +[v ___eetom `(um ~T0 @X0 1 ef1`*Ev ] +"123 +{ +[e :U ___eetom ] +"122 +[v _addr `*Ev ~T0 @X0 1 r1 ] +"123 +[f ] +"124 +[v _data `um ~T0 @X0 1 a ] +"125 +[e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 3 `i `uc ] +"126 +[e ) _data ] +[e $UE 109 ] +"127 +[e :UE 109 ] +} +"128 +[p o ] +"131 +[v ___eetol `(ul ~T0 @X0 1 ef1`*Ev ] +"132 +{ +[e :U ___eetol ] +"131 +[v _addr `*Ev ~T0 @X0 1 r1 ] +"132 +[f ] +"133 +[v _data `ul ~T0 @X0 1 a ] +"134 +[e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 4 `i `uc ] +"135 +[e ) _data ] +[e $UE 110 ] +"136 +[e :UE 110 ] +} +"138 +[p k ] +"139 +[p n 1516 ] +"141 +[v ___eetoo `(uo ~T0 @X0 1 ef1`*Ev ] +"142 +{ +[e :U ___eetoo ] +"141 +[v _addr `*Ev ~T0 @X0 1 r1 ] +"142 +[f ] +"143 +[v _data `uo ~T0 @X0 1 a ] +"144 +[e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 8 `i `uc ] +"145 +[e ) _data ] +[e $UE 111 ] +"146 +[e :UE 111 ] +} +"147 +[p o ] +"150 +[v ___ctoee `(uc ~T0 @X0 1 ef2`*Ev`uc ] +"151 +{ +[e :U ___ctoee ] +"150 +[v _addr `*Ev ~T0 @X0 1 r1 ] +[v _data `uc ~T0 @X0 1 r2 ] +"151 +[f ] +"152 +[e ( ___memcpyee (3 , , -> _addr `*Euc -> &U _data `*Cuc -> -> 1 `i `uc ] +"153 +[e ) _data ] +[e $UE 112 ] +"154 +[e :UE 112 ] +} +"157 +[v ___itoee `(ui ~T0 @X0 1 ef2`*Ev`ui ] +"158 +{ +[e :U ___itoee ] +"157 +[v _addr `*Ev ~T0 @X0 1 r1 ] +[v _data `ui ~T0 @X0 1 r2 ] +"158 +[f ] +"159 +[e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 2 `i `uc ] +"160 +[e ) _data ] +[e $UE 113 ] +"161 +[e :UE 113 ] +} +"163 +[p k ] +"164 +[p n 2040 ] +"166 +[v ___mtoee `(um ~T0 @X0 1 ef2`*Ev`um ] +"167 +{ +[e :U ___mtoee ] +"166 +[v _addr `*Ev ~T0 @X0 1 r1 ] +[v _data `um ~T0 @X0 1 r2 ] +"167 +[f ] +"168 +[e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 3 `i `uc ] +"169 +[e ) _data ] +[e $UE 114 ] +"170 +[e :UE 114 ] +} +"171 +[p o ] +"174 +[v ___ltoee `(ul ~T0 @X0 1 ef2`*Ev`ul ] +"175 +{ +[e :U ___ltoee ] +"174 +[v _addr `*Ev ~T0 @X0 1 r1 ] +[v _data `ul ~T0 @X0 1 r2 ] +"175 +[f ] +"176 +[e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 4 `i `uc ] +"177 +[e ) _data ] +[e $UE 115 ] +"178 +[e :UE 115 ] +} +"180 +[p k ] +"181 +[p n 1516 ] +"183 +[v ___otoee `(uo ~T0 @X0 1 ef2`*Ev`uo ] +"184 +{ +[e :U ___otoee ] +"183 +[v _addr `*Ev ~T0 @X0 1 r1 ] +[v _data `uo ~T0 @X0 1 r2 ] +"184 +[f ] +"185 +[e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 8 `i `uc ] +"186 +[e ) _data ] +[e $UE 116 ] +"187 +[e :UE 116 ] +} +"188 +[p o ] +"191 +[v ___eetoft `(f ~T0 @X0 1 ef1`*Ev ] +"192 +{ +[e :U ___eetoft ] +"191 +[v _addr `*Ev ~T0 @X0 1 r1 ] +"192 +[f ] +"193 +[v _data `f ~T0 @X0 1 a ] +"194 +[e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 3 `i `uc ] +"195 +[e ) _data ] +[e $UE 117 ] +"196 +[e :UE 117 ] +} +"199 +[v ___eetofl `(d ~T0 @X0 1 ef1`*Ev ] +"200 +{ +[e :U ___eetofl ] +"199 +[v _addr `*Ev ~T0 @X0 1 r1 ] +"200 +[f ] +"201 +[v _data `d ~T0 @X0 1 a ] +"202 +[e ( ___eecpymem (3 , , -> -> &U _data `*uc `*Vuc -> _addr `*Euc -> -> 4 `i `uc ] +"203 +[e ) _data ] +[e $UE 118 ] +"204 +[e :UE 118 ] +} +"207 +[v ___fttoee `(f ~T0 @X0 1 ef2`*Ev`f ] +"208 +{ +[e :U ___fttoee ] +"207 +[v _addr `*Ev ~T0 @X0 1 r1 ] +[v _data `f ~T0 @X0 1 r2 ] +"208 +[f ] +"209 +[e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 3 `i `uc ] +"210 +[e ) _data ] +[e $UE 119 ] +"211 +[e :UE 119 ] +} +"214 +[v ___fltoee `(d ~T0 @X0 1 ef2`*Ev`d ] +"215 +{ +[e :U ___fltoee ] +"214 +[v _addr `*Ev ~T0 @X0 1 r1 ] +[v _data `d ~T0 @X0 1 r2 ] +"215 +[f ] +"216 +[e ( ___memcpyee (3 , , -> _addr `*Euc -> -> &U _data `*uc `*Cuc -> -> 4 `i `uc ] +"217 +[e ) _data ] +[e $UE 120 ] +"218 +[e :UE 120 ] +} diff --git a/c_projects/pic_blink/example_v2.X/dist/default/production/example_v2.X.production.cmf b/c_projects/pic_blink/example_v2.X/dist/default/production/example_v2.X.production.cmf new file mode 100644 index 0000000..02bdf5a --- /dev/null +++ b/c_projects/pic_blink/example_v2.X/dist/default/production/example_v2.X.production.cmf @@ -0,0 +1,205 @@ +%CMF +# %PSECTS Section +# For each object file, details of its psects are enumerated here. +# The begining of the section is indicated by %PSECTS. The first +# line indicates the name of the first object file, e.g. +# $foo.obj +# Each line that follows describes a psect in that object file, until +# the next object file. The lines that describe a psect have the +# format: +# +# All addresses and the length are given in unqualified hexadecimal +# in delta units. Any other numeric values are decimal. +%PSECTS +$dist/default/production\example_v2.X.production.o +cinit CODE 0 3FD 3FD 2 2 1 +maintext CODE 0 3EA 3EA 13 2 1 +cstackBANK0 BANK0 1 20 20 1 1 1 +$C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o +end_init CODE 0 0 0 1 2 1 +# %UNUSED Section +# This section enumerates the unused ranges of each CLASS. Each entry +# is described on a single line as follows: +# +# Addresses given in the range are in hexadecimal and units of delta. +%UNUSED +RAM 21-5D 1 +BANK0 21-5D 1 +CONST 1-3E9 2 +ENTRY 1-3E9 2 +IDLOC 2000-2003 2 +CODE 1-3E9 2 +SFR0 0-1F 1 +SFR1 80-DD 1 +CONFIG 2007-2007 2 +EEDATA 2100-217F 2 +STRCODE 1-3E9 2 +STRING 1-3E9 2 +# %LINETAB Section +# This section enumerates the file/line to address mappings. +# The beginning of the section is indicated by %LINETAB. +# The first line indicates the name of the first object file, e.g. +# $foo.obj +# Each line that follows describes a single mapping until the next +# object file. Mappings have the following format: +#
>: +# The address is absolute and given given in unqualified hex +# in delta units of the psect. All mappings within an object file +# are in ascending order of addresses. +# All other numeric values are in decimal. +%LINETAB +$dist/default/production\example_v2.X.production.o +3FD cinit CODE >230:C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_1.s +3FD cinit CODE >233:C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_1.s +3FD cinit CODE >239:C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_1.s +3FD cinit CODE >241:C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_1.s +3FE cinit CODE >242:C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_1.s +3EA maintext CODE >20:C:\Users\xtro\MPLABXProjects\example_v2.X\main.c +3EA maintext CODE >23:C:\Users\xtro\MPLABXProjects\example_v2.X\main.c +3ED maintext CODE >27:C:\Users\xtro\MPLABXProjects\example_v2.X\main.c +3EF maintext CODE >28:C:\Users\xtro\MPLABXProjects\example_v2.X\main.c +3F4 maintext CODE >29:C:\Users\xtro\MPLABXProjects\example_v2.X\main.c +3F6 maintext CODE >30:C:\Users\xtro\MPLABXProjects\example_v2.X\main.c +# %SYMTAB Section +# An enumeration of all symbols in the program. +# The beginning of the section is indicated by %SYMTAB. +# Each line describes a single symbol as follows: +#