Future of assembly language
I have published a "WIN98 for speed considerations in the ASM expert clinic." After the release, some netizens have questioned; and the other because I'm practicing ASM, I also have some new experience on the compilation, so I replied as follows:
This news is I saw in a famous computer magazine, and I can't remember it because I have been in the year. But because I was working hard at the time, I thought of only C ASM could write OS, and more Win9X so big software project? Therefore, it is deeply vibrating and let me have a new understanding of ASM. If you look close to Masm 6. X, will find some syntax similar to PASCAL has entered the ASM world. I personally think that. IF, .ELSE.WHILE..until, Invoke, Proto, Struct, UNION, the most obvious benefit is that the most obvious benefit is Don't believe you, after use .Startup and .end, the main execution module does not need to use the END label. This makes the readability of ASM greatly enhanced, and it also meets the principles of structured programming. Write an ASM under DOS, without the use of C-like libraries can be utilized, an example, read into A, B, output results A B, will involve ASCII code to binary mutual conversion, with c just use SCANF It is easy to solve with Printf. Therefore, to reduce the difficulty of ASM, the key is that there are a large number of libraries to call, and have the same call statement like a high-level language, and pass the parameters of the traditional ASM's Stack. It is too much trouble. Therefore, Microsoft has made Invoke and Proto, so that this problem has been well resolved. Do not believe that you will see Win32ASM, after adding new expansion syntax, you can flexibly call Win32API, both of which are resolved. Write Windows Application with Win32ASM, simply as simple as C. Therefore, I published the above speech. I hate my own falsification, although it is a part of life.
From the discussion, it is conceivable that ASM's future should be close to the high-level language, and the idea of adding OOP. If you can't do it, you can use a lot of libraries to solve it. If you can make an ASM version of the MFC or VCL, it is believed that more enthusiasts will be added due to the powerful function of ASM.
Another note: The operating system is the most complex part of the computer software, but its core technology is in the hands of old beauty. my country's Windows installed volumes, about Windows security issues, such as Microsoft secretly collect user information (Windows XP is extremely extreme), Intel Piii parmetric number problem, US law prohibits Windows source procedures from the United States, Bay War During the period, the weapon equipment obtained by Iraq can virus. After the opening of the equipment, the equipment is automatically out of control, and the cpu is equipped with a fuse. Once the electromagnetic bomb, it will automatically fuse, etc., there is a fatal potential threat to our country. According to news reports: my country has produced a 486 CPU core, but the announcer is clearly defined when broadcasting this "486", the reason I don't need to say more. For safety considerations and national interests, many technically, many technologies are blocked, as China with 5 billion people, the successor, especially the United States, is now obedient, Xiao Japan wants to invade China, ( I never believe in what is the water, the middle-day friendship is long, and we must make a self-computer. Fellows, efforts!
Zheng Hongwen
Predrose@sohu.com
2001-10-18 22:42 in Shanghai has a feeling