I have learned how to work with 80x86 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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…