About KUE-CHIP2 | [Japanese]

Function of Shift and Rotate Instructions

All excerpts are from the "KUE-CHIP2 Educational Board Reference Manual"

MnemonicBit operations
SRAShift Right Arithmetically
SLA†Shift Left Arithmetically
SRLShift Right Logically
SLL†Shift Left Logically
RRARotate Right Arithmetically
RLARotate Left Arithmetically
RRLRotate Right Logically
RLLRotate Left Logically

† SLA and SLL instructions have different flag states after execution. (See Flag functions for details)