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 ]
"20 newmain.c
[; ;newmain.c: 20: void display( unsigned char addr, unsigned char fig );
[v _display `(v ~T0 @X0 0 ef2`uc`uc ]
"25
[; ;newmain.c: 25: unsigned char sensor_rst();
[v _sensor_rst `(uc ~T0 @X0 0 e? ]
"27
[; ;newmain.c: 27: void cmnd_w(unsigned char cmnd);
[v _cmnd_w `(v ~T0 @X0 0 ef1`uc ]
"26
[; ;newmain.c: 26: unsigned char reply ();
[v _reply `(uc ~T0 @X0 0 e? ]
[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 ]
"1758 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: 1758: extern volatile __bit TRISIO2 __attribute__((address(0x42A)));
[v _TRISIO2 `Vb ~T0 @X0 0 e@1066 ]
"1620
[; ;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 ]
"24 newmain.c
[; ;newmain.c: 24: void clock(void);
[v _clock `(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 ]
"28
[; ;newmain.c: 28: unsigned char addr=0x78;
[v _addr `uc ~T0 @X0 1 e ]
[i _addr
-> -> 120 `i `uc
]
"29
[; ;newmain.c: 29: 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
..
]
[v $root$_main `(v ~T0 @X0 0 e ]
"31
[; ;newmain.c: 31: void main(void){
[v _main `(v ~T0 @X0 1 ef ]
{
[e :U _main ]
[f ]
"32
[; ;newmain.c: 32:     unsigned char i;
[v _i `uc ~T0 @X0 1 a ]
"33
[; ;newmain.c: 33:     GPIO = 0b00000000;
[e = _GPIO -> -> 0 `i `uc ]
"34
[; ;newmain.c: 34:     TRISIO = 0b00001100;
[e = _TRISIO -> -> 12 `i `uc ]
"36
[; ;newmain.c: 36:     ANSEL = 0;
[e = _ANSEL -> -> 0 `i `uc ]
"37
[; ;newmain.c: 37:     CMCON = 7;
[e = _CMCON -> -> 7 `i `uc ]
"39
[; ;newmain.c: 39:     OPTION_REG = 0;
[e = _OPTION_REG -> -> 0 `i `uc ]
"41
[; ;newmain.c: 41:     GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"42
[; ;newmain.c: 42:     GPIO4=1;
[e = _GPIO4 -> -> 1 `i `b ]
"43
[; ;newmain.c: 43:      for(i=0;i<4;++i){
{
[e = _i -> -> 0 `i `uc ]
[e $ < -> _i `i -> 4 `i 82  ]
[e $U 83  ]
[e :U 82 ]
{
"44
[; ;newmain.c: 44:         display(i,0x00);
[e ( _display (2 , _i -> -> 0 `i `uc ]
"45
[; ;newmain.c: 45:     }
}
[e =+ _i -> -> 1 `i `uc ]
[e $ < -> _i `i -> 4 `i 82  ]
[e :U 83 ]
}
"48
[; ;newmain.c: 48:  while(1){
[e :U 86 ]
{
"49
[; ;newmain.c: 49:     int tempL, tempH, tempS;
[v _tempL `i ~T0 @X0 1 a ]
[v _tempH `i ~T0 @X0 1 a ]
[v _tempS `i ~T0 @X0 1 a ]
"50
[; ;newmain.c: 50:     unsigned int temp;
[v _temp `ui ~T0 @X0 1 a ]
"51
[; ;newmain.c: 51:  unsigned char minus;
[v _minus `uc ~T0 @X0 1 a ]
"52
[; ;newmain.c: 52:     int tDec;
[v _tDec `i ~T0 @X0 1 a ]
"53
[; ;newmain.c: 53:     unsigned char d0,d1,d2,d3;
[v _d0 `uc ~T0 @X0 1 a ]
[v _d1 `uc ~T0 @X0 1 a ]
[v _d2 `uc ~T0 @X0 1 a ]
[v _d3 `uc ~T0 @X0 1 a ]
"55
[; ;newmain.c: 55:  sensor_rst();
[e ( _sensor_rst ..  ]
"56
[; ;newmain.c: 56:  cmnd_w(0xCC);
[e ( _cmnd_w (1 -> -> 204 `i `uc ]
"57
[; ;newmain.c: 57:  cmnd_w(0xBE);
[e ( _cmnd_w (1 -> -> 190 `i `uc ]
"58
[; ;newmain.c: 58:  tempL=reply();
[e = _tempL -> ( _reply ..  `i ]
"59
[; ;newmain.c: 59:  tempH=reply();
[e = _tempH -> ( _reply ..  `i ]
"60
[; ;newmain.c: 60:  sensor_rst();
[e ( _sensor_rst ..  ]
"61
[; ;newmain.c: 61:  sensor_rst();
[e ( _sensor_rst ..  ]
"62
[; ;newmain.c: 62:  cmnd_w(0xCC);
[e ( _cmnd_w (1 -> -> 204 `i `uc ]
"63
[; ;newmain.c: 63:  cmnd_w(0x44);
[e ( _cmnd_w (1 -> -> 68 `i `uc ]
"65
[; ;newmain.c: 65:     tempS = tempL + (tempH << 8);
[e = _tempS + _tempL << _tempH -> 8 `i ]
"67
[; ;newmain.c: 67:     if(tempS<0){
[e $ ! < _tempS -> 0 `i 88  ]
{
"68
[; ;newmain.c: 68:         minus=1;
[e = _minus -> -> 1 `i `uc ]
"69
[; ;newmain.c: 69:         temp=65536-tempS;
[e = _temp -> - -> 65536 `l -> _tempS `l `ui ]
"70
[; ;newmain.c: 70:     }else{
}
[e $U 89  ]
[e :U 88 ]
{
"71
[; ;newmain.c: 71:         minus=0;
[e = _minus -> -> 0 `i `uc ]
"72
[; ;newmain.c: 72:         temp=(unsigned int)tempS;
[e = _temp -> _tempS `ui ]
"73
[; ;newmain.c: 73:     }
}
[e :U 89 ]
"75
[; ;newmain.c: 75:     d0=((temp & 15)*10)/16;
[e = _d0 -> / * & _temp -> -> 15 `i `ui -> -> 10 `i `ui -> -> 16 `i `ui `uc ]
"76
[; ;newmain.c: 76:     tDec=temp/16;
[e = _tDec -> / _temp -> -> 16 `i `ui `i ]
"77
[; ;newmain.c: 77:     d1=tDec %10;
[e = _d1 -> % _tDec -> 10 `i `uc ]
"78
[; ;newmain.c: 78:     d2=(tDec/10) %10;
[e = _d2 -> % / _tDec -> 10 `i -> 10 `i `uc ]
"79
[; ;newmain.c: 79:     if(tDec>99){d3=(tDec/100) %10;
[e $ ! > _tDec -> 99 `i 90  ]
{
[e = _d3 -> % / _tDec -> 100 `i -> 10 `i `uc ]
"80
[; ;newmain.c: 80:     display(0,num [d3]);
[e ( _display (2 , -> -> 0 `i `uc *U + &U _num * -> _d3 `ux -> -> # *U &U _num `ui `ux ]
"81
[; ;newmain.c: 81:     display(1,num [d2]);
[e ( _display (2 , -> -> 1 `i `uc *U + &U _num * -> _d2 `ux -> -> # *U &U _num `ui `ux ]
"82
[; ;newmain.c: 82:  display(2,num [d1]+ 0x80);
[e ( _display (2 , -> -> 2 `i `uc -> + -> *U + &U _num * -> _d1 `ux -> -> # *U &U _num `ui `ux `i -> 128 `i `uc ]
"83
[; ;newmain.c: 83:     display(3,num [d0]);
[e ( _display (2 , -> -> 3 `i `uc *U + &U _num * -> _d0 `ux -> -> # *U &U _num `ui `ux ]
"84
[; ;newmain.c: 84:     }
}
[e :U 90 ]
"85
[; ;newmain.c: 85:   if(minus){
[e $ ! != -> _minus `i -> 0 `i 91  ]
{
"86
[; ;newmain.c: 86:     display(0,0b01000000);
[e ( _display (2 , -> -> 0 `i `uc -> -> 64 `i `uc ]
"87
[; ;newmain.c: 87:     if(d2==0){
[e $ ! == -> _d2 `i -> 0 `i 92  ]
{
"88
[; ;newmain.c: 88:     display(1,num [d1]+ 0x80);
[e ( _display (2 , -> -> 1 `i `uc -> + -> *U + &U _num * -> _d1 `ux -> -> # *U &U _num `ui `ux `i -> 128 `i `uc ]
"89
[; ;newmain.c: 89:     display(2,num [d0]);
[e ( _display (2 , -> -> 2 `i `uc *U + &U _num * -> _d0 `ux -> -> # *U &U _num `ui `ux ]
"90
[; ;newmain.c: 90:     display(3,0b01100011);
[e ( _display (2 , -> -> 3 `i `uc -> -> 99 `i `uc ]
"91
[; ;newmain.c: 91:     }
}
[e :U 92 ]
"92
[; ;newmain.c: 92:     display(1,num [d2]);
[e ( _display (2 , -> -> 1 `i `uc *U + &U _num * -> _d2 `ux -> -> # *U &U _num `ui `ux ]
"93
[; ;newmain.c: 93:     display(2,num [d1]+ 0x80);
[e ( _display (2 , -> -> 2 `i `uc -> + -> *U + &U _num * -> _d1 `ux -> -> # *U &U _num `ui `ux `i -> 128 `i `uc ]
"94
[; ;newmain.c: 94:  display(3,num [d0]);
[e ( _display (2 , -> -> 3 `i `uc *U + &U _num * -> _d0 `ux -> -> # *U &U _num `ui `ux ]
"95
[; ;newmain.c: 95:     }
}
[e $U 93  ]
"96
[; ;newmain.c: 96:     else{
[e :U 91 ]
{
"97
[; ;newmain.c: 97:      if(d2==0){display(0,0x00);}
[e $ ! == -> _d2 `i -> 0 `i 94  ]
{
[e ( _display (2 , -> -> 0 `i `uc -> -> 0 `i `uc ]
}
[e :U 94 ]
"98
[; ;newmain.c: 98:      display(0,num [d2]);
[e ( _display (2 , -> -> 0 `i `uc *U + &U _num * -> _d2 `ux -> -> # *U &U _num `ui `ux ]
"99
[; ;newmain.c: 99:      display(1,num [d1]+ 0x80);
[e ( _display (2 , -> -> 1 `i `uc -> + -> *U + &U _num * -> _d1 `ux -> -> # *U &U _num `ui `ux `i -> 128 `i `uc ]
"100
[; ;newmain.c: 100:      display(2,num [d0]);
[e ( _display (2 , -> -> 2 `i `uc *U + &U _num * -> _d0 `ux -> -> # *U &U _num `ui `ux ]
"101
[; ;newmain.c: 101:      display(3,0b01100011);
[e ( _display (2 , -> -> 3 `i `uc -> -> 99 `i `uc ]
"102
[; ;newmain.c: 102:     }
}
[e :U 93 ]
"103
[; ;newmain.c: 103:         _delay((unsigned long)((1000)*(4000000/4000.0)));
[e ( __delay (1 -> * -> -> 1000 `i `d / -> -> 4000000 `l `d .4000.0 `ul ]
"105
[; ;newmain.c: 105: }
}
[e :U 85 ]
[e $U 86  ]
[e :U 87 ]
"106
[; ;newmain.c: 106: }
[e :UE 81 ]
}
"108
[; ;newmain.c: 108: unsigned char reply (){
[v _reply `(uc ~T0 @X0 1 ef ]
{
[e :U _reply ]
[f ]
"109
[; ;newmain.c: 109:  unsigned char ret=0,i;
[v _ret `uc ~T0 @X0 1 a ]
[e = _ret -> -> 0 `i `uc ]
[v _i `uc ~T0 @X0 1 a ]
"111
[; ;newmain.c: 111:         for(i=0;i<8;i++){
{
[e = _i -> -> 0 `i `uc ]
[e $ < -> _i `i -> 8 `i 96  ]
[e $U 97  ]
[e :U 96 ]
{
"112
[; ;newmain.c: 112:             TRISIO2=0; GPIO2=0; _delay((unsigned long)((2)*(4000000/4000000.0))); TRISIO2=1; _delay((unsigned long)((6)*(4000000/4000000.0)));
[e = _TRISIO2 -> -> 0 `i `b ]
[e = _GPIO2 -> -> 0 `i `b ]
[e ( __delay (1 -> * -> -> 2 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
[e = _TRISIO2 -> -> 1 `i `b ]
[e ( __delay (1 -> * -> -> 6 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"113
[; ;newmain.c: 113:             if(GPIO2){ret += 1 << i;} _delay((unsigned long)((80)*(4000000/4000000.0)));
[e $ ! _GPIO2 99  ]
{
[e =+ _ret -> << -> 1 `i -> _i `i `uc ]
}
[e :U 99 ]
[e ( __delay (1 -> * -> -> 80 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"114
[; ;newmain.c: 114:         }
}
[e ++ _i -> -> 1 `i `uc ]
[e $ < -> _i `i -> 8 `i 96  ]
[e :U 97 ]
}
"115
[; ;newmain.c: 115:  TRISIO2=1;
[e = _TRISIO2 -> -> 1 `i `b ]
"117
[; ;newmain.c: 117:  return ret;
[e ) _ret ]
[e $UE 95  ]
"118
[; ;newmain.c: 118: }
[e :UE 95 ]
}
"120
[; ;newmain.c: 120: void cmnd_w(unsigned char cmnd){
[v _cmnd_w `(v ~T0 @X0 1 ef1`uc ]
{
[e :U _cmnd_w ]
[v _cmnd `uc ~T0 @X0 1 r1 ]
[f ]
"121
[; ;newmain.c: 121:  unsigned char i;
[v _i `uc ~T0 @X0 1 a ]
"123
[; ;newmain.c: 123:         for(i=0;i<8;i++){
{
[e = _i -> -> 0 `i `uc ]
[e $ < -> _i `i -> 8 `i 101  ]
[e $U 102  ]
[e :U 101 ]
{
"124
[; ;newmain.c: 124:             if(cmnd & (1 << i)){TRISIO2=0; GPIO2=0; _delay((unsigned long)((2)*(4000000/4000000.0))); TRISIO2=1; _delay((unsigned long)((80)*(4000000/4000000.0)));}
[e $ ! != & -> _cmnd `i << -> 1 `i -> _i `i -> 0 `i 104  ]
{
[e = _TRISIO2 -> -> 0 `i `b ]
[e = _GPIO2 -> -> 0 `i `b ]
[e ( __delay (1 -> * -> -> 2 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
[e = _TRISIO2 -> -> 1 `i `b ]
[e ( __delay (1 -> * -> -> 80 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
}
[e $U 105  ]
"125
[; ;newmain.c: 125:             else{TRISIO2=0; GPIO2=0; _delay((unsigned long)((80)*(4000000/4000000.0))); TRISIO2=1; _delay((unsigned long)((2)*(4000000/4000000.0)));}
[e :U 104 ]
{
[e = _TRISIO2 -> -> 0 `i `b ]
[e = _GPIO2 -> -> 0 `i `b ]
[e ( __delay (1 -> * -> -> 80 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
[e = _TRISIO2 -> -> 1 `i `b ]
[e ( __delay (1 -> * -> -> 2 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
}
[e :U 105 ]
"126
[; ;newmain.c: 126:         }
}
[e ++ _i -> -> 1 `i `uc ]
[e $ < -> _i `i -> 8 `i 101  ]
[e :U 102 ]
}
"127
[; ;newmain.c: 127:         TRISIO2=1;
[e = _TRISIO2 -> -> 1 `i `b ]
"129
[; ;newmain.c: 129:     }
[e :UE 100 ]
}
"133
[; ;newmain.c: 133: unsigned char sensor_rst(){
[v _sensor_rst `(uc ~T0 @X0 1 ef ]
{
[e :U _sensor_rst ]
[f ]
"136
[; ;newmain.c: 136:         TRISIO2=0;
[e = _TRISIO2 -> -> 0 `i `b ]
"137
[; ;newmain.c: 137:         GPIO2=0; _delay((unsigned long)((600)*(4000000/4000000.0)));
[e = _GPIO2 -> -> 0 `i `b ]
[e ( __delay (1 -> * -> -> 600 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"138
[; ;newmain.c: 138:         TRISIO2=1; _delay((unsigned long)((100)*(4000000/4000000.0)));
[e = _TRISIO2 -> -> 1 `i `b ]
[e ( __delay (1 -> * -> -> 100 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"139
[; ;newmain.c: 139:         _delay((unsigned long)((600)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 600 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"140
[; ;newmain.c: 140:         return GPIO2;
[e ) -> _GPIO2 `uc ]
[e $UE 106  ]
"142
[; ;newmain.c: 142: }
[e :UE 106 ]
}
"144
[; ;newmain.c: 144: void sendData(unsigned char dataB)
[v _sendData `(v ~T0 @X0 1 ef1`uc ]
"145
[; ;newmain.c: 145: {
{
[e :U _sendData ]
"144
[; ;newmain.c: 144: void sendData(unsigned char dataB)
[v _dataB `uc ~T0 @X0 1 r1 ]
"145
[; ;newmain.c: 145: {
[f ]
"146
[; ;newmain.c: 146:     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 108  ]
[e $U 109  ]
[e :U 108 ]
{
"147
[; ;newmain.c: 147:        GPIO4=(dataB >> b) % 2;
[e = _GPIO4 -> % >> -> _dataB `i -> _b `i -> 2 `i `b ]
"148
[; ;newmain.c: 148:        clock();
[e ( _clock ..  ]
"149
[; ;newmain.c: 149:     }
}
[e ++ _b -> -> 1 `i `uc ]
[e $ < -> _b `i -> 8 `i 108  ]
[e :U 109 ]
}
"150
[; ;newmain.c: 150:     TRISIO4=1;
[e = _TRISIO4 -> -> 1 `i `b ]
"151
[; ;newmain.c: 151:     clock();
[e ( _clock ..  ]
"152
[; ;newmain.c: 152:     _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"153
[; ;newmain.c: 153:     TRISIO4=0;
[e = _TRISIO4 -> -> 0 `i `b ]
"155
[; ;newmain.c: 155: }
[e :UE 107 ]
}
"157
[; ;newmain.c: 157: void clock(void)
[v _clock `(v ~T0 @X0 1 ef ]
"158
[; ;newmain.c: 158: {
{
[e :U _clock ]
[f ]
"159
[; ;newmain.c: 159:    _delay((unsigned long)((4)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 4 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"160
[; ;newmain.c: 160:    GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"161
[; ;newmain.c: 161:    _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"162
[; ;newmain.c: 162:    GPIO5=0;
[e = _GPIO5 -> -> 0 `i `b ]
"163
[; ;newmain.c: 163:    _delay((unsigned long)((4)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 4 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"164
[; ;newmain.c: 164: }
[e :UE 111 ]
}
"166
[; ;newmain.c: 166: void startBit(void)
[v _startBit `(v ~T0 @X0 1 ef ]
"167
[; ;newmain.c: 167: {
{
[e :U _startBit ]
[f ]
"168
[; ;newmain.c: 168:     GPIO4=0;
[e = _GPIO4 -> -> 0 `i `b ]
"169
[; ;newmain.c: 169:     _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"170
[; ;newmain.c: 170:     GPIO5=0;
[e = _GPIO5 -> -> 0 `i `b ]
"171
[; ;newmain.c: 171: }
[e :UE 112 ]
}
"173
[; ;newmain.c: 173: void stopBit(void)
[v _stopBit `(v ~T0 @X0 1 ef ]
"174
[; ;newmain.c: 174: {
{
[e :U _stopBit ]
[f ]
"175
[; ;newmain.c: 175:     GPIO5=1;
[e = _GPIO5 -> -> 1 `i `b ]
"176
[; ;newmain.c: 176:     _delay((unsigned long)((5)*(4000000/4000000.0)));
[e ( __delay (1 -> * -> -> 5 `i `d / -> -> 4000000 `l `d .4000000.0 `ul ]
"177
[; ;newmain.c: 177:     GPIO4=1;
[e = _GPIO4 -> -> 1 `i `b ]
"178
[; ;newmain.c: 178: }
[e :UE 113 ]
}
"181
[; ;newmain.c: 181: 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 ]
"182
[; ;newmain.c: 182:     unsigned char mode=0b01000100;
[v _mode `uc ~T0 @X0 1 a ]
[e = _mode -> -> 68 `i `uc ]
"183
[; ;newmain.c: 183:     unsigned char brightness=7;
[v _brightness `uc ~T0 @X0 1 a ]
[e = _brightness -> -> 7 `i `uc ]
"184
[; ;newmain.c: 184:     unsigned char control=136+brightness;
[v _control `uc ~T0 @X0 1 a ]
[e = _control -> + -> 136 `i -> _brightness `i `uc ]
"186
[; ;newmain.c: 186:     addr +=192;
[e =+ _addr -> -> 192 `i `uc ]
"187
[; ;newmain.c: 187:     startBit();
[e ( _startBit ..  ]
"188
[; ;newmain.c: 188:     sendData(mode);
[e ( _sendData (1 _mode ]
"189
[; ;newmain.c: 189:     stopBit();
[e ( _stopBit ..  ]
"190
[; ;newmain.c: 190:     startBit();
[e ( _startBit ..  ]
"191
[; ;newmain.c: 191:     sendData(addr);
[e ( _sendData (1 _addr ]
"192
[; ;newmain.c: 192:     sendData(fig);
[e ( _sendData (1 _fig ]
"193
[; ;newmain.c: 193:     stopBit();
[e ( _stopBit ..  ]
"194
[; ;newmain.c: 194:     startBit();
[e ( _startBit ..  ]
"195
[; ;newmain.c: 195:     sendData(control);
[e ( _sendData (1 _control ]
"196
[; ;newmain.c: 196:     stopBit();
[e ( _stopBit ..  ]
"197
[; ;newmain.c: 197: }
[e :UE 114 ]
}
