標題: 跪求51單片機C語言各運算類指令 [打印本頁]

作者: Talent    時間: 2015-7-23 22:03
標題: 跪求51單片機C語言各運算類指令
例如'|'、'||'、'&'、'&&'、'<<'等等這些運算的使用,求具體例子

作者: admin    時間: 2015-7-23 22:30
單片機c語言算術運算符的詳解:http://www.torrancerestoration.com/mcuteach/141.html
作者: babysnail    時間: 2015-7-23 22:44
懂匯編就簡單了

'|'、   orl a,
'||'、  orl c,
'&'     anl a,
'&&'、anl c,
'<<'   rlc   
>>    rrc




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1