【正文】
/ O port to use. You can arrange the order of a SETB 39。 but (user) 39。 is also not a 39。 form the sequence. In other words, addresses, instructions are also data. Instruction: from single chip designer provides a number of monly used instructions with mnemonic we have a strict correspondence between the developer can not be changed by the MCU. Address: the search for MCU internal, external storage units, input and output port based on the address of the internal unit value provided by the chip designer is good, can not be changed, the external unit can be single chip developers to decide, but there are a number of address units is a must (see procedures for the implementation of the process). Third, P0 port, P2 and P3 of the second function I use: Beginners often on the P0 port, P2 and P3 port I use the second function puzzled that the second function and have a switch between the original function of the process, or have a directive, in fact, the port The second feature is automatic, do 7 not need instructions to convert. Such as , respectively WR, RD signal, when the microchip processing machines external RAM or external I / O port, they are used as a second function, not as a generalpurpose I / O port used, so long as a A microprocessor implementation of the MOVX instruction, there will be a corresponding signal sent from the or , no prior use of mands. In fact 39。and 39。s data connection is known as the data bus, the device is called line of control all the control bus. Internal or external memory in the microcontroller and other devices have memory cells, the memory cell to be assigned addresses, you can use, distribution, of course, to address given in the form of electrical signals, and as more memory cells, so, for the address allocation The line is also more of these lines is called the address bus. Second, data, address, mand: The reason why these three together because of the nature of these three are the same the number, or are a string of 39。s responsibility inevitably falls on electrical, electronics manufacturers. From this point of view, Intel faded MCU development has its objective factors. In the development of MCU, the most famous manufacturers as the number of Philips Corporation. Philips pany in embedded applications, its great advantage, the MCS51 singlechip microputer from the rapid development of the microcontroller. Therefore, when we look back at the path of development of embedded systems, do not fet Intel and Philips in History. Systems Embedded system microcontroller is an independent development path, the MCU important factor in the development stage, is seeking applications to maximize the solution on the chip。s with a series of successful SCM market, the result will be a drastic change! Just because you are prepared by microputer 2 programs can achieve high intelligence, high efficiency and high reliability! As the microcontroller on the costsensitive, so now the dominant software or the lowest level assembly language, which is the lowest level in addition to more than binary machine code language, and as so low why is the use? Many highlevel language has reached the level of visual programming Why is not it? The reason is simply that there is no home puter as a single chip CPU, not as hard as a mass storage device. A visualization of small highlevel language program which even if only one button, will reach tens of K of size! For the home PC39。s with the United States developed 74 series, or the 6039。s dedicated processor, while the average model prices fall to one . dollars, the most highend [1] model only 10 dollars. Modern SCM systems are no longer only in the development and use of bare metal environment, a large number of proprietary embedded operating system is widely used in the full range of SCM. The handheld puters and cell phones as the core processing of highend microcontroller can even use a dedicated Windows and Linux operating systems. SCM is more suitable than the specific processor used in embedded systems, so it was up to the application. In fact the number of SCM is the world39。MCU Description SCM is also known as microcontroller (Microcontroller Unit), monly used letters of the acronym MCU MCU that it was first used in industrial control. Only a single chip by the CPU chip developed from a dedicated processor. The first design is by a large number of peripherals and CPU on a chip in the puter system, smaller, more easily integrated into a plex and demanding on the volume control device which. INTEL39。s Z80 is the first designed in accordance with this idea processor, then on the development of microcontroller and dedicated processors have parted ways. Are 8bit microcontroller early or 4 bits. One of the most successful is the INTEL 8031, for a simple, reliable and good performance was a lot of praise. Then developed in 8031 out of MCS51 MCU Systems. SCM systems based on this system until now is still widely used. With the increa