位操作是程序设计中对位模式按位或二进制数的一元和二元操作。 在许多古老的微处理器上, 位运算比加减运算略快, 通常位运算比乘除法运算要快很多。 在现代架构中, 情况并非如此:位运算的运算速度通常与加法运算相同(仍然快于乘法运算)。
• 支持全部的位运算符(Bitwise Operators)是C51语言与其他高级语言最 大的不同,即具有汇编语言所具有的运算能力。因此C51既具有高级语言 的特点,也具有低级语言的功能。
基于492个网页-相关网页
Delphi面向对象程序设计 ... 逻辑运算符(not、and、or、xor) 位运算符(not、and、or、xor、shl、shr) 集合运算符(+、-、*、=、、in、=) ...
基于32个网页-相关网页
... 运算符(operator) 位运算符(Logical Bit-wise Operator) 逻辑运算符(Logical operator) ...
基于1个网页-相关网页
移位运算符 Shift Operators ; Shifting operations ; Bitwise Shift
二元位运算符 Binary bit-wise operations ; wise operations
位运算符号 Bitwise Operator
缩位运算符 Reduction operators
位移运算符 Shift operator ; Shift Bitwise Operators
换位运算符 [数] bracket operator
按位求补运算符 bitwise complement operator
位 OR 运算符 bitwise OR operator
位逻辑运算符 bitwise logical operator ; Logical Bitwise Operators
首先可以用位运算符替代纯数学操作。
The first is to use bitwise operations instead of pure mathematical operations.
描述控制位运算符的操作数强制的规则。
Describes the rules that govern the coercion of the operands of bitwise operators.
条件运算符的优先级比按位运算符的优先级低。
The conditional operator has lower precedence than bitwise operators.
应用推荐