|
编译结果如下:(怎么就是不编译啊?)
1079: {
1080: ArraySPSData[0] = 19;
C:0x0197 754F13 MOV ArraySPSData(0x4F),#0x13
1081: ArraySPSData[1] = (0xF0 | MachineId);
C:0x019A E51F MOV A,MachineId(0x1F)
C:0x019C 44F0 ORL A,#B(0xF0)
C:0x019E F550 MOV 0x50,A
1082: ArraySPSData[2] = 17;
C:0x01A0 755111 MOV 0x51,#0x11
1083: ArraySPSData[3] = 0x80;
C:0x01A3 755280 MOV 0x52,#P0(0x80)
1084: ArraySPSData[4] = MachineId;
1085:
C:0x01A6 851F53 MOV 0x53,MachineId(0x1F)
1086: for (i=5; i<19; i++)
C:0x01A9 750805 MOV 0x08,#0x05
1087: {
1088: ArraySPSData = ArrayBarcBuf[i-3];
C:0x01AC 7461 MOV A,#0x61
C:0x01AE 2508 ADD A,0x08
C:0x01B0 F8 MOV R0,A
C:0x01B1 E6 MOV A,@R0
C:0x01B2 FF MOV R7,A
C:0x01B3 744F MOV A,#ArraySPSData(0x4F)
C:0x01B5 2508 ADD A,0x08
C:0x01B7 F8 MOV R0,A
C:0x01B8 A607 MOV @R0,0x07
1089: }
1090:
C:0x01BA 0508 INC 0x08
C:0x01BC E508 MOV A,0x08
C:0x01BE B413EB CJNE A,#0x13,C:01AC
1091: ArraySPSData[19] = ArraySPSData[2];
C:0x01C1 855162 MOV 0x62,0x51
1092: for (i=3; i<19; i++)
C:0x01C4 750803 MOV 0x08,#0x03
1093: {
1094: ArraySPSData[19] ^= ArraySPSData;//异或
C:0x01C7 744F MOV A,#ArraySPSData(0x4F)
C:0x01C9 2508 ADD A,0x08
C:0x01CB F8 MOV R0,A
C:0x01CC E6 MOV A,@R0
C:0x01CD 6262 XRL 0x62,A
1095: }
C:0x01CF 0508 INC 0x08
C:0x01D1 E508 MOV A,0x08
C:0x01D3 B413F1 CJNE A,#0x13,C:01C7
1096: ArraySPSData[19] &= 0x7F;
C:0x01D6 53627F ANL 0x62,#0x7F
1097: }
1098: else
C:0x01D9 020341 LJMP C:0341
1099: {
1100: ArraySPSData[0] = 5;
C:0x01DC 754F05 MOV ArraySPSData(0x4F),#0x05
1101: ArraySPSData[1] = (0xF0 | MachineId);
C:0x01DF E51F MOV A,MachineId(0x1F)
C:0x01E1 44F0 ORL A,#B(0xF0)
C:0x01E3 F550 MOV 0x50,A
1102: ArraySPSData[2] = 3;
C:0x01E5 755103 MOV 0x51,#0x03
1103: ArraySPSData[3] = 0x80;
C:0x01E8 755280 MOV 0x52,#P0(0x80)
1104: ArraySPSData[4] = MachineId;
1105:
C:0x01EB 851F53 MOV 0x53,MachineId(0x1F)
1106: ArraySPSData[5] = ArraySPSData[2];
C:0x01EE 855154 MOV 0x54,0x51
1107: for (i=3; i<5; i++)
C:0x01F1 750803 MOV 0x08,#0x03
1108: {
1109: ArraySPSData[5] ^= ArraySPSData; //异或
C:0x01F4 744F MOV A,#ArraySPSData(0x4F)
C:0x01F6 2508 ADD A,0x08
C:0x01F8 F8 MOV R0,A
C:0x01F9 E6 MOV A,@R0
C:0x01FA 6254 XRL 0x54,A
1110: }
C:0x01FC 0508 INC 0x08
C:0x01FE E508 MOV A,0x08
C:0x0200 B405F1 CJNE A,#0x05,C:01F4
1111: ArraySPSData[5] &= 0x7F;
1112: }
1113: }
1114:
1115: break; |
|