slang-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] Reg bitwise &


Hi, 
I am a new bee in slang. I would like to know the functionality of bit
wise and (&) operator in slang.

Int1 = (25 & 1)
Int2 = (25 & 2)
Int3 = (25 & 4)

Int4 = (26 & 1)
Int5 = (26 & 2)
Int6 = (26 & 4)

What is expected return values in the IntX specified above? How does
slang proceeds with calculating the values.

Thanks in advance,
Bill.

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]