
NXP Semiconductors
PT2001SWUG
PT2001 programming guide and instruction set
PT2001SWUG
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2019. All rights reserved.
User guide
Rev. 3.0 — 29 April 2019
99 / 153
shlsi
Description:
Shifts the op1 register left. The shift is single or multiple according to the immediate value
Imm.
The op1 register is handled as a two's complement number. The MBS (sign bit) is
unchanged during the shift operation. To be completed, the shift operation requires a
number of ck clock cycles corresponding to the immediate value Imm.
Operation:
(Source1) << Immediate value → (Source)
Assembler syntax:
shls op1 Imm;
Operands:
•
op1 – One of the registers listed in the operand
•
Imm – The Imm 4-bit immediate data register
Condition register:
•
SB – Shift out bit
•
MO – Multiplication shift overflow
Table 87. shlsi instruction format
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
0
1
1
0
0
0
Imm
op1