Added pic project for 101

This commit is contained in:
xavi 2024-10-24 15:18:43 -07:00
parent 17fadb5151
commit 0c834ca675
28 changed files with 5098 additions and 0 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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 ]
}

View File

@ -0,0 +1,2 @@
build/default/production/main.p1: \
main.c

View File

@ -0,0 +1,2 @@
dist/default/production\__eeprom.p1: \
C:\Program\ Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c

File diff suppressed because it is too large Load Diff

View File

@ -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 ]
}

View File

@ -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:
# <psect name> <class name> <space> <link address> <load addresses> <length> <delta> <reloc>
# 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:
# <class name> <range> <delta>
# 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:
# <address> <psect name> <class name> ><line number>:<file name>
# 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:
# <label> <value> [-]<load-adj> <class> <space> <psect> <file-name>
# The value and load-adj are both in unqualified hexadecimal.
# All other numeric values are in decimal. The load-adj is the
# quantity one needs to add to the symbol value in order to obtain the load
# address of the symbol. This value may be signed. If the symbol
# was defined in a psect then <psect> will be "-". File-name
# is the name of the object file in which the symbol was defined.
%SYMTAB
___latbits 0 0 ABS 0 - dist/default/production\example_v2.X.production.o
__Hspace_0 7FE 0 ABS 0 - -
__Hspace_1 7FE 0 ABS 0 - -
__Hspace_2 7FE 0 ABS 0 - -
__Hspace_3 0 0 ABS 0 - -
__Heeprom_data 0 0 EEDATA 3 eeprom_data -
__L__absolute__ 0 0 ABS 0 __absolute__ -
__Hstrings 7FE 0 ABS 0 strings -
___sp 7FE 0 STACK 2 stack C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
_main 7D4 0 CODE 0 maintext dist/default/production\example_v2.X.production.o
btemp 5E 0 ABS 0 - dist/default/production\example_v2.X.production.o
___stack_hi 7FE 0 STACK 2 stack C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
___stack_lo 7FE 0 STACK 2 stack C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
start 0 0 CODE 0 init C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
__Hpowerup 0 0 CODE 0 powerup -
intlevel0 0 0 ENTRY 0 functab C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
intlevel1 0 0 ENTRY 0 functab C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
intlevel2 0 0 ENTRY 0 functab C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
intlevel3 0 0 ENTRY 0 functab C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
intlevel4 0 0 ENTRY 0 functab C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
intlevel5 0 0 ENTRY 0 functab C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
wtemp0 5E 0 ABS 0 - dist/default/production\example_v2.X.production.o
__Hfunctab 0 0 ENTRY 0 functab -
__Hclrtext 7FE 0 ABS 0 clrtext -
__Lmaintext 7FE 0 ABS 0 maintext -
___stackhi 0 0 ABS 0 - C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
___stacklo 0 0 ABS 0 - C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
start_initialization 7FA 0 CODE 0 cinit dist/default/production\example_v2.X.production.o
__pcstackBANK0 20 0 BANK0 1 cstackBANK0 dist/default/production\example_v2.X.production.o
___int_sp 7FE 0 STACK 2 stack C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
__Hbank0 7FE 0 ABS 0 bank0 -
__Hbank1 7FE 0 BANK1 1 bank1 -
__Hcinit 7FE 0 CODE 0 cinit -
__Hstack 7FE 0 STACK 2 stack -
__Hmaintext 7FE 0 ABS 0 maintext -
__Hcommon 7FE 0 ABS 0 common -
__Lbank0 7FE 0 ABS 0 bank0 -
__Lbank1 7FE 0 BANK1 1 bank1 -
__Lcinit 7FA 0 CODE 0 cinit -
__Lstack 7FE 0 STACK 2 stack -
__Habs1 7FE 0 ABS 0 abs1 -
__Hcode 7FE 0 ABS 0 code -
__Hheap 7FE 0 HEAP 7 heap -
__Hinit 0 0 CODE 0 init -
__Hsfr0 7FE 0 ABS 0 sfr0 -
__Hsfr1 7FE 0 ABS 0 sfr1 -
__Hsivt 0 0 CODE 0 sivt -
__Htext 7FE 0 ABS 0 text -
__Labs1 7FE 0 ABS 0 abs1 -
__Lcode 7FE 0 ABS 0 code -
__Lheap 7FE 0 HEAP 7 heap -
__Linit 0 0 CODE 0 init -
__Lsfr0 7FE 0 ABS 0 sfr0 -
__Lsfr1 7FE 0 ABS 0 sfr1 -
__Lsivt 0 0 CODE 0 sivt -
__Ltext 7FE 0 ABS 0 text -
__LcstackBANK0 7FE 0 ABS 0 cstackBANK0 -
_GP1 29 0 ABS 0 - dist/default/production\example_v2.X.production.o
__S0 3FF 0 ABS 0 - -
__S1 21 0 ABS 0 - -
__S3 0 0 ABS 0 - -
__Hosccal 7FE 0 CODE 0 osccal -
__Lintentry 0 0 CODE 0 intentry -
reset_vec 0 0 CODE 0 reset_vec C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
__pmaintext 7D4 0 CODE 0 maintext dist/default/production\example_v2.X.production.o
__Lcommon 7FE 0 ABS 0 common -
___osccal_val 7FE 0 CODE 0 osccal C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
__Lspace_0 0 0 ABS 0 - -
__Lspace_1 0 0 ABS 0 - -
__Lspace_2 0 0 ABS 0 - -
__Lspace_3 0 0 ABS 0 - -
__HcstackBANK0 7FE 0 ABS 0 cstackBANK0 -
__Lend_init 0 0 CODE 0 end_init -
end_of_initialization 7FA 0 CODE 0 cinit dist/default/production\example_v2.X.production.o
__Hintentry 0 0 CODE 0 intentry -
__Losccal 7FE 0 CODE 0 osccal -
__Lstrings 7FE 0 ABS 0 strings -
__Hreset_vec 0 0 CODE 0 reset_vec -
__Lpowerup 0 0 CODE 0 powerup -
__Leeprom_data 0 0 EEDATA 3 eeprom_data -
__H__absolute__ 0 0 ABS 0 __absolute__ -
__Lreset_vec 0 0 CODE 0 reset_vec -
___heap_hi 0 0 ABS 0 - C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
___heap_lo 0 0 ABS 0 - C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
__end_of__initialization 7FA 0 CODE 0 cinit dist/default/production\example_v2.X.production.o
__Lfunctab 0 0 ENTRY 0 functab -
__Lclrtext 7FE 0 ABS 0 clrtext -
__Hend_init 2 0 CODE 0 end_init -
__end_of_main 7FA 0 CODE 0 maintext dist/default/production\example_v2.X.production.o
__Hram 7FE 0 ABS 0 ram -
__Lram 7FE 0 ABS 0 ram -
__initialization 7FA 0 CODE 0 cinit dist/default/production\example_v2.X.production.o
___int_stack_hi 7FE 0 STACK 2 stack C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
___int_stack_lo 7FE 0 STACK 2 stack C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
# %SPLITSTAB Section
# This section enumerates all the psect splits performed by the assembler.
# The beginning of the section is indicated by %SPLITSTAB.
# Each line is a record a particular split, where the parent psect is on
# the left and the child on the right. Note that a child psect is always
# split form the top of the parent psect. All splits from a given parent
# are listed in the order in which they occurred.
%SPLITSTAB
# %DABS Section
# This section contains a table of all usuage of the assember
# directive DABS in the program. Each line has the following format:
# <name> <space> <address> <size>
# If the DABS was originally labelled then that shall be <name>,
# otherwise name will be "-". The <space> number is in decimal.
# <address> and <size> are in byte units as unqaulified hexadecimal
%DABS
- 1 5E 2
# %SEGMENTS Section
# This sections enumerates the segments of the program. Each segment
# is described on a single line as follows:
# <name> <space> <link address> <file address> <size> <delta>
# Addresses and size are in unqualified hexadecimal. The link address
# and size are in units of delta. The file address is in units of bytes.
# All other numeric quantities are in decimal.
%SEGMENTS
cinit 0 3FD 7FA 2 2
maintext 0 3EA 7D4 13 2
cstackBANK0 1 20 20 1 1
reset_vec 0 0 0 1 2
# %NOTES Section
# This section contains data of all the note-psects. The beginning of the section
# is indicated by %NOTES. The first line indicates the name and decimal
# byte-length of the first note-psect, e.g.
# $codecov_info_hdr 16
# Each line that follows contains the byte-data of the psect in hexadecimal as a
# space-separated list. These lines are limited to 16 bytes of data.
%NOTES

