rlc rotate left throught the carry flag 帶進(jìn)位循環(huán)左移
rr rotate right 循環(huán)右移
rrc rotate right throught the carry flag 帶進(jìn)位循環(huán)右移
swap swap 低4位與高4位交換
(4)控制轉(zhuǎn)移類指令17種助記符
acall absolute subroutine call 子程序絕對調(diào)用
lcall long subroutine call 子程序長調(diào)用
ret return from subroutine 子程序返回
reti return from interruption 中斷返回
jmp jump indirect 跳轉(zhuǎn)指令
sjmp short jump 短轉(zhuǎn)移
ajmp absolute jump 絕對轉(zhuǎn)移
ljmp long jump 長轉(zhuǎn)移 mcs-51指令英語全簡稱 第2頁 cjne compare and jump if not equal 比較不相等則轉(zhuǎn)移
djnz decrement and jump if not zero 減后不為則轉(zhuǎn)移
jz jump if zero 結(jié)果為則轉(zhuǎn)移
jnz jump if not zero 結(jié)果不為則轉(zhuǎn)移
jc jump if the carry flag is set 有進(jìn)位則轉(zhuǎn)移
jnc jump if not carry 無進(jìn)位則轉(zhuǎn)移
jb jump if the bit is set) b 位為則轉(zhuǎn)移
jnb jump if the bit is not set b 位為則轉(zhuǎn)移
jbc jump if the bit is set and clear the bit 位為則轉(zhuǎn)移并清除該位
nop no operation 空操作
5位操作指令1種助記符
setb set bit 置位
偽指令
助記符 英文注釋 功能
org origin 起始地址
db define byte 定義字節(jié)
dw define word 定義字義
equ equal 賦值右賦左 等于
data data 數(shù)據(jù)賦值右賦左
xdata external data 外部數(shù)據(jù)賦值右賦左
bit bit 位地址賦值
end end 匯編結(jié)束
ds define storage 定義存儲空間
51外部引腳
縮寫 英文解釋 中文解釋
rst 9 reset 復(fù)位信號引腳
rxd (10--p3.0) receive data 串口接收端
txd (11--p3.1) transmit data 串口發(fā)送端
int0(————) 12--p3.2 interrupt0 外部中斷0信號輸入引腳
int1(————) 13--p3.3 interrupt1 外部中斷1信號輸入引腳
t0 (14--p3.4) timer0 定時/計數(shù)器0輸入信號引腳
t1 (15--p3.5) timer1 定時/計數(shù)器1輸入信號引腳
wr(———) (16--p3.6) write 存儲器的寫信號
寫信號引腳
rd(———) (17--p3.7) read 讀信號引腳
psen(—————) 29 progammer saving enable 外部程序存儲器讀選通
信號
ale 30 address latch enable 地址鎖存允許信號
ea(———) (31) enable 外部rom選擇信號
51內(nèi)部寄存器
sfr special funtion register 特殊功能寄存器
acc accumulate 累加器a
psw progammer status word 程序狀態(tài)字 mcs-51指令英語全簡稱 第3頁 cy (psw.7) carry 進(jìn)位標(biāo)志位
ac (psw.6) assistant carry 輔助進(jìn)位標(biāo)志位
ov (psw.2) overflow 溢出標(biāo)志位
pc progammer counter 程序計數(shù)器
dptr data point register 數(shù)據(jù)指針寄存器
sp stack point 堆棧指針
tcon timer control 定時器控制寄存器
tf1 tcon.7 timer1 flag t1中斷標(biāo)志位
tr1 tcon.6 timer1 run t1運(yùn)行控制位
tf0 tcon.5 timer0 flag t0中斷標(biāo)志位
tr0 tcon.4 timer0 run t0運(yùn)行控制位
ie1 tcon.3 interrupt1 exterior 外部中斷1中斷標(biāo)志位
推薦閱讀
- 單片機(jī)學(xué)習(xí)方法 單片機(jī)學(xué)習(xí)技巧
- 縮寫acc是什么意思
- 針織衫英文怎么說
- ET網(wǎng)絡(luò)語言是什么意思
- 工裝面料的英文怎么說
- 繡花線英文怎么說
- 真絲的英文怎么寫真絲的英文縮寫
- 花瑤布的英文怎么說
- 爛花面料的英文怎么寫
- 戒指絨是什么戒指絨英文怎么講
