Computer can directly understand and implement the programming language. Binary digital code to represent the command, without translation to be the computer to accept. Different computers use different machine language. The language difficult to learn, difficult to remember, hard to check, difficult to change in practice has little direct use programs in it.
Translated by Google
No. 2
Machine language English: machine language Alias: low-level language, binary code language Definition: Machine language instructions in binary code is directly expressed in computer languages, instructions 0 and 1 is composed of a string of code, they have a certain number of bits, and divided into several sections, each section of code that a different meaning, such as a computer 16-bit word length, that is composed of 16 binary instruction or other information. 16 0 and 1 can be composed of various permutations and combinations, into electrical signals through the line, let the computer perform various operations. Such as a computer instruction to 1011011000000000, which represents an addition to the computer operation; and instructions 1011010100000000 once said subtraction operation. They said the operation code of the top eight, then eight, said address code. As can be seen from the above two instructions, they are just left in the opcode bit 0 from the date of the 6 and 7 are different. Such models can contain 256 (8 th = 2) different commands. Features: Called machine language or binary code language, the computer can recognize, without any translation. Each machine instruction, the format and meaning are represented by the code mandatory, it is called the machine-oriented language, also known as machine language. It is the first generation of computer language. Machine language for different types of computers are generally different. Disadvantages: 1 large complex contain the trivial details of programmers, so that they can not have more time and energy to engage in creative work, perform for them more important tasks. Such as ensuring the correctness of procedures, efficiency. 2 programmer is necessary to manage the overall program design but also in-depth local until the goal of every detail, even if the superior intelligence of programmers often trade-off, repeated mistakes, which are made out of the program, poor reliability, and long development cycle . 3. As for programming in machine language of thinking and expression and people's habits differ, and only a long-time vocational training to be competent programmers, so highbrow programming. 4 because it's written all the "secret" code, so the readability is poor, does not facilitate the exchange and cooperation. 5, because it depends heavily on the specific computer, so portability is poor, poor reusability. These defects were caused by the computer application failed to spread rapidly.
Translated by Google
Example
机器语言 范例
机器语言 范例
Some examples of commands 0000 on behalf of load (LOAD) 0001's storage (_SET_) ... Examples of some register 0000 on behalf of register A 0001 on behalf of register B ... Examples of the memory part 000 billion on behalf of the memory address 0 000000000001 1 on behalf of the memory address 000 000 001 000 on behalf of the memory address is 16 100 billion on behalf of addresses is 2 ^ 11 memory Integration Examples 0000,0000,000000001000 behalf LOAD A, 16 0000,0000,000000000001 behalf LOAD B, 1 0000,0001,000000001000 behalf STORE B, 16 0000,0001,000000000001 behalf STORE B, 1
Translated by Google
百科 Daquan
Machine language machine language 1 lql yUyQn Machine language (. Chine lang spit it e) into a digital form that Basic instruction _set_ machine type, or operating code base through symbolic The instruction _set_. Machine language is generally from one machine can perform all the commands And the operation of the data, its function can be calculated by the corresponding The basic instruction _set_ machine (also called instruction) are described. Its In each instruction to execute a command of basic computer operations, including Data processing operations (such as arithmetic, logical, character processing Etc.), control operations (such as judgments, transfer, interrupt, change the machine state Etc.) and transfer operations (such as input, output, data movement, etc.). Taking into account the Computer, the implementation of the operation instruction and the implementation of the operation of the objects have to be Expressed in binary code form. Instruction from the opcode and two address code Components, the operation code specified to implement the basic operations; and address the Operation of the object specified by the implementation of the storage location on your computer. Was Implementation of the operation of the object can be an integer, real, boolean, string Etc., because they ultimately have to be represented as binary numbers form a sequence Type stored in the computer, in order to distinguish their types, usually in Opcode _set_ "flags" field to be identified, which advanced language Words in the description of the type used to identify the type of object is different Of. The main features of machine language is associated with a particular machine, transport Higher efficiency than the high-level language line, but the user is difficult to use, cumbersome, time-consuming, And error-prone. (Cao Dongqi)
Translated by Google
English Expression
: machine code, binary code in which instructions are written that a computer can understand and act on, Machine Language