Bitwise AND with a variable
|
01-16-2018, 10:07 AM
(This post was last modified: 01-16-2018 10:08 AM by Stevetuc.)
Post: #1
|
|||
|
|||
Bitwise AND with a variable
If i perform an AND between 2 integers it is bitwise:
#160d AND #FFFFh gives result #160d If one input is a real then the result is 1 if both input nonzero: 160 AND #FFFFh gives result 1 So far so good. However: x:=#160d x AND #FFFFh gives result 1 even though x has an integer value. How can one perform a bitwise AND between integer variables? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Bitwise AND with a variable - Stevetuc - 01-16-2018 10:07 AM
RE: Bitwise AND with a variable - Didier Lachieze - 01-16-2018, 10:22 AM
RE: Bitwise AND with a variable - Carlos295pz - 01-16-2018, 11:31 AM
RE: Bitwise AND with a variable - cyrille de brébisson - 01-17-2018, 06:16 AM
|
User(s) browsing this thread: 1 Guest(s)