Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6894585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:48:04+00:00 2026-05-27T06:48:04+00:00

I have learned how to work with 80×86 assembler, so in bit-wise shift operation,

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:48:04+00:00Added an answer on May 27, 2026 at 6:48 am

    According to this, they are the same:

    The shift arithmetic left (SAL) and shift logical left (SHL)
    instructions perform the same operation; they shift the bits in the
    destination operand to the left (toward more significant bit
    locations). For each shift count, the most significant bit of the
    destination operand is shifted into the CF flag, and the least
    significant bit is cleared (see Figure 7-7 in the Intel®64 and IA-32
    Architectures Software Developer’sManual, Volume 1).

    Both were probably included just for completeness since there is a distinction for right-shifts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All of us who work with relational databases have learned (or are learning) that
I have run in to a bit of a problem and I have done
These days I have learned some basic usage of C#. I think that because
Very new to AJAX, but have learned a bit from online tutorials. If I
I have learned so much from http://www.summerofnhibernate.com/ nhibernate screen casts that i wonder why
I have learned Perl and PHP.So I want to do simple real time project
One CSS rule I have learned is that you should use the relative em
So I have learned that that the Microsoft.Jet.OLEDB.4.0 data provider for querying data sources
So far I have learned about generating thread dump and heap dump using jstack
I have an application that stores images in a database. Now I have learned

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.