Such comparison is unlikely to give any meaningful result, other than "the files are the same" or "the files are different".
Unless of course if you mean binary diff of some kind?
By finding the differences one could use a dissasembly tool and find out what the different code does.Right?