English
Language : 

PM0044 Datasheet, PDF (110/162 Pages) STMicroelectronics – STM8 CPU programming manual
STM8 instruction set
PM0044
JP
Jump (absolute)
JP
Syntax
JP dst
e.g. JP test
Operation
PC <= dst
Description
The unconditional jump, simply replaces the content of PC by destination
address in same section of memory. Control then passes to the statement
addressed by the program counter. This instruction should be used instead
of JRA during S/W development.
Instruction overview
mnem
dst
JP
Mem
Detailed description
Affected condition flags
V
I1
H
I0
N
Z
C
-
-
-
-
-
-
-
dst
Asm
longmem
JP $1000
(X)
JP(X)
(shortoff,X) JP($10,X)
(longoff,X)
JP($1000,X)
(Y)
JP(Y)
(shortoff,Y) JP($10,Y)
(longoff,Y)
JP($1000,Y)
[shortptr.w] JP[$10.w]
[longptr.w]
JP[$1000.w]
([shortptr.w],X) JP([$10.w],X)
([longptr.w],X) JP([$1000.w],X)
([shortptr.w],Y) JP([$10.w],Y)
cy lgth
Op-code(s)
ST7
1
3
1
1
1
2
CC MS LS
✗
FC
✗
EC XX
✗
1
3
DC MS LS
✗
1
2
90 FC
✗
2
3
90 EC XX
✗
2
4
90 DC MS LS
✗
5
3
92 CC XX
✗
5
4
72 CC MS LS
5
3
92 DC XX
✗
5
4
72 DC MS LS
5
3
91 DC XX
✗
See also: JRT
110/162
Doc ID 13590 Rev 3