Texas Instruments MSP50C614 Stereo System User Manual


 
Individual Instruction Descriptions
4-113
Assembly Language Instructions
4.14.27 JMP Unconditional Jump
Syntax
[label] name dest
[,
mod
] Clock,
clk
Word,
w
With RPT,
clk
Class
JMP
pma16
2 2 N/R 7b
JMP
pma16
,
R
x
++
2 2 N/R 7b
JMP
pma16,
R
x
–– 2 2 N/R 7b
JMP
pma16,
R
x
++R5 2 2 N/R 7b
JMP *A
n
2 1 N/R 7b
Execution PC
dest
[Post–modify R
x
if specified]
Flags Affected RCF and RZF affected by post–modification of R
x
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
JMP
pma16
1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0
x
pma16
JMP
pma16
, R
x
++
1 0 0 0 0 0 0 1 0 1 0 1 R
x
0 1
x
pma16
JMP
pma16
, R
x
––
1 0 0 0 0 0 0 1 0 1 0 1 R
x
1 0
x
pma16
JMP
pma16
, R
x
++R5
1 0 0 0 0 0 0 1 0 1 0 1 R
x
1 1
x
pma16
JMP *A
n
1 0 0 0 1 0 0 A
n
0 0 0 0 0 0 0 0
Description
Instruction Operation
JMP
pma16
[,
mod
] PC is replaced with second word operand. Post modification of R
x
register is done
if specified.
JMP *A
n
PC is replaced with content of accumulator A
n
.
See Also J
cc
, CALL, C
cc
Example 4.14.26.1 JMP 0x2010, R2––
Jump unconditionally to program memory location 0x2010. Decrement R2 by 2.
Example 4.14.26.2 JMP *A3
Jump unconditionally to program memory location stored in accumulator A3.