例子,
1. &按位与运算 bitand
takemsg4 = bitand( msg, 240) ;
2. |按位或运算 bitor
cover1( i, j) = bitor( cover1( i, j) , shiftmsg4( i, j) ) ;
3. 移位 bitshift
shiftmsg4 = bitshift( takemsg4, - 4) ;
微信扫一扫
例子,
1. &按位与运算 bitand
takemsg4 = bitand( msg, 240) ;
2. |按位或运算 bitor
cover1( i, j) = bitor( cover1( i, j) , shiftmsg4( i, j) ) ;
3. 移位 bitshift
shiftmsg4 = bitshift( takemsg4, - 4) ;
相关推荐