English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-12-11 02:26:42 · 2 answers · asked by hunger4more88 1 in Computers & Internet Software

2 answers

You have a number as a sequence of binary digits. You are interested in only certain bits. So, you need to mask off the rest. you do that using another binary sequence of digits (another number) which is called a bit mask. You apply logical AND to mask off the digits that you are not interested in.

2006-12-11 02:35:23 · answer #1 · answered by Vikram Raj V 3 · 0 0

A pattern which selects or ignores specific bits in a bit-mapped control or status field.

Simply you can think of it as letting things under control by letting some of all the patterns to be passed out according to the mask you set :)
1111 pattern
1010 mask
------
1010 result (only the 2nd and 4th (from right) are allowed to pass)

2006-12-11 10:48:13 · answer #2 · answered by AMTV 3 · 0 0

fedest.com, questions and answers