Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Hệ thống nhúng - Chương 3
Đang chuẩn bị liên kết để tải về tài liệu:
Hệ thống nhúng - Chương 3
Minh Hiền
72
21
ppt
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Flight plan: • In this lesson we will review all the numerical data types offered by the MPLAB® C30 compiler. • We will learn how much memory the compiler allocates for the numerical variables and we will investigate the relative efficiency of the routines used to perform arithmetic operations by using the MPLAB • SIM Stopwatch as a basic profiling tool. This experience will help you choose the “right” numbers for your embedded-control application, understanding when and how to balance performance and memory resources, real-time constraints and complexity | Hệ thống nhúng Thạc sĩ Lê Mạnh Hải Embedded Systems Lesson 3 : NUMBERS Flight plan: In this lesson we will review all the numerical data types offered by the MPLAB® C30 compiler. We will learn how much memory the compiler allocates for the numerical variables and we will investigate the relative efficiency of the routines used to perform arithmetic operations by using the MPLAB SIM Stopwatch as a basic profiling tool. This experience will help you choose the “right” numbers for your embedded-control application, understanding when and how to balance performance and memory resources, real-time constraints and complexity. Preflight checklist MPLAB IDE, Integrated Development Environment MPLAB SIM, software simulator MPLAB C30 compiler (Student Version) The flight MPLAB C30 User Guide The flight unsigned long i,j,k; main () { i = 0x1234; // assign an initial value to i j = 0x5678; // assign an initial value to j k = i * j; // perform the product and store the result in | Hệ thống nhúng Thạc sĩ Lê Mạnh Hải Embedded Systems Lesson 3 : NUMBERS Flight plan: In this lesson we will review all the numerical data types offered by the MPLAB® C30 compiler. We will learn how much memory the compiler allocates for the numerical variables and we will investigate the relative efficiency of the routines used to perform arithmetic operations by using the MPLAB SIM Stopwatch as a basic profiling tool. This experience will help you choose the “right” numbers for your embedded-control application, understanding when and how to balance performance and memory resources, real-time constraints and complexity. Preflight checklist MPLAB IDE, Integrated Development Environment MPLAB SIM, software simulator MPLAB C30 compiler (Student Version) The flight MPLAB C30 User Guide The flight unsigned long i,j,k; main () { i = 0x1234; // assign an initial value to i j = 0x5678; // assign an initial value to j k = i * j; // perform the product and store the result in k } Assembly code On optimization (or lack thereof) In fact, the compiler does not see things this clearly—its role is to create “safe” code, avoiding (at least initially) any assumption and using standard sequences of instructions. Later on, if the proper optimization options are enabled, a second pass (or more) is performed to remove the redundant code. During the development and debugging phases of a project, though, it is always good practice to disable all optimizations as they might modify the structure of the code being analyzed and render single-stepping and breakpoint placement problematic. Testing Set the cursor on the first line containing the initialization of the first variable, and perform a Run To Cursor command to let the program initialize and stop the execution just before the first instruction we want to observe. Open the Watch window (“View→Watch”) and select WREG0 in the SFR selection box, then click on the “Add SFR” button. Repeat the operation for .
TÀI LIỆU LIÊN QUAN
Bài giảng Thiết kế hệ thống nhúng (Embedded Systems Design) - Chương 3: Lập trình hệ thống nhúng
Bài giảng Thiết kế hệ thống nhúng (Embedded Systems Design) - Chương 6 (Bài 10): Ví dụ về hệ thống nhúng mobile robot
Bài giảng Hệ nhúng: Chương 2 - Phạm Văn Thuận
Bài giảng Thiết kế hệ thống nhúng (Embedded Systems Design) - Chương 1: Tổng quan về hệ thống nhúng
Bài giảng Thiết kế hệ thống nhúng (Embedded Systems Design) - Chương 4: Kỹ thuật lập trình nhúng
Bài giảng Thiết kế hệ thống nhúng (Embedded Systems Design) - Chương 6 (Bài 11): Công nghệ thiết kế
Bài giảng Thiết kế hệ thống nhúng (Embedded Systems Design) - Chương 6 (Bài 11): Các hệ thống điều khiển
Bài giảng Thiết kế hệ thống nhúng (Embedded Systems Design) - Chương 5: Hệ điều hành thời gian thực
Bài giảng Hệ nhúng: Chương 1 - Phạm Văn Thuận
Đề thi học kì 2 môn Hệ thống điều khiển nhúng năm 2018-2019 - Trường Đại học Bách Khoa TP. HCM
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.