MSP430 and MSP430X Instructions
4-43
16-Bit MSP430X CPU
Format-I (Double Operand) Instruction Cycles and Lengths
Table 4−10 lists the length and CPU cycles for all addressing modes of the
MSP430 format-I instructions.
Table 4−10.MSP430 Format-I Instructions Cycles and Length
Addressing Mode
No. of
Length of
Src
Dst
Cycles
g
Instruction
Example
Rn
Rm
1
1
MOV
R5,R8
PC
2
1
BR
R9
x(Rm)
4
†
2
ADD
R5,4(R6)
EDE
4
†
2
XOR
R8,EDE
&EDE
4
†
2
MOV
R5,&EDE
@Rn
Rm
2
1
AND
@R4,R5
PC
3
1
BR
@R8
x(Rm)
5
†
2
XOR
@R5,8(R6)
EDE
5
†
2
MOV
@R5,EDE
&EDE
5
†
2
XOR
@R5,&EDE
@Rn+
Rm
2
1
ADD
@R5+,R6
PC
3
1
BR
@R9+
x(Rm)
5
†
2
XOR
@R5,8(R6)
EDE
5
†
2
MOV
@R9+,EDE
&EDE
5
†
2
MOV
@R9+,&EDE
#N
Rm
2
2
MOV
#20,R9
PC
3
2
BR
#2AEh
x(Rm)
5
†
3
MOV
#0300h,0(SP)
EDE
5
†
3
ADD
#33,EDE
&EDE
5
†
3
ADD
#33,&EDE
x(Rn)
Rm
3
2
MOV
2(R5),R7
(
)
PC
3
2
BR
2(R6)
TONI
6
†
3
MOV
4(R7),TONI
x(Rm)
6
†
3
ADD
4(R4),6(R9)
&TONI
6
†
3
MOV
2(R4),&TONI
EDE
Rm
3
2
AND
EDE,R6
PC
3
2
BR
EDE
TONI
6
†
3
CMP
EDE,TONI
x(Rm)
6
†
3
MOV
EDE,0(SP)
&TONI
6
†
3
MOV
EDE,&TONI
&EDE
Rm
3
2
MOV
&EDE,R8
PC
3
2
BR
&EDE
TONI
6
†
3
MOV
&EDE,TONI
x(Rm)
6
†
3
MOV
&EDE,0(SP)
&TONI
6
†
3
MOV
&EDE,&TONI
†
MOV, BIT, and CMP instructions execute in 1 fewer cycle
Содержание MSP430x4xx Family
Страница 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Страница 2: ......
Страница 6: ...vi ...
Страница 114: ...3 76 RISC 16 Bit CPU ...
Страница 304: ...5 20 FLL Clock Module ...
Страница 340: ...7 8 Supply Voltage Supervisor ...
Страница 348: ...8 8 16 Bit Hardware Multiplier ...
Страница 372: ...9 24 32 Bit Hardware Multiplier ...
Страница 400: ...10 28 DMA Controller ...
Страница 428: ...13 10 Basic Timer1 ...
Страница 466: ...15 24 Timer_A ...
Страница 522: ...17 30 USART Peripheral Interface UART Mode ...
Страница 544: ...18 22 USART Peripheral Interface SPI Mode ...
Страница 672: ...23 12 Comparator_A ...
Страница 692: ...24 20 LCD Controller ...
Страница 746: ...26 28 ADC12 ...