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.
Содержание MSP430x1xx
Страница 1: ... 2005 Mixed Signal Products User s Guide SLAU049E ...
Страница 6: ...vi ...
Страница 18: ...1 6 Introduction ...
Страница 36: ...2 18 System Resets Interrupts and Operating Modes ...
Страница 112: ...3 76 ...
Страница 130: ...4 18 Basic Clock Module ...
Страница 152: ...5 22 Flash Memory Controller ...
Страница 160: ...6 8 Supply Voltage Supervisor ...
Страница 168: ...7 8 Hardware Multiplier ...
Страница 192: ...8 24 ...
Страница 200: ...9 8 Digital I O ...
Страница 234: ...11 24 Timer_A ...
Страница 260: ...12 26 Timer_B ...
Страница 291: ...13 31 USART Peripheral Interface UART Mode ...
Страница 314: ...14 23 USART Peripheral Interface SPI Mode ...
Страница 346: ...15 32 USART Peripheral Interface I2C Mode ...
Страница 358: ...16 12 Comparator_A ...
Страница 386: ...17 28 ADC12 ...
Страница 418: ...18 32 ADC10 ...
Страница 432: ...19 14 DAC12 ...