Current location - Education and Training Encyclopedia - Education and training - Ask a master, do you need to know assembly language to learn microcomputer principle and interface technology? Please talk about your experience. . . Thank you very much ! !
Ask a master, do you need to know assembly language to learn microcomputer principle and interface technology? Please talk about your experience. . . Thank you very much ! !
Personally, I think that if you have an assembly foundation, just like learning Chinese characters without coding, you will write excellent articles. Therefore, computer interface technology should not only have the assembly foundation (the ability to write general assembly programs) but also understand the knowledge related to computer hardware:

First: Understand what a digital circuit is without delving into it. Because only by understanding the most essential structure of the computer can we have a deep understanding of the upper computer code and assembly language. Only in this way can we understand the concept of computer hardware interface.

Second: Know what a hardware interface (bus) is: Just like an interface in a high-level language, you don't have to care about how it implements internal processes. We can use this class normally as long as we know what functions the interface provides. Computer hardware includes data bus, address bus and control bus. If the hardware is connected to the bus correctly, we can operate the hardware as long as we know its port in the system.

When I was studying interface technology, I mistakenly thought that to drive a hardware, I had to write a driver inside the hardware before I could use it in a computer, but later I learned that the hardware itself had its own "internal driver", which was designed when I designed the hardware. As long as we pass the control command into the internal register of the hardware, the hardware can run normally, so we don't have to care about the hardware all the time, so we just need to initialize a certain hardware. Personally, I don't think it is necessary to write hardware-related code to learn assembly. Therefore, it is very important to know the hardware interface of the computer and how to write the assembly interface. It will be natural to practice this code more.