Intel assembly Language Programming Learning Note 1

Source: Internet
Author: User

Chapter I.

Assembler linker: Assembler translates assembly language into machine languages, linker merges individual files into executable files

Is the assembly language of the Intel 80x86 series processor the same as that of a VAX or Motorala 68x00 system?
Not the same, assembly language and CPU instruction set are closely related, each CPU system corresponds to a different assembly.

What is a device driver: Translating the operating system's generic commands into a program that implements hardware specifics

Conventional machine language refers to the second layer

A machine language will be translated into a few micro instructions, the micro-instructions are trade secrets

High-level languages are interpreted as Assembly languages, and assembly language is interpreted as machine (second layer), executed by the operating system (third tier)

Interpreting and compiling

Explanatory language, which is a textual storage of explanatory language, is interpreted as a machine language to be executed at the time of execution.

Compiled type language, The language first generates the machine language by compiling the source code, and then the machine code is run by the machine .

Word has two bytes, one byte is 8 bit (bit)

Complement, the original code is reversed by a bit and added 1

16 complement, the original number, the bitwise 15 minus the number in this position, and the last plus 1

But the decimal number needs to be converted into binary and complement

Question 7: If a Boolean function has 4 inputs, how many rows does its truth table need?

Answer: There are title 5 and title 6 can be seen, 2 input has 2^2 line, 3 input has 2^3,4 input has 2^4 line.

Question 8: How many select bits are required for a multiplexer with 4 inputs?

Answer: That is, there are 2^n=4, so need 2 select bit.

(Note that the number of rows, not the number of columns)

The order of the columns is sorted by dictionary, precedence.

There are several reasons for choosing a bit, I do not know very well ...

Intel assembly Language Programming Learning Note 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.