Instructions
Library
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
49
Table 6.8 Table of states
I1
Q
0
I2
1
I3
Examples:
Fig. 6.24
6.1.4 Bitshift operators
The bitshift operators treat a variable as a series of bits that can be moved (shifted) to the
left or right.
6.1.4.1 Shift register left (SHL)
Fig. 6.25
The function SHL operates with INT variables. It is used to shift all bits of the operand X
to the left by the N number of bits; vacated bits are zero-filled. The result is set to the out-
put Q.
Fig. 6.26
Example: left shift of the number 38 (decimal) = 00100110 (binary) by 2 bits
Fig. 6.27










