Chapter 6: Instructions 97
Example
Program Expression Operation Results
Regardless of N, the MSB moves to the carry bit
(F1.8) and the LSB always becomes 0.
The R0.0 input is the initial condition, used to set the
initial value of M0 to $FFFF.
R0.0
R
DLET
D = MO
S = $FFFF
DSHL
D = M0
N = 2
R0.1
R
1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
R0.0
R0.1
$FFF0
$FFFF $FFFC
M0
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com