A System Application with SAM
In the case of the microprocessor, this is named SAM (Simplified Architecture Microprocessor).
In past Blog the importance of the program in developing microprocessor systems has been emphasized. In the SAM application, the basic procedures involved in writing programs were illustrated. Since developing the program is such a basic requirement in all microcomputer applications, these procedures will be examined in more detail in this Blog, starting with basic concepts of program development.
HOW ARE PROGRAMS DEVELOPED?
Developing a program is just like developing any other type of design in terms of the sequence of tasks that have to be performed. First, the system performance must be completely described before the design effort can begin. The program is to be built from the instructions of a given microprocessor. Therefore, the system performance description must be precise enough so there will be no problem building the component parts with the available instructions. The task of providing such a description is an interactive one which ultimately results in breaking the original system into many elementary functional modules. Each of these elementary functional modules (subprograms) can be converted rather directly into instruction sequences. These subprogram modules can then be interfaced together to form the overall desired system program. The basic procedure is as follows:
1. Write a general description of the desired overall system performance.
2. Identify the overall system inputs, outputs, and general subsystem operations.
3. Describe each subsystem operation, identifying inputs, outputs, and the tasks involved.
4. Continue subdividing system tasks and developing task descriptions until they are defined at the most elementary level.
5. Write the instruction sequences that implement all the elementary subsystem tasks.
6. Combine the individual subsystem task instruction sequences into the desired overall system program.
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น