Infineon Technologies C166S V2 User Manual page 21

16-bit microcontroller
Table of Contents

Advertisement

caddr: Specifies an absolute 16-bit code address within the current segment.
Branches MAY NOT be taken to odd code addresses. Therefore, the least
significant bit of 'caddr' is not used.
rel:
This mnemonic represents an 8-bit signed word offset address relative to the
current Instruction Pointer contents, which points to the instruction after the
branch instruction. Depending on the offset address range, both forward ('rel'=
00
to 7F
H
branch instruction itself is repeatedly executed, when 'rel' = '-1' (FF
word-sized branch instruction, or 'rel' = '-2' (FE
branch instruction.
[Rw]:
In this case, the 16-bit branch target instruction address is determined indi-
rectly by the contents of a word GPR. In contrast to indirect data addresses,
indirectly specified code addresses are NOT calculated via additional pointer
registers (eg. DPP registers). Branches MAY NOT be taken to odd code
addresses. Therefore, the least significant bit of 'caddr' is not used.
seg:
Specifies an absolute code segment number. The C166S V2 CPU supports
256 different code segments, so only the eight lower bits (respectively) of the
'seg' operand value are used to update the CSP register.
#trap7: Specifies a particular interrupt or trap number for branching to the correspond-
ing interrupt or trap service routine via a jump vector table. Trap numbers from
00
to 7F
H
the address range xx'0000
code segment (see VECSEG, i.e. the interrupt jump vector table), please refer
to
Section
User Manual
) and backward ('rel'= 80
H
can be specified to access any double word code location within
H
H
5.1.4.
to FF
) branches are possible. The
H
H
...xx'15D4
(depending of VECSC) in the selected
H
2-21
User Manual
Central Processing Unit
) for a double-word-sized
H
C166S V2
) for a
H
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents