Instruction Set
3-19
RISC 16-Bit CPU
3.4.2
Single-Operand (Format II) Instructions
Figure 3−10 illustrates the single-operand instruction format.
Figure 3−10. Single Operand Instruction Format
B/W
D/S-Reg
15
0
Op-code
8
7
14
13
12
11
10
9
6
5
4
3
2
1
Ad
Table 3−12 lists and describes the single operand instructions.
Table 3−12.Single Operand Instructions
Mnemonic
S-Reg,
D Reg
Operation
Status Bits
D-Reg
V
N
Z
C
RRC(.B)
dst
C
→
MSB
→
.......LSB
→
C
*
*
*
*
RRA(.B)
dst
MSB
→
MSB
→
....LSB
→
C
0
*
*
*
PUSH(.B)
src
SP − 2
→
SP, src
→
@SP
−
−
−
−
SWPB
dst
Swap bytes
−
−
−
−
CALL
dst
SP − 2
→
SP, PC+2
→
@SP
−
−
−
−
dst
→
PC
RETI
TOS
→
SR, SP + 2
→
SP
*
*
*
*
TOS
→
PC,SP + 2
→
SP
SXT
dst
Bit 7
→
Bit 8........Bit 15
0
*
*
*
*
The status bit is affected
−
The status bit is not affected
0
The status bit is cleared
1
The status bit is set
All addressing modes are possible for the
CALL
instruction. If the symbolic
mode (ADDRESS), the immediate mode (#N), the absolute mode (&EDE) or
the indexed mode x(RN) is used, the word that follows contains the address
information.
Содержание 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 ...