Individual Instruction Descriptions
4-76
Description
Syntax
Description
ADD
dest, src
ADD
src with dest and store the result to dest.
ADD
dest, src, src1 [,mod]
ADD
src1 with src and store the result to dest. Premodify the mod before
execution. (if provided)
See Also
ADDB, ADDS, SUB, SUBB, SUBS
Example 4.14.1.1
ADD A2, A2~, *R2++R5, ––A
Decrement accumulator pointer AP2. Add word at address in R2 to A2~, put result in A2. Add value in
R5 to R2 and store in R2.
Example 4.14.1.2
ADD A1, A1, 0x1221
Add immediate value of 0x1221 to A1 and store result in A1.
Example 4.14.1.3
ADD A0, A0~, PH
Add PH to accumulator A0~ and store result in accumulator A0.
Example 4.14.1.4
ADD A1, A1~, A1
Add accumulator A1 to accumulator A1~, put result in accumulator A1.
Example 4.14.1.5
ADD R3, 0x1000
Add 0x1000 to register R3 store result in R3.
Example 4.14.1.6
ADD R2, R5
Add R2 to R5, store result in R2.
Example 4.14.1.7
ADD AP3, 0x10
Add immediate 0x10 to accumulator pointer AP3, store result in accumulator pointer AP3.
Summary of Contents for MSP50C614
Page 1: ...MSP50C614 Mixed Signal Processor User s Guide SPSU014 January 2000 Printed on Recycled Paper ...
Page 6: ...vi ...
Page 92: ...3 22 ...
Page 300: ...Instruction Set Summay 4 208 Assembly Language Instructions ...
Page 314: ...Software Emulator 5 14 Figure 5 13 Project Menu Figure 5 14 Project Open Dialog ...
Page 325: ...Software Emulator 5 25 Code Development Tools Figure 5 25 EPROM Programming Dialog ...
Page 331: ...Software Emulator 5 31 Code Development Tools Figure 5 31 Context Sensitive Help System ...
Page 368: ...5 68 ...
Page 394: ...7 12 ...
Page 402: ...A 8 ...
Page 412: ...Packaging B 10 ...