[Japanese]

About KUE-CHIP2
KUE-CHIP2 and KUE-CHIP2 educational board
Instruction set for KUE-CHIP2
Assembly Syntax
Instruction Set
Function of Shift and Rotate Instructions
Flag Functions
Quick Instruction Code Chart
KUE-CHIP2 Simulator JAVA

Back to the KUE-CHIP2 Simulator page

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)