Lesson 1: The Language of Microprocessors

Dịch văn bản hoặc trang web Nhập văn bản hoặc địa chỉ trang web hoặc dịch tài liệu. Hủy Bản dịch từ Tiếng Anh sang Tiếng Việt Hầu hết mọi người nghĩ rằng máy tính là một số loại thiết bị phức tạp đó là không thể để tìm hiểu và vô cùng thông minh, có khả năng suy nghĩ tốt hơn so với một người. Sự thật là quyến rũ ít hơn nhiều. Một máy tính chỉ có thể làm những gì các lập trình viên đã nói với nó để làm, trong hình thức của một chương trình. Một chương trình chỉ. | Lesson 1 The Language of Microprocessors Most people think that computers are some kind of complicated device that is impossible to learn and infinitely intelligent able to think better than a person. The truth is much less glamorous. A computer can only do what the programmer has told it to do in the form of a program. A program is just a sequence of very simple commands that lead the computer to solve some problem. Once the program is written and debugged you hardly ever get it right the first time the computer can execute the instructions very fast and always do it the same every time without a mistake. And herein lies the power of a computer. Even though the program consists of very simple instructions the overall result can be very impressive due mostly to the speed at which the computer can process the instructions. Even though each step in the program is very simple the sequence of instructions executing at millions of steps per second can appear to be very complicated when taken as a whole. The trick is not to think of it as a whole but as a series of very simple steps or commands. Most microprocessors or very small computers here after referred to simply as micro s have much the same commands or instructions that they can perform. They vary mostly in the names used to describe each command. In a typical micro there are commands to move data around do simple math add subtract multiply and divide bring data into the micro from the outside world and send data out of the micro to the outside world. Sounds too is. A typical micro has three basic parts inside. They are the Program Counter Memory and Input Output. The Program Counter keeps track of which command is to be executed. The Memory contains the commands to be executed. The Input Output handles the transfer of data to and from the outside world outside the micro s physical package . The micro we ll be using is housed inside a 40 pin package or chip. There are many other actual parts inside our

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
139    83    3    19-04-2024
Đã 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.