SM39R16A6
内嵌 16KB
具有 ISP 功能的 Flash
和 1K+256BRAM 的 8 位控制器
2.
指令设置
所有SM39R16A6 的指令都是兼容的二进制码,且具有标准的8051一样的功能,以下表格列出了以SM39R16A6 微控器为核
心的指令集的周期的总结,这里的周期表示为机器周期。
表 2‑ 1: Arithmetic operations
符号
ADD A,Rn
描述
Add register to accumulator
Add direct byte to accumulator
Add indirect RAM to accumulator
Add immediate data to accumulator
Add register to accumulator with carry flag
Add direct byte to A with carry flag
Add indirect RAM to A with carry flag
Add immediate data to A with carry flag
Subtract register from A with borrow
Subtract direct byte from A with borrow
Subtract indirect RAM from A with borrow
Subtract immediate data from A with borrow
Increment accumulator
代码
28-2F
25
字节
1
周期
1
ADD A,direct
ADD A,@Ri
ADD A,#data
ADDC A,Rn
ADDC A,direct
ADDC A,@Ri
ADDC A,#data
SUBB A,Rn
SUBB A,direct
SUBB A,@Ri
SUBB A,#data
INC A
2
2
26-27
24
1
2
2
2
38-3F
35
1
1
2
2
36-37
34
1
2
2
2
98-9F
95
1
1
2
2
96-97
94
1
2
2
2
04
1
1
INC Rn
Increment register
08-0F
05
1
2
INC direct
INC @Ri
Increment direct byte
2
3
Increment indirect RAM
06-07
A3
1
3
INC DPTR
DEC A
Increment data pointer
1
1
Decrement accumulator
14
1
1
DEC Rn
Decrement register
18-1F
15
1
2
DEC direct
DEC @Ri
MUL AB
Decrement direct byte
2
3
Decrement indirect RAM
16-17
A4
1
3
Multiply A and B
1
5
DIV
Divide A by B
84
1
5
DA A
Decimal adjust accumulator
D4
1
1
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M04 Ver 0.4 SM39R16A6 06/11/2013
- 21 -