3.5.5 Shift Operations
Table 3-13 lists the eight shift instructions.
Table 3-13 Shift Instructions
Instruction Size Function
Shift SHAL B/W (EAd) shift → (EAd)
operations SHAR B/W Performs an arithmetic shift operation on general register
or memory contents.
SHLL B/W (EAd) shift → (EAd)
SHLR B/W Performs a logical shift operation on general register or
memory contents.
ROTL B/W (EAd) shift → (EAd)
ROTR B/W Rotates general register or memory contents.
ROTXL B/W (EAd) rotate through carry → (EAd)
ROTXR B/W Rotates general register or memory contents through the
C (carry) bit.
Note: B—byte; W—word
55
Downloaded from Elcodis.com electronic components distributor