Nov 21, 2011 #1 P PlayaSlaya69 Junior Member level 1 Joined Aug 17, 2011 Messages 18 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,455 Hi all, this may be a simple question but please bare with as my background is more hardware than software. I'd like to know what's the quickest way or algorithm of inverting a binary number, such that the msb becomes the lsb and so on. Regards
Hi all, this may be a simple question but please bare with as my background is more hardware than software. I'd like to know what's the quickest way or algorithm of inverting a binary number, such that the msb becomes the lsb and so on. Regards
Nov 21, 2011 #2 alexan_e Administrator Joined Mar 16, 2008 Messages 11,888 Helped 2,021 Reputation 4,158 Reaction score 2,031 Trophy points 1,393 Location Greece Activity points 64,371 This was written for embedded system but I think you can apply it in a PC program too 8/16 bit value reverting function (11000000 to 00000011) - Blogs - Forum for Electronics Alex
This was written for embedded system but I think you can apply it in a PC program too 8/16 bit value reverting function (11000000 to 00000011) - Blogs - Forum for Electronics Alex