CypherCalc's Bit Shifter
can be used to evaluate and simulate a variety of shift register
configurations.
All 32-bits of the Bit Shifter
are initialized to zero. Also, note that the hex value of the
entire 32-bit shift register is displayed in a box at the top of
the Bit Shifter, along with each 16-bit word, and each 8-bit
byte.
The Bit Shifter can perform four
types of shift:
- Rotate: The bits
shift in a circular manner. For a left shift, the MSB
wraps around to the LSB. For a right shift, the LSB wraps
around to the MSB.
- Arithmetic Shift: For
a right shift, the MSB is treated as a sign bit and will
be reset to its current value on each shift. LSBs are
lost as they shift out of the register. For a left shift,
the LSBs are replaced with zeroes on each shift, and the
MSBs are lost as they shift out of the register.
- Logical Shift: For a
right shift, the MSBs are filled with zeroes and LSBs are
lost as they shift out of the register. For a left
shift, the LSBs are filled with zeroes and MSBs are
lost as they shift out of the register.
- Feedback: In this
mode, you can select a combination of the 32 bits to be
fed back (via an exclusive-OR) to the LSB. Only left
shifting is allowed in feedback mode. You select a bit
for feedback by checking the box just below the desired
bit.
A shift register bit can be
toggled at any time by clicking on the bit. You can also preset
the entire shift register by loading the desired hex value into
the "Pre-load" box and clicking "Load".
Clicking "Clear
Shifter" will reset all shifter bits to zero.
Any time the state of the Shift
Register changes, the new 32-bit value is logged in the
"History" box. You can copy values from this box and
paste them into other CypherCalc windows, or other
applications.
Clicking the "Clear
History" button will erase the current contents of the
"History" box.
| Home
| Features
| Tools
| Programming
| System Requirements
| Ordering Info
|