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