Infineon Technologies C166S V2 User Manual page 264

16-bit microcontroller
Table of Contents

Advertisement

JMPA
Group
Syntax
Alternative Syntax JMPA+ op1, op2
Source Operand(s)
Destination Operand(s)
Operation
IF ((op1) = 1) THEN
ELSE
END IF
Description
If the condition specified by op1 is met, a branch to the absolute address specified by
op2 is taken. If the condition is not met, no action is taken, and the instruction following
the JMPA instruction is executed normally. A static prediction scheme is used: if the
prediction bit 'a' of the instruction long word is cleared then JMPA is assumed 'taken'
and if this bit is set to 1 JMPA is assumed 'not taken'. JMPA+ and JMPA- instructions
are converted into JMPA assumed 'taken' (bit 'a' cleared) and 'not taken' (bit 'a' set)
respectively. For regular JMPA instructions, the assembler applies the following rule:
cc_z is predicted 'not taken' meanwhile all other conditions are predicted 'taken'. A
prefetch hint bit is also used. This bit is the instruction long word bit 'l' and is required by
the fetch unit to deal efficiently with short backward loops. It must be set only if
(0 < IP_jmpa - IP_target
instruction and IP_target is the target address of JMPA.
CPU Flags
E
Not affected.
Z
Not affected.
V
Not affected.
User Manual
Absolute Conditional Jump
Jump Instructions
JMPA op1, op2
JMPA- op1, op2
op1 → extended condition code
op2 → 16-bit address offset
none
(IP) ← op2
Next Instruction
32), cleared otherwise. IP_jmpa is the address of the JMPA
E
Z
-
-
Detailed Instruction Description
V
C
-
-
8-264
User Manual
C166S V2
JMPA
N
-
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents