Logical Operation Including Integer - Sanyo MBC-550 Series User Manual

Table of Contents

Advertisement

2)
Logical operation including integer(s)
Result
Binary
15 AND 16
15
01111
10000
->
16
->
15 AND 16
->
00000
->
0
15 AND 10
15
1111
->
10
->
1010
15 AND 10
->
1010
->
10
-1 AND 16
-1 ->
16 ->
1111111111111111
0000000000010000
-1 AND 16 ->0 0000000010000 ->
16
8 OR 16
8
01000
10000
->
16
->
8 OR 16
->
11000
->
15 OR 16
15
->
1111
1 0 0 0 0
16
->
15 OR 16
11111
->
->
31
3-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents