OM13008,598 NXP Semiconductors, OM13008,598 Datasheet - Page 382

no-image

OM13008,598

Manufacturer Part Number
OM13008,598
Description
BOARD LPC XPRESSO LPC122X
Manufacturer
NXP Semiconductors
Series
LPCXpressor
Datasheets

Specifications of OM13008,598

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-6642
OM13008
NXP Semiconductors
UM10441
User manual
Fig 69. LSR #3
Fig 70. LSL #3
Carry
Flag
31
0
25.4.3.3.3 LSL
25.4.3.3.4 ROR
31
0
0
Logical shift left by n bits moves the right-hand 32-n bits of the register Rm, to the left by n
places, into the left-hand 32-n bits of the result, and it sets the right-hand n bits of the
result to 0. See
You can use the LSL operation to multiply the value in the register Rm by 2
regarded as an unsigned integer or a two’s complement signed integer. Overflow can
occur without warning.
When the instruction is LSLS the carry flag is updated to the last bit shifted out, bit[32-n],
of the register Rm. These instructions do not affect the carry flag when used with LSL #0.
Remark:
Rotate right by n bits moves the left-hand 32-n bits of the register Rm, to the right by n
places, into the right-hand 32-n bits of the result, and it moves the right-hand n bits of the
register into the left-hand n bits of the result. See
When the instruction is RORS the carry flag is updated to the last bit rotation, bit[n-1], of
the register Rm.
Remark:
If n is 32 or more, then all the bits in the result are cleared to 0.
If n is 33 or more and the carry flag is updated, it is updated to 0.
If n is 32 or more, then all the bits in the result are cleared to 0.
If n is 33 or more and the carry flag is updated, it is updated to 0.
All information provided in this document is subject to legal disclaimers.
Figure
Rev. 1.1 — 10 March 2011
70.
...
...
Chapter 25: LPC122x Appendix ARM Cortex-M0
Figure
25–71.
5
5
4
4
3
3
UM10441
2
© NXP B.V. 2011. All rights reserved.
0 0 0
2
1 0
n
, if the value is
1 0
Carry
382 of 442
Flag

Related parts for OM13008,598