![Infineon Technologies TC1784 User Manual Download Page 715](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446715.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-50
V1.1, 2011-05
PCP, V2.09
10.12.3
Arithmetic and Logical Instructions
Arithmetic instructions that are fully register-based execute conditionally depending on
the specified Condition Code A (see
). All other arithmetic instructions such as
PRAM (.PI), indirect (.I), and FPI (.F and .IF) execute unconditionally.
Note: If a conditional instruction’s condition code is false, the operation will be treated as
a “No Operation”. Register values will not be changed and the flags will not be
updated.
Logical instructions that are fully register-based execute conditionally as determined by
the specified Condition Code A. All other logical instructions, such as PRAM (.PI),
indirect (.I), and FPI (.F and .IF) execute unconditionally.
Table 26
Arithmetic Instructions
Add
ADD
Add register to register (conditionally)
ADD.I
Add immediate value to register
ADD.F
Add content of FPI Bus address location to register
(byte, half-word or word)
ADD.PI
Add content of PRAM address location to register
Subtract
SUB
Subtract register from register (conditionally)
SUB.I
Subtract immediate value from register
SUB.F
Subtract content of FPI Bus address location from register
(byte, half-word or word)
SUB.PI
Subtract content of PRAM address location from register
Compare
COMP
Compare register to register (conditionally)
COMP.I
Compare immediate value to register
COMP.F
Compare content of FPI Bus address location to register
(byte, half-word or word)
COMP.PI Compare content of PRAM address location to register
Negate
NEG
Negate register (2’s complement, conditionally)
Table 27
Logical Instructions
Logical
And
AND
Register AND register (conditionally)
AND.F
Content of FPI Bus address location AND register (byte,
half-word or word)
AND.PI
Content of PRAM address location AND register
MCLR.PI Clear specified bits within a PRAM location
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...