The process of transforming one bit pattern into another by bit-wise operations is called 1. masking 2. pruning 3. biting 4. chopping

Questions by Rujul   answers by Rujul

Showing Answers 1 - 12 of 12 Answers

vipul_se

  • Jan 28th, 2008
 

It is called masking.
In masking you select a bit pattern and do bit wise OR or AND operation to set a particular bit of a no.
eg. in  a 4 bit no, you have to set the LSB to be 1 always. Then you tahe mask as 0001 and do OR operation
 x|0001

if the bit is set to be 0 always then mask = 1110 and do AND operation
 x&1110

  Was this answer useful?  Yes

R Abarna

  • Dec 16th, 2018
 

Masking

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions