【正文】
cult to understand and easy to make mistakes. Therefore, the direct use of it is very difficult to write procedures. Thus, people with some Mnemonic (Mue monic) usually the mand function to replace the English abbreviation opcode, such as the MCS51 in the transmission of several monly used MOV (Move the acronym), add with Add (Addition of abbreviations ) as a mnemonic. In this way, there are clear instructions for each action features, ease of memory and understanding, not prone to error. Mnemonic used to prepare the process is called assembly language program. However, Mnemonic prepared to facilitate understanding of the process can be recognized only singlechip binary machine code, so, in order to allow singlechip can understand the assembly language program must then be replaced by a procedure consisting of binary machine code, which species of the conversion process, known as pilation. Compiled through manual lookup table method can be achieved, we will draw on PC machine through the socalled crossassembler to plete. Posed by the user program binary, once the enter a singlechip, and then start singlechip, it can enter the process to implement the mandate. MCU 51 CPU and memory 8051 singlechip CPU and the controller by the position operator. 8051 singlechip CPU and the controller by the position operator. A calculator to plete the binary calculator arithmetic / logic operations as the core ponents ALU, registers plus TMP, accumulator ACC, register B, the procedures state symbol and Boolean processor PSW register. ACC is an eight accumulator register, which is working CPU registers the most frequent. In arithmetic, logic operations, the accumulator ACC are in operation before the operation a number of temporary (such as being summand), and puting and then save the results (such as algebra and). Register B major operation for multiplication and division. PSW register is also a mark of eight registers, used to store the results of some of the characteristics of puting, if not binary, such as bybit. Its specific meaning of each are shown below. PSW CY AC FO RS1 RS0 OV P to users, the most concerned about is the following binary symbol CY (PSW 7). It expressed whether the binary operation (or borrow). If the operation results in the highest places are binary (addition) or borrow (subtraction), the bit is 1, otherwise to 0. 2 auxiliary binary symbol AC. Also known as semibinary logo, it reflects the number of two eight puting whether there is a half low of four binary, that is, the sum of lowfour (or minus) it has binary (or borrow) and, if the AC for 1 state, otherwise to 0. 3 overflow flag OV. MCS51 to reflect the number of operator symbols with the results of whether there is any overflow, the overflow, this bit is 1, otherwise to 0. 4 parity symbol P. Reflect the content of accumulator ACC parity, if the ACC results of puting even a 1 (for example, 11001100B, including 4 1), then P is 0, otherwise, P = 1. PSW other places, will be introduced at a later stage. PSW stored procedures as a result of the implementation of the state, it is also called the program status word? Calculator also includes a bybit (bit) to carry out logic operations of the logic processor (also known as Boolean processor). Its functionbit instructions in the introduction that when. Second, the controller Controller is the nerve center of the CPU, which includes the timing control logic circuit, an instruction register, decoder, address pointer DPTR and the program counter PC, such as the stack pointer SP. This program counter PC is posed of 16bit counter register. To singlechip implementation of a program, it is necessary in order to advance the program into an area of ROM memory. Singlechip action should be taken out of a sequence of instructions to be implemented. Therefore, there must be a circuit to find out where the mand module address, the circuit is the program counter PC. When the singlechip implementation of procedures, to the PC into which the first instruction address, it took out one of each mand (such as multibyte instructions, each took out a