Machine-level representation of the program (1)

Source: Internet
Author: User
3.5 Arithmetic and logical operation

In fact, in addition to the first LEADL, these instructions have a variant with operands, but omitted here, such as add can be addb, ADDW and Addl.

3.5.1 Load Valid address

The command Leal (load effective address) is actually a variant of MOVL, but there is one obvious feature that he actually does not really refer to memory. For example Leal 7 (%edx,%edx, 4),%edx, assuming that the value inside the%edx is x, then the meaning here is not to take the 5x+7 as the address to get the value and then back to the%eax, but simply to 5x+7 exist in%eax ... At the same time the object operand of the instruction (rightmost) must be a register.

3.5.21 Yuan operation and two Yuan operation

Machine-level representation of the program (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.