Version 4.0 HI-TECH Software Intermediate Code
[p mainexit ]
"219 C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 219: extern volatile unsigned char GPIO __attribute__((address(0x005)));
[v _GPIO `Vuc ~T0 @X0 0 e@5 ]
"798
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 798: extern volatile unsigned char TRISIO __attribute__((address(0x085)));
[v _TRISIO `Vuc ~T0 @X0 0 e@133 ]
"1405
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1405: extern volatile unsigned char ANSEL __attribute__((address(0x09F)));
[v _ANSEL `Vuc ~T0 @X0 0 e@159 ]
"565
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 565: extern volatile unsigned char CMCON __attribute__((address(0x019)));
[v _CMCON `Vuc ~T0 @X0 0 e@25 ]
"728
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 728: extern volatile unsigned char OPTION_REG __attribute__((address(0x081)));
[v _OPTION_REG `Vuc ~T0 @X0 0 e@129 ]
"1629
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1629: extern volatile __bit GPIO5 __attribute__((address(0x2D)));
[v _GPIO5 `Vb ~T0 @X0 0 e@45 ]
"1626
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1626: extern volatile __bit GPIO4 __attribute__((address(0x2C)));
[v _GPIO4 `Vb ~T0 @X0 0 e@44 ]
"1617
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1617: extern volatile __bit GPIO1 __attribute__((address(0x29)));
[v _GPIO1 `Vb ~T0 @X0 0 e@41 ]
"1614
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1614: extern volatile __bit GPIO0 __attribute__((address(0x28)));
[v _GPIO0 `Vb ~T0 @X0 0 e@40 ]
"27 newmain.c
[; ;newmain.c: 27: void display_min();
[v _display_min `(v ~T0 @X0 0 e? ]
"28
[; ;newmain.c: 28: void display_hour();
[v _display_hour `(v ~T0 @X0 0 e? ]
"35
[; ;newmain.c: 35: unsigned char readTime (unsigned char reg);
[v _readTime `(uc ~T0 @X0 0 ef1`uc ]
"34
[; ;newmain.c: 34: void setTime (unsigned char reg, unsigned char setting);
[v _setTime `(v ~T0 @X0 0 ef2`uc`uc ]
[v F36 `(v ~T0 @X0 1 tf1`ul ]
"12 C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\builtins.h
[v __delay `JF36 ~T0 @X0 0 e ]
[p i __delay ]
"1620 C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1620: extern volatile __bit GPIO2 __attribute__((address(0x2A)));
[v _GPIO2 `Vb ~T0 @X0 0 e@42 ]
"1623
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1623: extern volatile __bit GPIO3 __attribute__((address(0x2B)));
[v _GPIO3 `Vb ~T0 @X0 0 e@43 ]
"22 newmain.c
[; ;newmain.c: 22: void display( unsigned char addr, unsigned char fig );
[v _display `(v ~T0 @X0 0 ef2`uc`uc ]
"26
[; ;newmain.c: 26: void clock(void);
[v _clock `(v ~T0 @X0 0 ef ]
"1752 C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1752: extern volatile __bit TRISIO0 __attribute__((address(0x428)));
[v _TRISIO0 `Vb ~T0 @X0 0 e@1064 ]
"30 newmain.c
[; ;newmain.c: 30: void i2cStart(void);
[v _i2cStart `(v ~T0 @X0 0 ef ]
"29
[; ;newmain.c: 29: void i2cSend(unsigned char dataB);
[v _i2cSend `(v ~T0 @X0 0 ef1`uc ]
"36
[; ;newmain.c: 36: unsigned char i2cRead();
[v _i2cRead `(uc ~T0 @X0 0 e? ]
"31
[; ;newmain.c: 31: void i2cStop(void);
[v _i2cStop `(v ~T0 @X0 0 ef ]
"32
[; ;newmain.c: 32: void i2cClock(void);
[v _i2cClock `(v ~T0 @X0 0 ef ]
"1764 C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1764: extern volatile __bit TRISIO4 __attribute__((address(0x42C)));
[v _TRISIO4 `Vb ~T0 @X0 0 e@1068 ]
"55 C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 55: __asm("INDF equ 00h");
[; <" INDF equ 00h ;# ">
"75
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 75: __asm("TMR0 equ 01h");
[; <" TMR0 equ 01h ;# ">
"95
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 95: __asm("PCL equ 02h");
[; <" PCL equ 02h ;# ">
"115
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 115: __asm("STATUS equ 03h");
[; <" STATUS equ 03h ;# ">
"201
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 201: __asm("FSR equ 04h");
[; <" FSR equ 04h ;# ">
"221
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 221: __asm("GPIO equ 05h");
[; <" GPIO equ 05h ;# ">
"309
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 309: __asm("PCLATH equ 0Ah");
[; <" PCLATH equ 0Ah ;# ">
"329
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 329: __asm("INTCON equ 0Bh");
[; <" INTCON equ 0Bh ;# ">
"407
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 407: __asm("PIR1 equ 0Ch");
[; <" PIR1 equ 0Ch ;# ">
"455
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 455: __asm("TMR1 equ 0Eh");
[; <" TMR1 equ 0Eh ;# ">
"462
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 462: __asm("TMR1L equ 0Eh");
[; <" TMR1L equ 0Eh ;# ">
"482
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 482: __asm("TMR1H equ 0Fh");
[; <" TMR1H equ 0Fh ;# ">
"502
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 502: __asm("T1CON equ 010h");
[; <" T1CON equ 010h ;# ">
"567
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 567: __asm("CMCON equ 019h");
[; <" CMCON equ 019h ;# ">
"626
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 626: __asm("ADRESH equ 01Eh");
[; <" ADRESH equ 01Eh ;# ">
"646
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 646: __asm("ADCON0 equ 01Fh");
[; <" ADCON0 equ 01Fh ;# ">
"730
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 730: __asm("OPTION_REG equ 081h");
[; <" OPTION_REG equ 081h ;# ">
"800
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 800: __asm("TRISIO equ 085h");
[; <" TRISIO equ 085h ;# ">
"850
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 850: __asm("PIE1 equ 08Ch");
[; <" PIE1 equ 08Ch ;# ">
"898
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 898: __asm("PCON equ 08Eh");
[; <" PCON equ 08Eh ;# ">
"932
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 932: __asm("OSCCAL equ 090h");
[; <" OSCCAL equ 090h ;# ">
"992
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 992: __asm("WPU equ 095h");
[; <" WPU equ 095h ;# ">
"1037
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1037: __asm("IOC equ 096h");
[; <" IOC equ 096h ;# ">
"1042
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1042: __asm("IOCB equ 096h");
[; <" IOCB equ 096h ;# ">
"1211
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1211: __asm("VRCON equ 099h");
[; <" VRCON equ 099h ;# ">
"1271
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1271: __asm("EEDATA equ 09Ah");
[; <" EEDATA equ 09Ah ;# ">
"1276
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1276: __asm("EEDAT equ 09Ah");
[; <" EEDAT equ 09Ah ;# ">
"1309
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1309: __asm("EEADR equ 09Bh");
[; <" EEADR equ 09Bh ;# ">
"1329
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1329: __asm("EECON1 equ 09Ch");
[; <" EECON1 equ 09Ch ;# ">
"1367
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1367: __asm("EECON2 equ 09Dh");
[; <" EECON2 equ 09Dh ;# ">
"1387
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1387: __asm("ADRESL equ 09Eh");
[; <" ADRESL equ 09Eh ;# ">
"1407
[; ;C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/PIC10-12Fxxx_DFP/1.5.61/xc8\pic\include\proc\pic12f675.h: 1407: __asm("ANSEL equ 09Fh");
[; <" ANSEL equ 09Fh ;# ">
"10 newmain.c
[p x WDTE=OFF   MCLRE=OFF   FOSC=INTRCIO   CP=OFF ]
"37
[; ;newmain.c: 37: unsigned char addr=0x78;
[v _addr `uc ~T0 @X0 1 e ]
[i _addr
-> -> 120 `i `uc
]
"38
[; ;newmain.c: 38: unsigned char min, hour, minS, hourS,point=0x80;
[v _min `uc ~T0 @X0 1 e ]
[v _hour `uc ~T0 @X0 1 e ]
[v _minS `uc ~T0 @X0 1 e ]
[v _hourS `uc ~T0 @X0 1 e ]
[v _point `uc ~T0 @X0 1 e ]
[i _point
-> -> 128 `i `uc
]
"39
[; ;newmain.c: 39: const unsigned char num[] = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
[v _num `Cuc ~T0 @X0 -> 10 `i e ]
[i _num
:U ..
-> -> 63 `i `uc
-> -> 6 `i `uc
-> -> 91 `i `uc
-> -> 79 `i `uc
-> -> 102 `i `uc
-> -> 109 `i `uc
-> -> 125 `i `uc
-> -> 7 `i `uc
-> -> 127 `i `uc
-> -> 111 `i `uc
..
]
"40
[; ;newmain.c: 40: unsigned char minL, minH, hourL, hourH;
[v _minL `uc ~T0 @X0 1 e ]
[v _minH `uc ~T0 @X0 1 e ]
[v _hourL `uc ~T0 @X0 1 e ]
[v _hourH `uc ~T0 @X0 1 e ]
"41
[; ;newmain.c: 41: unsigned int addr2=0xD0;
[v _addr2 `ui ~T0 @X0 1 e ]
[i _addr2
-> -> 208 `i `ui
]
"42
[; ;newmain.c: 42: unsigned int addr2r=0xD1;
[v _addr2r `ui ~T0 @X0 1 e ]
[i _addr2r
-> -> 209 `i `ui
]
[v $root$_main `(v ~T0 @X0 0 e ]
"43
[; ;newmain.c: 43: void main(void){
[v _main `(v ~T0 @X0 1 ef ]
{
[e :U _main ]
[f ]
"45
[; ;newmain.c: 45:     GPIO = 0b00000000;
[e = _GPIO -> -> 0 `i `uc ]
"46
[; ;newmain.c: 46:     TRISIO = 0b00001100;
[e = _TRISIO -> -> 12 `i `uc ]
"48
[; ;newmain.c: 48:     ANSEL = 0;
[e = _ANSEL -> -> 0 `i `uc ]
"49
[; ;newmain.c: 49:     CMCON = 7;
[e = _CMCON -> -> 7 `i `uc ]
"51
[; ;newmain.c: 51:     OPTION_REG = 0;
[e = _OPTION_REG -> -> 0 `i `uc ]
"52
[; ;newmain.c: 52:     GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"53
[; ;newmain.c: 53:     GPIO4=1;
[e = _GPIO4 -> -> 1 `i `b ]
"54
[; ;newmain.c: 54:     GPIO1=1;
[e = _GPIO1 -> -> 1 `i `b ]
"55
[; ;newmain.c: 55:     GPIO0=1;
[e = _GPIO0 -> -> 1 `i `b ]
"56
[; ;newmain.c: 56:   display_min();
[e ( _display_min ..  ]
"57
[; ;newmain.c: 57:   display_hour();
[e ( _display_hour ..  ]
"59
[; ;newmain.c: 59:  while(1){
[e :U 83 ]
{
"60
[; ;newmain.c: 60:  min=readTime(1);
[e = _min ( _readTime (1 -> -> 1 `i `uc ]
"61
[; ;newmain.c: 61:  hour=readTime(2);
[e = _hour ( _readTime (1 -> -> 2 `i `uc ]
"62
[; ;newmain.c: 62:  hourL=hour & 15;
[e = _hourL -> & -> _hour `i -> 15 `i `uc ]
"63
[; ;newmain.c: 63:  hourH=hour>>4 & 3;
[e = _hourH -> & >> -> _hour `i -> 4 `i -> 3 `i `uc ]
"64
[; ;newmain.c: 64:  minH=min>>4 & 7;
[e = _minH -> & >> -> _min `i -> 4 `i -> 7 `i `uc ]
"65
[; ;newmain.c: 65:  minL=min & 15;
[e = _minL -> & -> _min `i -> 15 `i `uc ]
"67
[; ;newmain.c: 67:         while(!GPIO2){
[e $U 85  ]
[e :U 86 ]
{
"68
[; ;newmain.c: 68:        ++minL;
[e =+ _minL -> -> 1 `i `uc ]
"69
[; ;newmain.c: 69:             if(minL>9){minL=0; ++minH;}
[e $ ! > -> _minL `i -> 9 `i 88  ]
{
[e = _minL -> -> 0 `i `uc ]
[e =+ _minH -> -> 1 `i `uc ]
}
[e :U 88 ]
"70
[; ;newmain.c: 70:             if(minH>5){minH=0;}
[e $ ! > -> _minH `i -> 5 `i 89  ]
{
[e = _minH -> -> 0 `i `uc ]
}
[e :U 89 ]
"71
[; ;newmain.c: 71:        minS=0;
[e = _minS -> -> 0 `i `uc ]
"72
[; ;newmain.c: 72:             minS=(minH<<4) + minL;
[e = _minS -> + << -> _minH `i -> 4 `i -> _minL `i `uc ]
"73
[; ;newmain.c: 73:             setTime(1,minS);
[e ( _setTime (2 , -> -> 1 `i `uc _minS ]
"74
[; ;newmain.c: 74:         display_min();
[e ( _display_min ..  ]
"75
[; ;newmain.c: 75:         _delay((unsigned long)((500)*(4000000/4000.0)));
[e ( __delay (1 -> * -> -> 500 `i `d / -> -> 4000000 `l `d .4000.0 `ul ]
"76
[; ;newmain.c: 76:         }
}
[e :U 85 ]
"67
[; ;newmain.c: 67:         while(!GPIO2){
[e $ ! _GPIO2 86  ]
[e :U 87 ]
"78
[; ;newmain.c: 78:         while(!GPIO3){
[e $U 90  ]
[e :U 91 ]
{
"79
[; ;newmain.c: 79:          ++hourL;
[e =+ _hourL -> -> 1 `i `uc ]
"80
[; ;newmain.c: 80:             if(hourL>9){hourL=0; ++hourH;}
[e $ ! > -> _hourL `i -> 9 `i 93  ]
{
[e = _hourL -> -> 0 `i `uc ]
[e =+ _hourH -> -> 1 `i `uc ]
}
[e :U 93 ]
"81
[; ;newmain.c: 81:             if((hourH==2) && (hourL>3)){hourH=0; hourL=0;}
[e $ ! && == -> _hourH `i -> 2 `i > -> _hourL `i -> 3 `i 94  ]
{
[e = _hourH -> -> 0 `i `uc ]
[e = _hourL -> -> 0 `i `uc ]
}
[e :U 94 ]
"82
[; ;newmain.c: 82:          hourS=0;
[e = _hourS -> -> 0 `i `uc ]
"83
[; ;newmain.c: 83:             hourS=(hourH<<4) + hourL;
[e = _hourS -> + << -> _hourH `i -> 4 `i -> _hourL `i `uc ]
"84
[; ;newmain.c: 84:             setTime(2,hourS);
[e ( _setTime (2 , -> -> 2 `i `uc _hourS ]
"85
[; ;newmain.c: 85:         display_hour();
[e ( _display_hour ..  ]
"86
[; ;newmain.c: 86:         _delay((unsigned long)((500)*(4000000/4000.0)));
[e ( __delay (1 -> * -> -> 500 `i `d / -> -> 4000000 `l `d .4000.0 `ul ]
"87
[; ;newmain.c: 87:         }
}
[e :U 90 ]
"78
[; ;newmain.c: 78:         while(!GPIO3){
[e $ ! _GPIO3 91  ]
[e :U 92 ]
"88
[; ;newmain.c: 88:      point=0x00;
[e = _point -> -> 0 `i `uc ]
"89
[; ;newmain.c: 89:     display_min();
[e ( _display_min ..  ]
"90
[; ;newmain.c: 90:     display_hour();
[e ( _display_hour ..  ]
"91
[; ;newmain.c: 91:      _delay((unsigned long)((1000)*(4000000/4000.0)));
[e ( __delay (1 -> * -> -> 1000 `i `d / -> -> 4000000 `l `d .4000.0 `ul ]
"92
[; ;newmain.c: 92:      point=0x80;
[e = _point -> -> 128 `i `uc ]
"93
[; ;newmain.c: 93:     display_min();
[e ( _display_min ..  ]
"94
[; ;newmain.c: 94:     display_hour();
[e ( _display_hour ..  ]
"95
[; ;newmain.c: 95:     _delay((unsigned long)((1000)*(4000000/4000.0)));
[e ( __delay (1 -> * -> -> 1000 `i `d / -> -> 4000000 `l `d .4000.0 `ul ]
"96
[; ;newmain.c: 96:  }
}
[e :U 82 ]
[e $U 83  ]
[e :U 84 ]
"98
[; ;newmain.c: 98: }
[e :UE 81 ]
}
"100
[; ;newmain.c: 100: void display_min(){
[v _display_min `(v ~T0 @X0 1 ef ]
{
[e :U _display_min ]
[f ]
"102
[; ;newmain.c: 102:     display(2,num[minH]);
[e ( _display (2 , -> -> 2 `i `uc *U + &U _num * -> _minH `ux -> -> # *U &U _num `ui `ux ]
"103
[; ;newmain.c: 103:     display(3,num[minL]);
[e ( _display (2 , -> -> 3 `i `uc *U + &U _num * -> _minL `ux -> -> # *U &U _num `ui `ux ]
"104
[; ;newmain.c: 104: }
[e :UE 95 ]
}
"106
[; ;newmain.c: 106: void display_hour(){
[v _display_hour `(v ~T0 @X0 1 ef ]
{
[e :U _display_hour ]
[f ]
"108
[; ;newmain.c: 108:     if(hourH==0){ display(0,0x00);}
[e $ ! == -> _hourH `i -> 0 `i 97  ]
{
[e ( _display (2 , -> -> 0 `i `uc -> -> 0 `i `uc ]
}
[e $U 98  ]
"109
[; ;newmain.c: 109:     else{display(0,num[hourH]);}
[e :U 97 ]
{
[e ( _display (2 , -> -> 0 `i `uc *U + &U _num * -> _hourH `ux -> -> # *U &U _num `ui `ux ]
}
[e :U 98 ]
"110
[; ;newmain.c: 110:     display(1,num[hourL]);
[e ( _display (2 , -> -> 1 `i `uc *U + &U _num * -> _hourL `ux -> -> # *U &U _num `ui `ux ]
"111
[; ;newmain.c: 111: }
[e :UE 96 ]
}
"112
[; ;newmain.c: 112: void sendData(unsigned char dataB)
[v _sendData `(v ~T0 @X0 1 ef1`uc ]
"113
[; ;newmain.c: 113: {
{
[e :U _sendData ]
"112
[; ;newmain.c: 112: void sendData(unsigned char dataB)
[v _dataB `uc ~T0 @X0 1 r1 ]
"113
[; ;newmain.c: 113: {
[f ]
"114
[; ;newmain.c: 114:     for(unsigned char b=0;b<8;b++){
{
[v _b `uc ~T0 @X0 1 a ]
[e = _b -> -> 0 `i `uc ]
[e $ < -> _b `i -> 8 `i 100  ]
[e $U 101  ]
[e :U 100 ]
{
"115
[; ;newmain.c: 115:        GPIO0=(dataB >> b) % 2;
[e = _GPIO0 -> % >> -> _dataB `i -> _b `i -> 2 `i `b ]
"116
[; ;newmain.c: 116:        clock();
[e ( _clock ..  ]
"117
[; ;newmain.c: 117:     }
}
[e ++ _b -> -> 1 `i `uc ]
[e $ < -> _b `i -> 8 `i 100  ]
[e :U 101 ]
}
"118
[; ;newmain.c: 118:     TRISIO0=1;
[e = _TRISIO0 -> -> 1 `i `b ]
"119
[; ;newmain.c: 119:     clock();
[e ( _clock ..  ]
"120
[; ;newmain.c: 120:     _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"121
[; ;newmain.c: 121:     TRISIO0=0;
[e = _TRISIO0 -> -> 0 `i `b ]
"123
[; ;newmain.c: 123: }
[e :UE 99 ]
}
"125
[; ;newmain.c: 125: void clock(void)
[v _clock `(v ~T0 @X0 1 ef ]
"126
[; ;newmain.c: 126: {
{
[e :U _clock ]
[f ]
"127
[; ;newmain.c: 127:    _delay((unsigned long)((4)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 4 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"128
[; ;newmain.c: 128:    GPIO1=1;
[e = _GPIO1 -> -> 1 `i `b ]
"129
[; ;newmain.c: 129:    _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"130
[; ;newmain.c: 130:    GPIO1=0;
[e = _GPIO1 -> -> 0 `i `b ]
"131
[; ;newmain.c: 131:    _delay((unsigned long)((4)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 4 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"132
[; ;newmain.c: 132: }
[e :UE 103 ]
}
"134
[; ;newmain.c: 134: void startBit(void)
[v _startBit `(v ~T0 @X0 1 ef ]
"135
[; ;newmain.c: 135: {
{
[e :U _startBit ]
[f ]
"136
[; ;newmain.c: 136:     GPIO0=0;
[e = _GPIO0 -> -> 0 `i `b ]
"137
[; ;newmain.c: 137:     _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"138
[; ;newmain.c: 138:     GPIO1=0;
[e = _GPIO1 -> -> 0 `i `b ]
"139
[; ;newmain.c: 139: }
[e :UE 104 ]
}
"141
[; ;newmain.c: 141: void stopBit(void)
[v _stopBit `(v ~T0 @X0 1 ef ]
"142
[; ;newmain.c: 142: {
{
[e :U _stopBit ]
[f ]
"143
[; ;newmain.c: 143:     GPIO1=1;
[e = _GPIO1 -> -> 1 `i `b ]
"144
[; ;newmain.c: 144:     _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"145
[; ;newmain.c: 145:     GPIO0=1;
[e = _GPIO0 -> -> 1 `i `b ]
"146
[; ;newmain.c: 146: }
[e :UE 105 ]
}
"149
[; ;newmain.c: 149: void display( unsigned char addr, unsigned char fig ){
[v _display `(v ~T0 @X0 1 ef2`uc`uc ]
{
[e :U _display ]
[v _addr `uc ~T0 @X0 1 r1 ]
[v _fig `uc ~T0 @X0 1 r2 ]
[f ]
"150
[; ;newmain.c: 150:     unsigned char mode=0b01000100;
[v _mode `uc ~T0 @X0 1 a ]
[e = _mode -> -> 68 `i `uc ]
"151
[; ;newmain.c: 151:     unsigned char brightness=7;
[v _brightness `uc ~T0 @X0 1 a ]
[e = _brightness -> -> 7 `i `uc ]
"152
[; ;newmain.c: 152:     unsigned char control=136+brightness;
[v _control `uc ~T0 @X0 1 a ]
[e = _control -> + -> 136 `i -> _brightness `i `uc ]
"153
[; ;newmain.c: 153:     fig=fig+point;
[e = _fig -> + -> _fig `i -> _point `i `uc ]
"154
[; ;newmain.c: 154:     addr +=192;
[e =+ _addr -> -> 192 `i `uc ]
"155
[; ;newmain.c: 155:     startBit();
[e ( _startBit ..  ]
"156
[; ;newmain.c: 156:     sendData(mode);
[e ( _sendData (1 _mode ]
"157
[; ;newmain.c: 157:     stopBit();
[e ( _stopBit ..  ]
"158
[; ;newmain.c: 158:     startBit();
[e ( _startBit ..  ]
"159
[; ;newmain.c: 159:     sendData(addr);
[e ( _sendData (1 _addr ]
"160
[; ;newmain.c: 160:     sendData(fig);
[e ( _sendData (1 _fig ]
"161
[; ;newmain.c: 161:     stopBit();
[e ( _stopBit ..  ]
"162
[; ;newmain.c: 162:     startBit();
[e ( _startBit ..  ]
"163
[; ;newmain.c: 163:     sendData(control);
[e ( _sendData (1 _control ]
"164
[; ;newmain.c: 164:     stopBit();
[e ( _stopBit ..  ]
"165
[; ;newmain.c: 165: }
[e :UE 106 ]
}
"166
[; ;newmain.c: 166: unsigned char readTime (unsigned char reg){
[v _readTime `(uc ~T0 @X0 1 ef1`uc ]
{
[e :U _readTime ]
[v _reg `uc ~T0 @X0 1 r1 ]
[f ]
"167
[; ;newmain.c: 167:     unsigned char date;
[v _date `uc ~T0 @X0 1 a ]
"168
[; ;newmain.c: 168:     i2cStart();
[e ( _i2cStart ..  ]
"169
[; ;newmain.c: 169:     i2cSend(addr2);
[e ( _i2cSend (1 -> _addr2 `uc ]
"170
[; ;newmain.c: 170:     i2cSend(reg);
[e ( _i2cSend (1 _reg ]
"171
[; ;newmain.c: 171:     i2cStart();
[e ( _i2cStart ..  ]
"172
[; ;newmain.c: 172:     i2cSend(addr2r);
[e ( _i2cSend (1 -> _addr2r `uc ]
"173
[; ;newmain.c: 173:     date=i2cRead();
[e = _date ( _i2cRead ..  ]
"174
[; ;newmain.c: 174:     i2cStop();
[e ( _i2cStop ..  ]
"175
[; ;newmain.c: 175:     return date;
[e ) _date ]
[e $UE 107  ]
"176
[; ;newmain.c: 176: }
[e :UE 107 ]
}
"178
[; ;newmain.c: 178: void setTime (unsigned char reg, unsigned char setting){
[v _setTime `(v ~T0 @X0 1 ef2`uc`uc ]
{
[e :U _setTime ]
[v _reg `uc ~T0 @X0 1 r1 ]
[v _setting `uc ~T0 @X0 1 r2 ]
[f ]
"179
[; ;newmain.c: 179:     i2cStart();
[e ( _i2cStart ..  ]
"180
[; ;newmain.c: 180:     i2cSend(addr2);
[e ( _i2cSend (1 -> _addr2 `uc ]
"181
[; ;newmain.c: 181:     i2cSend(reg);
[e ( _i2cSend (1 _reg ]
"182
[; ;newmain.c: 182:     i2cSend(setting);
[e ( _i2cSend (1 _setting ]
"183
[; ;newmain.c: 183:     i2cStop();
[e ( _i2cStop ..  ]
"184
[; ;newmain.c: 184: }
[e :UE 108 ]
}
"187
[; ;newmain.c: 187: void i2cSend(unsigned char dataB){
[v _i2cSend `(v ~T0 @X0 1 ef1`uc ]
{
[e :U _i2cSend ]
[v _dataB `uc ~T0 @X0 1 r1 ]
[f ]
"188
[; ;newmain.c: 188:     for(unsigned char b=0;b<8;b++){
{
[v _b `uc ~T0 @X0 1 a ]
[e = _b -> -> 0 `i `uc ]
[e $ < -> _b `i -> 8 `i 110  ]
[e $U 111  ]
[e :U 110 ]
{
"189
[; ;newmain.c: 189:         GPIO4=(dataB >> (7-b)) % 2;
[e = _GPIO4 -> % >> -> _dataB `i - -> 7 `i -> _b `i -> 2 `i `b ]
"190
[; ;newmain.c: 190:         i2cClock();
[e ( _i2cClock ..  ]
"191
[; ;newmain.c: 191:     }
}
[e ++ _b -> -> 1 `i `uc ]
[e $ < -> _b `i -> 8 `i 110  ]
[e :U 111 ]
}
"192
[; ;newmain.c: 192:     TRISIO4=1;
[e = _TRISIO4 -> -> 1 `i `b ]
"193
[; ;newmain.c: 193:     i2cClock();
[e ( _i2cClock ..  ]
"194
[; ;newmain.c: 194:     _delay((unsigned long)((10)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 10 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"195
[; ;newmain.c: 195:     TRISIO4=0;
[e = _TRISIO4 -> -> 0 `i `b ]
"196
[; ;newmain.c: 196:     _delay((unsigned long)((10)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 10 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"197
[; ;newmain.c: 197: }
[e :UE 109 ]
}
"199
[; ;newmain.c: 199: unsigned char i2cRead(){
[v _i2cRead `(uc ~T0 @X0 1 ef ]
{
[e :U _i2cRead ]
[f ]
"200
[; ;newmain.c: 200:     unsigned char x=0;
[v _x `uc ~T0 @X0 1 a ]
[e = _x -> -> 0 `i `uc ]
"202
[; ;newmain.c: 202:     TRISIO4=1;
[e = _TRISIO4 -> -> 1 `i `b ]
"203
[; ;newmain.c: 203:     for(unsigned char b=0;b<8;b++){
{
[v _b `uc ~T0 @X0 1 a ]
[e = _b -> -> 0 `i `uc ]
[e $ < -> _b `i -> 8 `i 114  ]
[e $U 115  ]
[e :U 114 ]
{
"204
[; ;newmain.c: 204:         GPIO5=0;
[e = _GPIO5 -> -> 0 `i `b ]
"205
[; ;newmain.c: 205:         _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"206
[; ;newmain.c: 206:         GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"207
[; ;newmain.c: 207:         _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"208
[; ;newmain.c: 208:         x=x+(GPIO4<<(7-b));
[e = _x -> + -> _x `i -> << -> _GPIO4 `i - -> 7 `i -> _b `i `i `uc ]
"209
[; ;newmain.c: 209:         GPIO5=0;
[e = _GPIO5 -> -> 0 `i `b ]
"210
[; ;newmain.c: 210:         _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"212
[; ;newmain.c: 212:     }
}
[e ++ _b -> -> 1 `i `uc ]
[e $ < -> _b `i -> 8 `i 114  ]
[e :U 115 ]
}
"213
[; ;newmain.c: 213:     TRISIO4=0;
[e = _TRISIO4 -> -> 0 `i `b ]
"214
[; ;newmain.c: 214:     GPIO4=1;
[e = _GPIO4 -> -> 1 `i `b ]
"215
[; ;newmain.c: 215:     i2cClock();
[e ( _i2cClock ..  ]
"216
[; ;newmain.c: 216:     _delay((unsigned long)((10)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 10 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"217
[; ;newmain.c: 217:     return x;
[e ) _x ]
[e $UE 113  ]
"219
[; ;newmain.c: 219: }
[e :UE 113 ]
}
"220
[; ;newmain.c: 220: void i2cClock(void){
[v _i2cClock `(v ~T0 @X0 1 ef ]
{
[e :U _i2cClock ]
[f ]
"221
[; ;newmain.c: 221:    GPIO5=0;
[e = _GPIO5 -> -> 0 `i `b ]
"222
[; ;newmain.c: 222:    _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"223
[; ;newmain.c: 223:    GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"224
[; ;newmain.c: 224:    _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"225
[; ;newmain.c: 225:    GPIO5=0;
[e = _GPIO5 -> -> 0 `i `b ]
"226
[; ;newmain.c: 226:    _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"227
[; ;newmain.c: 227: }
[e :UE 117 ]
}
"229
[; ;newmain.c: 229: void i2cStart(void){
[v _i2cStart `(v ~T0 @X0 1 ef ]
{
[e :U _i2cStart ]
[f ]
"230
[; ;newmain.c: 230:     GPIO4=1;
[e = _GPIO4 -> -> 1 `i `b ]
"232
[; ;newmain.c: 232:     GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"233
[; ;newmain.c: 233:     _delay((unsigned long)((10)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 10 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"234
[; ;newmain.c: 234:     GPIO4=0;
[e = _GPIO4 -> -> 0 `i `b ]
"235
[; ;newmain.c: 235:     _delay((unsigned long)((10)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 10 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"236
[; ;newmain.c: 236:     GPIO5=0;
[e = _GPIO5 -> -> 0 `i `b ]
"237
[; ;newmain.c: 237:     _delay((unsigned long)((10)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 10 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"239
[; ;newmain.c: 239: }
[e :UE 118 ]
}
"241
[; ;newmain.c: 241: void i2cStop(void){
[v _i2cStop `(v ~T0 @X0 1 ef ]
{
[e :U _i2cStop ]
[f ]
"242
[; ;newmain.c: 242:     GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"243
[; ;newmain.c: 243:     GPIO4=0;
[e = _GPIO4 -> -> 0 `i `b ]
"244
[; ;newmain.c: 244:     _delay((unsigned long)((10)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 10 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"245
[; ;newmain.c: 245:     GPIO4=1;
[e = _GPIO4 -> -> 1 `i `b ]
"246
[; ;newmain.c: 246: }
[e :UE 119 ]
}