View File

@ -0,0 +1,5 @@
:02000000FD2BD6
:1007D400FD3083168505831285141630A000A00B06
:1007E400F12B0000831285100D30A000A00BF82B14
:0A07F400FB2BED2B00288301EA2BFC
:00000001FF

View File

@ -0,0 +1,28 @@
### HEXMate logfile and output summary ###
### Command-line arguments ###
C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_3.o
-Odist/default/production\example_v2.X.production.hex
-logfile=dist/default/production\example_v2.X.production.hxl
-addressing=2
### Memory Usage ###
Input file ranges:
0h - 1h (C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_3.o)
7D4h - 7FDh (C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_3.o)
Unused ranges:
2h - 7D3h
### Hex Memory Map ###
Legend:
-- = Unused memory
H1 = Input file (C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_3.o)
----------------------------------------------------------
| 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
----------------------------------------------------------
00000000 | H1 H1 -- -- -- -- -- -- -- -- -- -- -- -- -- --
----------------------------------------------------------
000007D0 | -- -- -- -- H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1
000007E0 | H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1
000007F0 | H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 H1 -- --
00000800 | --

View File

@ -0,0 +1,293 @@
Microchip MPLAB XC8 Assembler V2.50 build 20240725155939
Thu Oct 24 15:02:38 2024
Microchip MPLAB XC8 C Compiler v2.50 (Free license) build 20240725155939 Og1
1 processor 12F675
2 pagewidth 120
3 opt flic
4 psect cinit,global,class=CODE,space=0,merge=1,delta=2
5 psect cstackBANK0,global,class=BANK0,space=1,delta=1,noexec
6 psect maintext,global,class=CODE,space=0,split=1,delta=2
7 dabs 1,0x5E,2
8 0000
9 ; Generated 17/08/2023 GMT
10 ;
11 ; Copyright © 2023, Microchip Technology Inc. and its subsidiaries ("Microchip")
12 ; All rights reserved.
13 ;
14 ; This software is developed by Microchip Technology Inc. and its subsidiaries ("Microch
+ ip").
15 ;
16 ; Redistribution and use in source and binary forms, with or without modification, are
17 ; permitted provided that the following conditions are met:
18 ;
19 ; 1. Redistributions of source code must retain the above copyright notice, this lis
+ t of
20 ; conditions and the following disclaimer.
21 ;
22 ; 2. Redistributions in binary form must reproduce the above copyright notice, this
+ list
23 ; of conditions and the following disclaimer in the documentation and/or other
24 ; materials provided with the distribution. Publication is not required when
25 ; this file is used in an embedded application.
26 ;
27 ; 3. Microchip's name may not be used to endorse or promote products derived from th
+ is
28 ; software without specific prior written permission.
29 ;
30 ; THIS SOFTWARE IS PROVIDED BY MICROCHIP "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
31 ; INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS F
+ OR
32 ; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROCHIP BE LIABLE FOR ANY DIRECT, INDIREC
+ T,
33 ; INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO
34 ; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS
35 ; INTERRUPTION) HOWSOEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, ST
+ RICT
36 ; LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE U
+ SE OF
37 ; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 ;
39 ;
40 ; Code-generator required, PIC12F675 Definitions
41 ;
42 ; SFR Addresses
43 0004 fsr equ 4
44 0004 fsr0 equ 4
45 0000 indf equ 0
46 0000 indf0 equ 0
47 0002 pc equ 2
48 0002 pcl equ 2
49 000A pclath equ 10
50 0003 status equ 3
51 0000 INDF equ 0 ;#
52 0001 TMR0 equ 1 ;#
53 0002 PCL equ 2 ;#
54 0003 STATUS equ 3 ;#
55 0004 FSR equ 4 ;#
56 0005 GPIO equ 5 ;#
57 000A PCLATH equ 10 ;#
58 000B INTCON equ 11 ;#
59 000C PIR1 equ 12 ;#
60 000E TMR1 equ 14 ;#
61 000E TMR1L equ 14 ;#
62 000F TMR1H equ 15 ;#
63 0010 T1CON equ 16 ;#
64 0019 CMCON equ 25 ;#
65 001E ADRESH equ 30 ;#
66 001F ADCON0 equ 31 ;#
67 0081 OPTION_REG equ 129 ;#
68 0085 TRISIO equ 133 ;#
69 008C PIE1 equ 140 ;#
70 008E PCON equ 142 ;#
71 0090 OSCCAL equ 144 ;#
72 0095 WPU equ 149 ;#
73 0096 IOC equ 150 ;#
74 0096 IOCB equ 150 ;#
75 0099 VRCON equ 153 ;#
76 009A EEDATA equ 154 ;#
77 009A EEDAT equ 154 ;#
78 009B EEADR equ 155 ;#
79 009C EECON1 equ 156 ;#
80 009D EECON2 equ 157 ;#
81 009E ADRESL equ 158 ;#
82 009F ANSEL equ 159 ;#
83 0000 INDF equ 0 ;#
84 0001 TMR0 equ 1 ;#
85 0002 PCL equ 2 ;#
86 0003 STATUS equ 3 ;#
87 0004 FSR equ 4 ;#
88 0005 GPIO equ 5 ;#
89 000A PCLATH equ 10 ;#
90 000B INTCON equ 11 ;#
91 000C PIR1 equ 12 ;#
92 000E TMR1 equ 14 ;#
93 000E TMR1L equ 14 ;#
94 000F TMR1H equ 15 ;#
95 0010 T1CON equ 16 ;#
96 0019 CMCON equ 25 ;#
97 001E ADRESH equ 30 ;#
98 001F ADCON0 equ 31 ;#
99 0081 OPTION_REG equ 129 ;#
100 0085 TRISIO equ 133 ;#
101 008C PIE1 equ 140 ;#
102 008E PCON equ 142 ;#
103 0090 OSCCAL equ 144 ;#
104 0095 WPU equ 149 ;#
105 0096 IOC equ 150 ;#
106 0096 IOCB equ 150 ;#
107 0099 VRCON equ 153 ;#
108 009A EEDATA equ 154 ;#
109 009A EEDAT equ 154 ;#
110 009B EEADR equ 155 ;#
111 009C EECON1 equ 156 ;#
112 009D EECON2 equ 157 ;#
113 009E ADRESL equ 158 ;#
114 009F ANSEL equ 159 ;#
115 0029 _GP1 set 41
116
117 psect cinit
118 03FD start_initialization:
119 ; #config settings
120
121 03FD __initialization:
122 03FD end_of_initialization:
123 ;End of C runtime variable initialization code
124
125 03FD __end_of__initialization:
126 03FD 0183 clrf 3
127 03FE 2BEA ljmp _main ;jump to C main() function
128
129 psect cstackBANK0
130 0020 __pcstackBANK0:
131 0020 ?_main:
132 0020 ??_main:
133 ; 1 bytes @ 0x0
134
135
136 ; 1 bytes @ 0x0
137 0020 ds 1
138
139 psect maintext
140 03EA __pmaintext:
141 ;;
142 ;;Main: autosize = 0, tempsize = 1, incstack = 0, save=0
143 ;;
144 ;; *************** function _main *****************
145 ;; Defined at:
146 ;; line 20 in file "main.c"
147 ;; Parameters: Size Location Type
148 ;; None
149 ;; Auto vars: Size Location Type
150 ;; None
151 ;; Return value: Size Location Type
152 ;; 1 wreg void
153 ;; Registers used:
154 ;; wreg, status,2, status,0
155 ;; Tracked objects:
156 ;; On entry : B00/0
157 ;; On exit : 0/0
158 ;; Unchanged: 0/0
159 ;; Data sizes: COMMON BANK0
160 ;; Params: 0 0
161 ;; Locals: 0 0
162 ;; Temps: 0 1
163 ;; Totals: 0 1
164 ;;Total ram usage: 1 bytes
165 ;; This function calls:
166 ;; Nothing
167 ;; This function is called by:
168 ;; Startup code after reset
169 ;; This function uses a non-reentrant model
170 ;;
171
172 03EA _main:
173 ;psect for function _main
174
175 03EA l566:
176 ;incstack = 0
177 ; Regs used in _main: [wreg+status,2+status,0]
178
179
180 ;main.c: 23: *(volatile uint8_t*) 0x00000085 &= ~(1 << 1);
181 03EA 30FD movlw 253
182 03EB 1683 bsf 3,5 ;RP0=1, select bank1
183 03EC 0585 andwf 5,f ;volatile
184 03ED l568:
185
186 ;main.c: 26: {;main.c: 27: GP1 = 1;
187 03ED 1283 bcf 3,5 ;RP0=0, select bank0
188 03EE 1485 bsf 5,1 ;volatile
189 03EF l570:
190
191 ;main.c: 28: _delay(110 * .6 + 2);
192 03EF 3016 movlw 22
193 03F0 00A0 movwf ??_main
194 03F1 u17:
195 03F1 0BA0 decfsz ??_main,f
196 03F2 2BF1 goto u17
197 03F3 0000 nop
198 03F4 l572:
199
200 ;main.c: 29: GP1 = 0;
201 03F4 1283 bcf 3,5 ;RP0=0, select bank0
202 03F5 1085 bcf 5,1 ;volatile
203 03F6 l574:
204
205 ;main.c: 30: _delay(110 * (1 - .6) - 2);
206 03F6 300D movlw 13
207 03F7 00A0 movwf ??_main
208 03F8 u27:
209 03F8 0BA0 decfsz ??_main,f
210 03F9 2BF8 goto u27
211 03FA 2BFB nop2
212 03FB 2BED goto l568
213 03FC 2800 ljmp start
214 03FD __end_of_main:
215 0000 ___latbits equ 0
216 005E btemp set 94 ;btemp
217 005E wtemp0 set 94
Data Sizes:
Strings 0
Constant 0
Data 0
BSS 0
Persistent 0
Stack 0
Auto Spaces:
Space Size Autos Used
COMMON 0 0 0
BANK0 62 1 1
Pointer List with Targets:
None.
Critical Paths under _main in COMMON
None.
Critical Paths under _main in BANK0
None.
Call Graph Tables:
---------------------------------------------------------------------------------
(Depth) Function Calls Base Space Used Autos Params Refs
---------------------------------------------------------------------------------
(0) _main 1 1 0 0
0 BANK0 1 1 0
---------------------------------------------------------------------------------
Estimated maximum stack depth 0
---------------------------------------------------------------------------------
Call Graph Graphs:
_main (ROOT)
Address spaces:
Name Size Autos Total Usage
BITCOMMON 0 0 0 0.0%
BITBANK0 62 0 0 0.0%
COMMON 0 0 0 0.0%
BANK0 62 1 1 1.6%
STACK 0 0 0 0.0%
DATA 0 0 1 0.0%
Microchip Technology PIC Macro Assembler V2.50 build 20240725155939
Symbol Table Thu Oct 24 15:02:38 2024
u17 03F1 u27 03F8 l570 03EF
l572 03F4 l574 03F6 l566 03EA
l568 03ED _GP1 0029 _main 03EA
btemp 005E start 0000 ?_main 0020
status 0003 wtemp0 005E __initialization 03FD
__end_of_main 03FD ??_main 0020 __end_of__initialization 03FD
__pmaintext 03EA end_of_initialization 03FD start_initialization 03FD
___latbits 0000 __pcstackBANK0 0020

View File

@ -0,0 +1,215 @@
Microchip MPLAB XC8 Compiler V2.50
Linker command line:
-W-3 \
--edf=C:\Program Files\Microchip\xc8\v2.50\pic\dat\20240725155939_en.msgs \
-cn -h+dist/default/production\example_v2.X.production.sym \
--cmf=dist/default/production\example_v2.X.production.cmf -z -Q12F675 \
-oC:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_3.o \
--defsym=__MPLAB_BUILD=1 --fixupoverflow=error \
-Mdist/default/production/example_v2.X.production.map \
--md=C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_0.dat -E1 \
-ver=XC8 Compiler --acfsm=1493 -ACODE=00h-03FEh -ASTRCODE=00h-03FEh \
-ASTRING=00h-0FFhx3,0300h-03FEh -ACONST=00h-0FFhx3,0300h-03FEh \
-AENTRY=00h-0FFhx3,0300h-03FEh -ABANK0=020h-05Dh -ARAM=020h-05Dh \
-AABS1=020h-05Fh -ACOMMON=05Eh-05Fh -ASFR0=00h-01Fh -ASFR1=080h-0DDh \
-ACONFIG=02007h-02007h -DCONFIG=2 -AIDLOC=02000h-02003h -DIDLOC=2 \
-AEEDATA=00h-07Fh/02100h -peeprom_data=EEDATA -DEEDATA=2 -DCODE=2 \
-DSTRCODE=2 -DSTRING=2 -DCONST=2 -DENTRY=2 \
-preset_vec=00h,intentry,sivt,init,end_init -ppowerup=CODE -pcinit=CODE \
-pfunctab=ENTRY -posccal=03FFh -k \
C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o \
dist/default/production\example_v2.X.production.o
Object code version is 3.11
Machine type is 12F675
Name Link Load Length Selector Space Scale
C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_12.o
end_init 0 0 1 0 0
dist/default/production\example_v2.X.production.o
cinit 3FD 3FD 2 7FA 0
maintext 3EA 3EA 13 7D4 0
cstackBANK0 20 20 1 20 1
TOTAL Name Link Load Length Space
CLASS CODE
end_init 0 0 1 0
cinit 3FD 3FD 2 0
maintext 3EA 3EA 13 0
CLASS STRCODE
CLASS STRING
CLASS CONST
CLASS ENTRY
CLASS BANK0
cstackBANK0 20 20 1 1
CLASS RAM
CLASS ABS1
abs_s1 5E 5E 2 1
CLASS COMMON
CLASS SFR0
CLASS SFR1
CLASS CONFIG
CLASS IDLOC
CLASS EEDATA
CLASS BANK1
CLASS HEAP
CLASS STACK
SEGMENTS Name Load Length Top Selector Space Class Delta
reset_vec 000000 000001 000001 0 0 CODE 2
cstackBANK0 000020 000001 000021 20 1 BANK0 1
maintext 0003EA 000013 0003FD 7D4 0 CODE 2
cinit 0003FD 000002 0003FF 7FA 0 CODE 2
UNUSED ADDRESS RANGES
Name Unused Largest block Delta
BANK0 021-05D 3D 1
CODE 001-3E9 3E9 2
CONFIG 2007-2007 1 2
CONST 001-3E9 100 2
EEDATA 2100-217F 80 2
ENTRY 001-3E9 100 2
IDLOC 2000-2003 4 2
RAM 021-05D 3D 1
SFR0 000-01F 20 1
SFR1 080-0DD 5E 1
STRCODE 001-3E9 3E9 2
STRING 001-3E9 100 2
Symbol Table
_GP1 (abs) 029
__H__absolute__ __absolute__ 000
__Habs1 abs1 7FE
__Hbank0 bank0 7FE
__Hbank1 bank1 7FE
__Hcinit cinit 3FF
__Hclrtext clrtext 7FE
__Hcode code 7FE
__Hcommon common 7FE
__HcstackBANK0 cstackBANK0 7FE
__Heeprom_data eeprom_data 000
__Hend_init end_init 001
__Hfunctab functab 000
__Hheap heap 7FE
__Hinit init 000
__Hintentry intentry 000
__Hmaintext maintext 7FE
__Hosccal osccal 3FF
__Hpowerup powerup 000
__Hram ram 7FE
__Hreset_vec reset_vec 000
__Hsfr0 sfr0 7FE
__Hsfr1 sfr1 7FE
__Hsivt sivt 000
__Hspace_0 (abs) 7FE
__Hspace_1 (abs) 7FE
__Hspace_2 (abs) 7FE
__Hspace_3 (abs) 000
__Hstack stack 7FE
__Hstrings strings 7FE
__Htext text 7FE
__L__absolute__ __absolute__ 000
__Labs1 abs1 7FE
__Lbank0 bank0 7FE
__Lbank1 bank1 7FE
__Lcinit cinit 3FD
__Lclrtext clrtext 7FE
__Lcode code 7FE
__Lcommon common 7FE
__LcstackBANK0 cstackBANK0 7FE
__Leeprom_data eeprom_data 000
__Lend_init end_init 000
__Lfunctab functab 000
__Lheap heap 7FE
__Linit init 000
__Lintentry intentry 000
__Lmaintext maintext 7FE
__Losccal osccal 3FF
__Lpowerup powerup 000
__Lram ram 7FE
__Lreset_vec reset_vec 000
__Lsfr0 sfr0 7FE
__Lsfr1 sfr1 7FE
__Lsivt sivt 000
__Lspace_0 (abs) 000
__Lspace_1 (abs) 000
__Lspace_2 (abs) 000
__Lspace_3 (abs) 000
__Lstack stack 7FE
__Lstrings strings 7FE
__Ltext text 7FE
__S0 (abs) 3FF
__S1 (abs) 021
__S3 (abs) 000
___heap_hi (abs) 000
___heap_lo (abs) 000
___int_sp stack 7FE
___int_stack_hi stack 7FE
___int_stack_lo stack 7FE
___latbits (abs) 000
___osccal_val osccal 3FF
___sp stack 7FE
___stack_hi stack 7FE
___stack_lo stack 7FE
___stackhi (abs) 000
___stacklo (abs) 000
__end_of__initialization cinit 3FD
__end_of_main maintext 3FD
__initialization cinit 3FD
__pcstackBANK0 cstackBANK0 020
__pmaintext maintext 3EA
_main maintext 3EA
btemp (abs) 05E
end_of_initialization cinit 3FD
intlevel0 functab 000
intlevel1 functab 000
intlevel2 functab 000
intlevel3 functab 000
intlevel4 functab 000
intlevel5 functab 000
reset_vec reset_vec 000
start init 000
start_initialization cinit 3FD
wtemp0 (abs) 05E
MODULE INFORMATION
Module Function Class Link Load Size
shared
__initialization CODE 03FD 0000 1
shared estimated size: 1
main.c
_main CODE 03EA 0000 19
main.c estimated size: 19

View File

@ -0,0 +1,8 @@
12F675 Memory Summary:
Program space used 16h ( 22) of 400h words ( 2.1%)
Data space used 3h ( 3) of 40h bytes ( 4.7%)
EEPROM space used 0h ( 0) of 80h bytes ( 0.0%)
Configuration bits used 0h ( 0) of 1h word ( 0.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)

View File

@ -0,0 +1,22 @@
[p GLOBOPT AUTOSTATIC IEEE_DBL IEEE_FLT PIC14 PICREGULAR PICMID ]
[d version 1.1 ]
[d edition pro ]
[d chip 12F675 ]
[d frameptr 0 ]
"10 C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\common\sprcadd.c
[v ___fladd __fladd `(d 1 e 4 0 ]
"4 C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\common\Umul8_16.c
[v __Umul8_16 _Umul8_16 `(ui 1 e 2 0 ]
"6 C:\Program Files\Microchip\xc8\v2.50\pic\sources\c99\pic\__eeprom.c
[v ___eecpymem __eecpymem `(v 1 e 1 0 ]
"39
[v ___memcpyee __memcpyee `(v 1 e 1 0 ]
"20 C:\Users\xtro\MPLABXProjects\example_v2.X\main.c
[v _main main `(v 1 e 1 0 ]
"1592 C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178/xc8\pic\include\proc\pic12f675.h
[v _GP1 GP1 `VEb 1 e 0 @41 ]
"20 C:\Users\xtro\MPLABXProjects\example_v2.X\main.c
[v _main main `(v 1 e 1 0 ]
{
"32
} 0

View File

@ -0,0 +1,114 @@
_GP1 29 0 ABS 0
__S0 3FF 0 ABS 0
__S1 21 0 ABS 0
__S3 0 0 ABS 0
__Hintentry 0 0 CODE 0
__Lintentry 0 0 CODE 0
_main 3EA 0 CODE 0
___sp 7FE 0 STACK 2
btemp 5E 0 ABS 0
start 0 0 CODE 0
reset_vec 0 0 CODE 0
wtemp0 5E 0 ABS 0
__Hosccal 3FF 0 CODE 0
__Losccal 3FF 0 CODE 0
___osccal_val 3FF 0 CODE 0
__Hram 7FE 0 ABS 0
__Lram 7FE 0 ABS 0
___int_stack_hi 7FE 0 STACK 2
__Hfunctab 0 0 ENTRY 0
__Lfunctab 0 0 ENTRY 0
__Hcommon 7FE 0 ABS 0
__Lcommon 7FE 0 ABS 0
__Heeprom_data 0 0 EEDATA 3
__Leeprom_data 0 0 EEDATA 3
___int_sp 7FE 0 STACK 2
__Habs1 7FE 0 ABS 0
__Labs1 7FE 0 ABS 0
__Hsfr0 7FE 0 ABS 0
__Lsfr0 7FE 0 ABS 0
__Hsfr1 7FE 0 ABS 0
__Lsfr1 7FE 0 ABS 0
___heap_hi 0 0 ABS 0
___stackhi 0 0 ABS 0
__Hcode 7FE 0 ABS 0
__Lcode 7FE 0 ABS 0
__Hheap 7FE 0 HEAP 7
__Lheap 7FE 0 HEAP 7
__HcstackBANK0 7FE 0 ABS 0
__LcstackBANK0 7FE 0 ABS 0
__pcstackBANK0 20 0 BANK0 1
__Hinit 0 0 CODE 0
__Linit 0 0 CODE 0
__end_of_main 3FD 0 CODE 0
__Hsivt 0 0 CODE 0
__Htext 7FE 0 ABS 0
__Lsivt 0 0 CODE 0
__Ltext 7FE 0 ABS 0
___heap_lo 0 0 ABS 0
end_of_initialization 3FD 0 CODE 0
___stacklo 0 0 ABS 0
__Hstrings 7FE 0 ABS 0
__Lstrings 7FE 0 ABS 0
__Hbank0 7FE 0 ABS 0
__Lbank0 7FE 0 ABS 0
__Hbank1 7FE 0 BANK1 1
__Lbank1 7FE 0 BANK1 1
___latbits 0 0 ABS 0
__Hpowerup 0 0 CODE 0
__Lpowerup 0 0 CODE 0
___stack_hi 7FE 0 STACK 2
__Hclrtext 7FE 0 ABS 0
__Lclrtext 7FE 0 ABS 0
__end_of__initialization 3FD 0 CODE 0
__H__absolute__ 0 0 ABS 0
__L__absolute__ 0 0 ABS 0
__Hstack 7FE 0 STACK 2
__Lstack 7FE 0 STACK 2
__Hspace_0 7FE 0 ABS 0
__Lspace_0 0 0 ABS 0
__Hspace_1 7FE 0 ABS 0
__Lspace_1 0 0 ABS 0
__Hspace_2 7FE 0 ABS 0
__Lspace_2 0 0 ABS 0
__Hcinit 3FF 0 CODE 0
__Lcinit 3FD 0 CODE 0
__Hspace_3 0 0 ABS 0
__Lspace_3 0 0 ABS 0
___stack_lo 7FE 0 STACK 2
__Hend_init 1 0 CODE 0
__Lend_init 0 0 CODE 0
__Hreset_vec 0 0 CODE 0
__Lreset_vec 0 0 CODE 0
intlevel0 0 0 ENTRY 0
intlevel1 0 0 ENTRY 0
intlevel2 0 0 ENTRY 0
intlevel3 0 0 ENTRY 0
intlevel4 0 0 ENTRY 0
intlevel5 0 0 ENTRY 0
start_initialization 3FD 0 CODE 0
___int_stack_lo 7FE 0 STACK 2
__Hmaintext 7FE 0 ABS 0
__Lmaintext 7FE 0 ABS 0
__pmaintext 3EA 0 CODE 0
__initialization 3FD 0 CODE 0
%segments
reset_vec 0 1 CODE 0 0
cinit 7FA 7FD CODE 7FA 0
cstackBANK0 20 20 BANK0 20 1
maintext 7D4 7F9 CODE 7D4 0
%locals
dist/default/production\example_v2.X.production.o
C:\Users\xtro\AppData\Local\Temp\xcAsehg.\driver_tmp_1.s
230 3FD 0 CODE 0
233 3FD 0 CODE 0
239 3FD 0 CODE 0
241 3FD 0 CODE 0
242 3FE 0 CODE 0
main.c
20 3EA 0 CODE 0
23 3EA 0 CODE 0
27 3ED 0 CODE 0
28 3EF 0 CODE 0
29 3F4 0 CODE 0
30 3F6 0 CODE 0

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<executable name="dist/default/production\example_v2.X.production.hex">
<memory name="program">
<units>words</units>
<length>1024</length>
<used>22</used>
<free>1002</free>
</memory>
<memory name="data">
<units>bytes</units>
<length>64</length>
<used>3</used>
<free>61</free>
</memory>
</executable>
</project>

View File

@ -0,0 +1,32 @@
//
// PIC12F675 example: blink an LED on pin GP5
// Written by Ted Burke - 18-2-2017
//
// To compile:
//
// xc8 --chip=12F675 main.c
//
#include <xc.h>
#include <stdio.h>
#include <stdint.h>
#define DUTY_CYCLE_HIGH .6
#define DUTY_CYCLE_LOW (1 - DUTY_CYCLE_HIGH)
#define PERIOD 110 // in microseconds
#define OFFSET 2
#define DDR (volatile uint8_t*) 0x00000085
#define PIN6 1
void main(void)
{
*DDR &= ~(1 << PIN6);
while(1)
{
GP1 = 1; // Set pin GP5 high
_delay(PERIOD * DUTY_CYCLE_HIGH + OFFSET); // 0.5 second delay
GP1 = 0; // Set pin GP5 low
_delay(PERIOD * DUTY_CYCLE_LOW - OFFSET); // 0.5 second delay
}
}

View File

@ -0,0 +1,158 @@
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a -pre and a -post target defined where you can add customized code.
#
# This makefile implements configuration specific macros and targets.
# Include project Makefile
ifeq "${IGNORE_LOCAL}" "TRUE"
# do not include local makefile. User is passing all local related variables already
else
include Makefile
# Include makefile containing local settings
ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
include nbproject/Makefile-local-default.mk
endif
endif
# Environment
MKDIR=gnumkdir -p
RM=rm -f
MV=mv
CP=cp
# Macros
CND_CONF=default
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
IMAGE_TYPE=debug
OUTPUT_SUFFIX=elf
DEBUGGABLE_SUFFIX=elf
FINAL_IMAGE=${DISTDIR}/example_v2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
else
IMAGE_TYPE=production
OUTPUT_SUFFIX=hex
DEBUGGABLE_SUFFIX=elf
FINAL_IMAGE=${DISTDIR}/example_v2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
endif
ifeq ($(COMPARE_BUILD), true)
COMPARISON_BUILD=-mafrlcsj
else
COMPARISON_BUILD=
endif
# Object Directory
OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
# Distribution Directory
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
# Source Files Quoted if spaced
SOURCEFILES_QUOTED_IF_SPACED=main.c
# Object Files Quoted if spaced
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/main.p1
POSSIBLE_DEPFILES=${OBJECTDIR}/main.p1.d
# Object Files
OBJECTFILES=${OBJECTDIR}/main.p1
# Source Files
SOURCEFILES=main.c
CFLAGS=
ASFLAGS=
LDLIBSOPTIONS=
############# Tool locations ##########################################
# If you copy a project from one host to another, the path where the #
# compiler is installed may be different. #
# If you open this project with MPLAB X in the new host, this #
# makefile will be regenerated and the paths will be corrected. #
#######################################################################
# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
FIXDEPS=fixDeps
.build-conf: ${BUILD_SUBPROJECTS}
ifneq ($(INFORMATION_MESSAGE), )
@echo $(INFORMATION_MESSAGE)
endif
${MAKE} -f nbproject/Makefile-default.mk ${DISTDIR}/example_v2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
MP_PROCESSOR_OPTION=12F675
# ------------------------------------------------------------------------------------
# Rules for buildStep: compile
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/main.p1.d
@${RM} ${OBJECTDIR}/main.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -mdebugger=icd3 -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits $(COMPARISON_BUILD) -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c
@-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d
@${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
else
${OBJECTDIR}/main.p1: main.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/main.p1.d
@${RM} ${OBJECTDIR}/main.p1
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=$(CND_CONF) -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits $(COMPARISON_BUILD) -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o ${OBJECTDIR}/main.p1 main.c
@-${MV} ${OBJECTDIR}/main.d ${OBJECTDIR}/main.p1.d
@${FIXDEPS} ${OBJECTDIR}/main.p1.d $(SILENT) -rsi ${MP_CC_DIR}../
endif
# ------------------------------------------------------------------------------------
# Rules for buildStep: assemble
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
else
endif
# ------------------------------------------------------------------------------------
# Rules for buildStep: assembleWithPreprocess
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
else
endif
# ------------------------------------------------------------------------------------
# Rules for buildStep: link
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
${DISTDIR}/example_v2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${DISTDIR}
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/example_v2.X.${IMAGE_TYPE}.map -D__DEBUG=1 -mdebugger=icd3 -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/example_v2.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED}
@${RM} ${DISTDIR}/example_v2.X.${IMAGE_TYPE}.hex
else
${DISTDIR}/example_v2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} ${DISTDIR}
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/example_v2.X.${IMAGE_TYPE}.map -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -mno-default-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/example_v2.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED}
endif
# Subprojects
.build-subprojects:
# Subprojects
.clean-subprojects:
# Clean Targets
.clean-conf: ${CLEAN_SUBPROJECTS}
${RM} -r ${OBJECTDIR}
${RM} -r ${DISTDIR}
# Enable dependency checking
.dep.inc: .depcheck-impl
DEPFILES=$(wildcard ${POSSIBLE_DEPFILES})
ifneq (${DEPFILES},)
include ${DEPFILES}
endif

View File

@ -0,0 +1,13 @@
#
#Thu Oct 24 13:54:58 PDT 2024
default.languagetoolchain.version=2.50
default.Pack.dfplocation=C\:\\Program Files\\Microchip\\MPLABX\\v6.20\\packs\\Microchip\\PIC10-12Fxxx_DFP\\1.7.178
conf.ids=default
default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc8\\v2.50\\bin
default.com-microchip-mplab-mdbcore-ICD3Tool-ICD3DbgToolManager.md5=474c0967ce892cfcdca57e22d8f62532
host.id=4q0k-dtjo-6
configurations-xml=71cd65183156821930f79764b52f1bc8
com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=f612087c95360c842296d189edfe3321
default.com-microchip-mplab-nbide-toolchain-xc8-XC8LanguageToolchain.md5=bf89cdcdd6c0a49174fe4b605ef2b42d
proj.dir=C\:\\Users\\xtro\\MPLABXProjects\\example_v2.X
host.platform=windows

View File

@ -0,0 +1,69 @@
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a pre- and a post- target defined where you can add customization code.
#
# This makefile implements macros and targets common to all configurations.
#
# NOCDDL
# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
# and .clean-reqprojects-conf unless SUB has the value 'no'
SUB_no=NO
SUBPROJECTS=${SUB_${SUB}}
BUILD_SUBPROJECTS_=.build-subprojects
BUILD_SUBPROJECTS_NO=
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
CLEAN_SUBPROJECTS_=.clean-subprojects
CLEAN_SUBPROJECTS_NO=
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
# Project Name
PROJECTNAME=example_v2.X
# Active Configuration
DEFAULTCONF=default
CONF=${DEFAULTCONF}
# All Configurations
ALLCONFS=default
# build
.build-impl: .build-pre
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
# clean
.clean-impl: .clean-pre
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
# clobber
.clobber-impl: .clobber-pre .depcheck-impl
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
# all
.all-impl: .all-pre .depcheck-impl
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
# dependency checking support
.depcheck-impl:
# @echo "# This code depends on make tool being used" >.dep.inc
# @if [ -n "${MAKE_VERSION}" ]; then \
# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
# echo "include \$${DEPFILES}" >>.dep.inc; \
# echo "endif" >>.dep.inc; \
# else \
# echo ".KEEP_STATE:" >>.dep.inc; \
# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
# fi

View File

@ -0,0 +1,37 @@
#
# Generated Makefile - do not edit!
#
#
# This file contains information about the location of compilers and other tools.
# If you commmit this file into your revision control server, you will be able to
# to checkout the project and build it from the command line with make. However,
# if more than one person works on the same project, then this file might show
# conflicts since different users are bound to have compilers in different places.
# In that case you might choose to not commit this file and let MPLAB X recreate this file
# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at
# least once so the file gets created and the project can be built. Finally, you can also
# avoid using this file at all if you are only building from the command line with make.
# You can invoke make with the values of the macros:
# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
#
SHELL=cmd.exe
PATH_TO_IDE_BIN=C:/Program Files/Microchip/MPLABX/v6.20/mplab_platform/platform/../mplab_ide/modules/../../bin/
# Adding MPLAB X bin directory to path.
PATH:=C:/Program Files/Microchip/MPLABX/v6.20/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
# Path to java used to run MPLAB X when this makefile was created
MP_JAVA_PATH="C:\Program Files\Microchip\MPLABX\v6.20\sys\java\zulu8.64.0.19-ca-fx-jre8.0.345-win_x64/bin/"
OS_CURRENT="$(shell uname -s)"
MP_CC="C:\Program Files\Microchip\xc8\v2.50\bin\xc8-cc.exe"
# MP_CPPC is not defined
# MP_BC is not defined
MP_AS="C:\Program Files\Microchip\xc8\v2.50\bin\xc8-cc.exe"
MP_LD="C:\Program Files\Microchip\xc8\v2.50\bin\xc8-cc.exe"
MP_AR="C:\Program Files\Microchip\xc8\v2.50\bin\xc8-ar.exe"
DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files/Microchip/MPLABX/v6.20/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
MP_CC_DIR="C:\Program Files\Microchip\xc8\v2.50\bin"
# MP_CPPC_DIR is not defined
# MP_BC_DIR is not defined
MP_AS_DIR="C:\Program Files\Microchip\xc8\v2.50\bin"
MP_LD_DIR="C:\Program Files\Microchip\xc8\v2.50\bin"
MP_AR_DIR="C:\Program Files\Microchip\xc8\v2.50\bin"
DFP_DIR=C:/Program Files/Microchip/MPLABX/v6.20/packs/Microchip/PIC10-12Fxxx_DFP/1.7.178

View File

@ -0,0 +1,10 @@
#
# Generated - do not edit!
#
# NOCDDL
#
CND_BASEDIR=`pwd`
# default configuration
CND_ARTIFACT_DIR_default=dist/default/production
CND_ARTIFACT_NAME_default=example_v2.X.production.hex
CND_ARTIFACT_PATH_default=dist/default/production/example_v2.X.production.hex

View File

@ -0,0 +1,171 @@
<?xml version="1.0" encoding="UTF-8"?>
<configurationDescriptor version="65">
<logicalFolder name="root" displayName="root" projectFiles="true">
<logicalFolder name="HeaderFiles"
displayName="Header Files"
projectFiles="true">
</logicalFolder>
<logicalFolder name="ExternalFiles"
displayName="Important Files"
projectFiles="true">
<itemPath>Makefile</itemPath>
</logicalFolder>
<logicalFolder name="LinkerScript"
displayName="Linker Files"
projectFiles="true">
</logicalFolder>
<logicalFolder name="SourceFiles"
displayName="Source Files"
projectFiles="true">
<itemPath>main.c</itemPath>
</logicalFolder>
</logicalFolder>
<projectmakefile>Makefile</projectmakefile>
<confs>
<conf name="default" type="2">
<toolsSet>
<developmentServer>localhost</developmentServer>
<targetDevice>PIC12F675</targetDevice>
<targetHeader></targetHeader>
<targetPluginBoard></targetPluginBoard>
<platformTool>ICD3PlatformTool</platformTool>
<languageToolchain>XC8</languageToolchain>
<languageToolchainVersion>2.50</languageToolchainVersion>
<platform>3</platform>
</toolsSet>
<packs>
<pack name="PIC10-12Fxxx_DFP" vendor="Microchip" version="1.7.178"/>
</packs>
<ScriptingSettings>
</ScriptingSettings>
<compileType>
<linkerTool>
<linkerLibItems>
</linkerLibItems>
</linkerTool>
<archiverTool>
</archiverTool>
<loading>
<useAlternateLoadableFile>false</useAlternateLoadableFile>
<parseOnProdLoad>false</parseOnProdLoad>
<alternateLoadableFile></alternateLoadableFile>
</loading>
<subordinates>
</subordinates>
</compileType>
<makeCustomizationType>
<makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
<makeUseCleanTarget>false</makeUseCleanTarget>
<makeCustomizationPreStep></makeCustomizationPreStep>
<makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
<makeCustomizationPostStep></makeCustomizationPostStep>
<makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
<makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
<makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
</makeCustomizationType>
<HI-TECH-COMP>
<property key="additional-warnings" value="true"/>
<property key="asmlist" value="true"/>
<property key="call-prologues" value="false"/>
<property key="default-bitfield-type" value="true"/>
<property key="default-char-type" value="true"/>
<property key="define-macros" value=""/>
<property key="disable-optimizations" value="true"/>
<property key="extra-include-directories" value=""/>
<property key="favor-optimization-for" value="-speed,+space"/>
<property key="garbage-collect-data" value="true"/>
<property key="garbage-collect-functions" value="true"/>
<property key="identifier-length" value="255"/>
<property key="local-generation" value="false"/>
<property key="operation-mode" value="free"/>
<property key="opt-xc8-compiler-strict_ansi" value="false"/>
<property key="optimization-assembler" value="true"/>
<property key="optimization-assembler-files" value="true"/>
<property key="optimization-debug" value="false"/>
<property key="optimization-invariant-enable" value="false"/>
<property key="optimization-invariant-value" value="16"/>
<property key="optimization-level" value="-O0"/>
<property key="optimization-speed" value="false"/>
<property key="optimization-stable-enable" value="false"/>
<property key="preprocess-assembler" value="true"/>
<property key="short-enums" value="true"/>
<property key="tentative-definitions" value="-fno-common"/>
<property key="undefine-macros" value=""/>
<property key="use-cci" value="false"/>
<property key="use-iar" value="false"/>
<property key="verbose" value="false"/>
<property key="warning-level" value="-3"/>
<property key="what-to-do" value="ignore"/>
</HI-TECH-COMP>
<HI-TECH-LINK>
<property key="additional-options-checksum" value=""/>
<property key="additional-options-checksumAVR" value=""/>
<property key="additional-options-code-offset" value=""/>
<property key="additional-options-command-line" value=""/>
<property key="additional-options-errata" value=""/>
<property key="additional-options-extend-address" value="false"/>
<property key="additional-options-trace-type" value=""/>
<property key="additional-options-use-response-files" value="false"/>
<property key="backup-reset-condition-flags" value="false"/>
<property key="calibrate-oscillator" value="false"/>
<property key="calibrate-oscillator-value" value="0x3400"/>
<property key="clear-bss" value="true"/>
<property key="code-model-external" value="wordwrite"/>
<property key="code-model-rom" value=""/>
<property key="create-html-files" value="false"/>
<property key="data-model-ram" value=""/>
<property key="data-model-size-of-double" value="32"/>
<property key="data-model-size-of-double-gcc" value="no-short-double"/>
<property key="data-model-size-of-float" value="32"/>
<property key="data-model-size-of-float-gcc" value="no-short-float"/>
<property key="display-class-usage" value="false"/>
<property key="display-hex-usage" value="false"/>
<property key="display-overall-usage" value="true"/>
<property key="display-psect-usage" value="false"/>
<property key="extra-lib-directories" value=""/>
<property key="fill-flash-options-addr" value=""/>
<property key="fill-flash-options-const" value=""/>
<property key="fill-flash-options-how" value="0"/>
<property key="fill-flash-options-inc-const" value="1"/>
<property key="fill-flash-options-increment" value=""/>
<property key="fill-flash-options-seq" value=""/>
<property key="fill-flash-options-what" value="0"/>
<property key="format-hex-file-for-download" value="false"/>
<property key="initialize-data" value="true"/>
<property key="input-libraries" value="libm"/>
<property key="keep-generated-startup.as" value="false"/>
<property key="link-in-c-library" value="true"/>
<property key="link-in-c-library-gcc" value=""/>
<property key="link-in-peripheral-library" value="false"/>
<property key="managed-stack" value="false"/>
<property key="opt-xc8-linker-file" value="false"/>
<property key="opt-xc8-linker-link_startup" value="false"/>
<property key="opt-xc8-linker-serial" value=""/>
<property key="program-the-device-with-default-config-words" value="false"/>
<property key="remove-unused-sections" value="true"/>
</HI-TECH-LINK>
<XC8-CO>
<property key="coverage-enable" value=""/>
<property key="stack-guidance" value="false"/>
</XC8-CO>
<XC8-config-global>
<property key="advanced-elf" value="true"/>
<property key="constdata-progmem" value="false"/>
<property key="gcc-opt-driver-new" value="true"/>
<property key="gcc-opt-std" value="-std=c99"/>
<property key="gcc-output-file-format" value="dwarf-3"/>
<property key="mapped-progmem" value="false"/>
<property key="omit-pack-options" value="false"/>
<property key="omit-pack-options-new" value="1"/>
<property key="output-file-format" value="-mcof,+elf"/>
<property key="smart-io-format" value=""/>
<property key="stack-size-high" value="auto"/>
<property key="stack-size-low" value="auto"/>
<property key="stack-size-main" value="auto"/>
<property key="stack-type" value="compiled"/>
<property key="user-pack-device-support" value=""/>
<property key="wpo-lto" value="false"/>
</XC8-config-global>
</conf>
</confs>
</configurationDescriptor>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<configurationDescriptor version="65">
<projectmakefile>Makefile</projectmakefile>
<defaultConf>0</defaultConf>
<confs>
<conf name="default" type="2">
<platformToolSN>:=MPLABComm-USB-Microchip:=&lt;vid>04D8:=&lt;pid>9009:=&lt;rev>0100:=&lt;man>?:=&lt;prod>?:=&lt;sn>JIT092498902:=&lt;drv>x:=&lt;xpt>b:=end</platformToolSN>
<languageToolchainDir>C:\Program Files\Microchip\xc8\v2.50\bin</languageToolchainDir>
<mdbdebugger version="1">
<placeholder1>place holder 1</placeholder1>
<placeholder2>place holder 2</placeholder2>
</mdbdebugger>
<runprofile version="6">
<args></args>
<rundir></rundir>
<buildfirst>true</buildfirst>
<console-type>0</console-type>
<terminal-type>0</terminal-type>
<remove-instrumentation>0</remove-instrumentation>
<environment>
</environment>
</runprofile>
</conf>
</confs>
</configurationDescriptor>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>com.microchip.mplab.nbide.embedded.makeproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/make-project/1">
<name>example_v2</name>
<creation-uuid>ee7cdc02-cb58-4170-bd27-5043a653880a</creation-uuid>
<make-project-type>0</make-project-type>
<sourceEncoding>ISO-8859-1</sourceEncoding>
<make-dep-projects/>
<sourceRootList/>
<confList>
<confElem>
<name>default</name>
<type>2</type>
</confElem>
</confList>
<formatting>
<project-formatting-style>false</project-formatting-style>
</formatting>
</data>
</configuration>
</project>