tailieunhanh - System & Program Developments of 8051

tổ chức và mã hóa các chương trình làm giảm phức tạp, cải thiện rõ ràng, và tạo điều kiện gỡ lỗi và sửa đổi Tất cả các chương trình có thể được viết bằng cách sử dụng chỉ có ba cấu trúc: báo cáo, các vòng lặp, và sự lựa chọn quá tốt là đúng | System & Program Developments of 8051 Program Structure and Design Introduction Advantages and Disadvantages of Structured Programming The Three Structures: statements, loops, choice Pseudo Code Syntax Assembly Language Programming Tools & Techniques for Program Development The Development Cycle Integration and Verification Command and Environments T. L. Jong, Dept. of ., NTHU Introduction Structured Programming: Organizing and coding programs that reduces complexity, improves clarity, and facilitates debugging and modifying All programs may be written using only three structures: statements, loops, and choice—too good to be true. Introduce Structure programming to assembly language programming Flowcharts Pseudo code Assembly language T. L. Jong, Dept. of ., NTHU Flowcharts Decision block Process box Input/Output block Program terminator Off-page connector Predefined process (subroutine) Program flow arrow T. L. Jong, Dept. of ., NTHU Pseudo Code Strict adherence to structure in combination with informal language [get a character from the keyboard] IF [condition is true] THEN [do statement 1] ELSE BEGIN [do statement 2] [do statement 3] END T. L. Jong, Dept. of ., NTHU Advantages & Disadvantages of Structured Programming Advantages: Simple to trace, debug Finite number of structures Structures as building block The set of structure is complete Structures are self-documenting, easy to read Structures are easy to describe in flowcharts, syntax diagrams, pseudo code, Increased program productivity T. L. Jong, Dept. of ., NTHU Advantages & Disadvantages of Structured Programming Disadvantages: Only a few high-level languages (Pascal, C, PL/M) accept the structures directly; others require extra translation stage Structured program may execute slower and require more memory Some problems (a minority) are more difficult to solve using only the three structures Nested structures can be difficult to follow T. L. Jong, Dept. of ., | System & Program Developments of 8051 Program Structure and Design Introduction Advantages and Disadvantages of Structured Programming The Three Structures: statements, loops, choice Pseudo Code Syntax Assembly Language Programming Tools & Techniques for Program Development The Development Cycle Integration and Verification Command and Environments T. L. Jong, Dept. of ., NTHU Introduction Structured Programming: Organizing and coding programs that reduces complexity, improves clarity, and facilitates debugging and modifying All programs may be written using only three structures: statements, loops, and choice—too good to be true. Introduce Structure programming to assembly language programming Flowcharts Pseudo code Assembly language T. L. Jong, Dept. of ., NTHU Flowcharts Decision block Process box Input/Output block Program terminator Off-page connector Predefined process (subroutine) Program flow arrow T. L. Jong, Dept. of ., NTHU Pseudo Code Strict adherence

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.