[Writing] Beginner QuickStart Disassembly (ii)-Play assembly instruction + register

Source: Internet
Author: User

The world of Classification of goods is clear and beautiful, and so is the assembly:
From the perspective of Use: assembly instructions are broadly divided into
1. Data transfer
2. Arithmetic and logic (bitwise) Operations
3. Program Flow Control

What is the data transfer instruction?
mov-moving a data from one place to another;
xchg-Exchange Two data
push-pushes a data into the stack (i.e. stack)
pop-pops a data from the stack to its destination, for example:
POP EAX
What is EAX?
The classmate said well, EAX is where we store the data. Where do we get our data on the CPU?
Since the previous computer did not have a hard disk, there were only two main components CPU and memory. Our operation instructions are actually CPU and memory operation, CPU is composed of execution unit and address adder and cache, etc.
Cache access is very fast, and directly connected to the CPU, they are in the 32-bit CPU, respectively:
1. EAX
2. ECX
3. EDX
4. EBX
5. ESP
6. EBP
7. ESI
8. EDI
9. EIP
Ten. EFL

and a es,cs,ss,ds,fs,gs.

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.