8051指令集


8051 微控制器的指令可分為五組。這些組如下

  • 資料傳輸組

  • 算術組

  • 邏輯組

  • 程式分支組

  • 位處理組

此位處理組也稱為布林變數操作。

與 8085 類似,某些指令具有兩個運算元。第一個運算元是目標,第二個運算元是源。

在以下示例中,你會獲得一些符號。符號如下 −

Rn = Any register from R0to R7
Ri = Either R0 or R1
d8 = Any 8-bit immediate data (00H to FFH)
d16 = 16-bit immediate data
a8 = 8-bit address
bit = 8-bit address of bit which is bit addressable
rel = 8-bit signed displacement. The range is -128 to 127. It is relative to the first byte of the instruction.

更新於: 2020-06-27

23K+ 次瀏覽

啟動你的職業生涯

透過完成該課程獲得認證

開始
廣告
© . All rights reserved.