I have learned how to work with 80×86 assembler, so in bit-wise shift operation, I faced a problem with SAL and SHL usage. I means the difference between lines of code as follow :
MOV X, 0AAH
SAL X, 4
MOV X, 0AAH
SHL X, 4
When we should use SHL and when use SAL? What is the difference of them?
According to this, they are the same:
Both were probably included just for completeness since there is a distinction for right-shifts.