> Van: : S.Ramasubramanian > Aan: PICLIST@MITVMA.MIT.EDU > Onderwerp: Hex to ASM > Datum: maandag 24 januari 2000 13:15 Hello rams, Nope, you're not right. The code that will result from a code-to-assembly conversion will be right, no matter what assembler/compiler was used to create the code. The only problem that can/will arise is that it's not allways clear what certain pieces of code do. They could be written to conserve memory, code and/or time. Therefore a simple binary-to-decimal routine could look different for every compiler or (human) programmer. As to calculating a Checksun for code-protected devices: It was possible with the 16C84, because you could read the garbeled contents. The 16F84 however only reads Zero's on a protected device. So, that would not work. I gather that more PIC's have the same (reading Zero's) problem Regards, Rudy Wieser > Hello Piclisters, > Whether conversion of HEX to ASM possible for code protected device? > One more doubt ! whether the asm file after disassembling will depend on > the compiler used for generating the hex. I think , if we have used a > particular version of MPLAB for generating the HEX, and if we use the same > for disassembling, we will not have the problem with the asm file. But > older version of compiled hex code, if disassembled with latest MPLAB as > one of our friend told to import to program memory, will not give us the > correct form of ASM. AM I right? If any one has suggestion in this regard > pls send it across > > One more ? Is it possible to calculate checksum of code protected > device. This I require to check the programmed IC. Any app notes for > calculating the checksum of any programmed device with PIC > > Thanks > > rams