Individual Instruction Descriptions
4-114
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, Rx++ 2 2 N/R 7b
JMP pma16, Rx–– 2 2 N/R 7b
JMP pma16, Rx++R5 2 2 N/R 7b
JMP *An 2 1 N/R 7b
Execution PC ⇐ dest
[Post–modify Rx if specified]
Flags Affected RCF and RZF affected by post–modification of Rx
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, Rx++
1 0 0 0 0 0 0 1 0 1 0 1 Rx 0 1
x pma16
JMP pma16, Rx––
1 0 0 0 0 0 0 1 0 1 0 1 Rx 1 0
x pma16
JMP pma16, Rx++R5
1 0 0 0 0 0 0 1 0 1 0 1 Rx 1 1
x pma16
JMP *An 1 0 0 0 1 0 0 An 0 0 0 0 0 0 0 0
Description
Instruction Operation
JMP pma16[, mod] PC is replaced with second word operand. Post modification of Rx register is done
if specified.
JMP *An PC is replaced with content of accumulator An.
See Also Jcc, CALL, Ccc
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.