Shop OBEX P1 Docs P2 Docs Learn Events
Bitwise NOT? NOT! Not sure which way to convert this... — Parallax Forums

Bitwise NOT? NOT! Not sure which way to convert this...

Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
edited 2014-08-23 13:25 in Propeller 1
I thought at first what I was trying to do is a bitwise NOT.. After scanning the Propeller Manual and a quick test, this isn't what I'm trying to accomplish.

If I've got a binary number that looks like this: 10010000
I need that number to look like this: 00001001

Bitwise NOT returns: 111101110 I'm trying to flip the number completely over.

Can someone tell me what type of bit shift I'm attempting here?

Thanks

Jeff

Comments

Sign In or Register to comment.