TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-123
V1.1, 2011-05
PCP, V2.09
10.18.32 SET, Set Bit
This section describes the SET bit instruction of the PCP.
10.18.33 SHL, Shift Left
This section describes the SHL instruction of the PCP.
SET
Syntax
SET Ra, #imm5
Description
Set bit imm5 of register Ra to 1.
Operation
R[a][imm5] = 1
Flags
None
SET.F
Syntax
SET.F [Ra], #imm5, Size
Description
Set bit imm5 of the address location specified through the
contents of register Ra to 1. This instruction is executed using
a locked read-modify-write FPI Bus transaction.
Operation
FPI[(R[a])][imm5] = 1
Flags
None
SHL
Syntax
SHL Ra, #imm5
Description
Shift the contents of register Ra to the left by the number of
bit positions specified through the 5-bit value imm5. The
values allowed for imm5 are 1, 2, 4 and 8. The carry flag,
R7.C, is set to the last bit shifted out of bit 31 of register Ra.
Zeros are shifted in from right.
Operation
R[a] = R[a] << imm5; imm5 = 1, 2, 4, 8
R7_C = last bit shifted out of R[a]
Flags
N, Z, C
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...