Chapter 6
150
••••
Instruction Set Summary
eSL/eSLS Series (+ eSLZ000) User’s Manual
6.2.2 Arithmetic Operation Instructions
Function
Algebra Assembly
Syntax
Operation
W/C
T N Z V C
Rd = Rs+Rt
Rs+Rt
Rd
1/1
- + + + +
[Rd] = Rs+Rt
Rs+Rt
[Rd]
1/1
- + + + +
Rd = [Rs]+Rt
[Rs]+Rt
Rd
1/1
- + + + +
Rd = Rd+#imm6
Rd+#imm6
Rd
1/1
- + + + +
Rd = Rs+#imm16
Rs+#imm16
Rd
2/2
- + + + +
[Rd] = Rs+#imm16
Rs+#imm16
[Rd]
2/2
- + + + +
Rd = Rs+RAM16
Rs+ $addr16
Rd
2/2
- + + + +
Rd++
Rd + 1
Rd
1/1
-
+ + + +
ADD
Rd - -
Rd – 1
Rd
1/1
-
+ + + +
Rd = Rs+Rt+C
Rs+Rt+C
Rd
1/1
- + + + +
[Rd] = Rs+Rt+C
Rs+Rt+C
[Rd]
1/1
- + + + +
Rd = [Rs]+Rt+C
[Rs]+Rt+C
Rd
1/1
- + + + +
Rd = Rd+#imm6+C
Rd+#imm6+C
Rd
1/1
- + + + +
Rd = Rs+#imm16+C
Rs+#imm16+C
Rd
2/2
- + + + +
[Rd] = Rs+#imm16+C
Rs+#imm16+C
[Rd]
2/2
- + + + +
ADC
Rd = Rs+RAM16+C
Rs+ $C
Rd
2/2
- + + + +
Rd = Rs-Rt
Rs-Rt
Rd
1/1
- + + + +
[Rd] = Rs-Rt
Rs-Rt
[Rd]
1/1
- + + + +
Rd = [Rs]-Rt
[Rs]-Rt
Rd
1/1
- + + + +
Rd = Rd-#imm6
Rd-#imm6
Rd
1/1
- + + + +
Rd = Rs-#imm16
Rs-#imm16
Rd
2/2
- + + + +
[Rd] = Rs-#imm16
Rs-#imm16
[Rd]
2/2
- + + + +
SUB
Rd = Rs-RAM16
Rs- $addr16
Rd
2/2
- + + + +
Rd = Rs-Rt-B
Rs-Rt-/C
Rd
1/1
- + + + +
[Rd] = Rs-Rt-B
Rs-Rt-/C
[Rd]
1/1
- + + + +
Rd = [Rs]-Rt-B
[Rs]-Rt-/C
Rd
1/1
- + + + +
Rd = Rd-#imm6-B
Rd-#imm6-/C
Rd
1/1
- + + + +
Rd = Rs-#imm16-B
Rs-#imm16-/C
Rd
2/2
- + + + +
[Rd] = Rs-#imm16-B
Rs-#imm16-/C
[Rd]
2/2
- + + + +
SUBB
Rd = Rs-RAM16-B
Rs- $addr16-/C
Rd
2/2
- + + + +
D=Rs*Rt(SS)
Rs.S*Rt.S
D
1/1
- - - - -
D=Rs*[Rt] (SS)
Rs.S*[Rt].S
D
1/1
- - - - -
D=Rs*[Rt++](SS)
Rs.S*[Rt++].S
D
1/1
- - - - -
D=Rs*[Rt--](SS)
Rs.S*[Rt--].S
D
1/1
- - - - -
D=Rs*P[Rt](SS)
Rs.S*P[Rt].S
D
1/2(1)
1
- - - - -
D=Rs*P[Rt++](SS)
Rs.S*P[Rt++].S
D
1/2(1)
1
- - - - -
D=[Rs++]*P[Rt--](SS)
[Rs++].S*P[Rt--].S
D
1/2(1)
1
- - - - -
MUL.SS
D=[Rs++]*P[Rt++](SS)
[Rs++].S*P[Rt++].S
D
1/2(1)
1
- - - - -
1
Using RPT instruction to perform this operation only needs 1 cycle
Содержание eSL Series
Страница 8: ...Contents viii Contents eSL eSLS Series eSLZ000 User s Manual...
Страница 11: ...Contents eSL eSLS Series eSLZ000 User s Manual Contents xi...
Страница 12: ......
Страница 28: ......
Страница 110: ...Chapter 3 98 Peripheral Control eSL eSLS Series eSLZ000 User s Manual BC IO INTF1 ADIF RETI...
Страница 115: ...Chapter 3 eSL eSLS Series eSLZ000 User s Manual Peripheral Control 103...
Страница 148: ......
Страница 154: ...Chapter 4 142 Electrical Characteristics eSL eSLS Series eSLZ000 User s Manual...