Chapter 1A short introduction to the CPUThe CPU is the device which ex dịch - Chapter 1A short introduction to the CPUThe CPU is the device which ex Việt làm thế nào để nói

Chapter 1A short introduction to th

Chapter 1
A short introduction to the CPU
The CPU is the device which executes the machine code a program consists of.
A short glossary:
Instruction : A primitive CPU command. The simplest examples include: moving data between registers, working with
memory, primitive arithmetic operations . As a rule, each CPU has its own instruction set architecture (ISA).
Machine code : Code that the CPU directly processes. Each instruction is usually encoded by several bytes.
Assembly language : Mnemonic code and some extensions like macros which are intended to make a programmer’s life
easier.
CPU register : Each CPU has a fixed set of general purpose registers (GPR). ≈ 8 in x86, ≈ 16 in x86-64, ≈ 16 in ARM. The
easiest way to understand a register is to think of it as an untyped temporary variable . Imagine if you were working
with high-level PL1 and could only use eight 32-bit (or 64-bit) variables . Yet a lot can be done using just these!
One might wonder why there needs to be a difference between machine code and a PL. The answer lies in the fact that
humans and CPUs are not alike— . It is much easier for humans to use a high-level PL like C/C++, Java, Python, etc., but it is
easier for a CPU to use a much lower level of abstraction . Perhaps it would be possible to invent a CPU that can execute
high-level PL code, but it would be many times more complex than the CPUs we know of today . In a similar fashion, it
is very inconvenient for humans to write in assembly language, due to it being so low-level and difficult to write in without
making a huge amount of annoying mistakes. The program which converts the high-level PL code into assembly is called
a compiler.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Chương 1Một giới thiệu ngắn với CPUCPU là thiết bị mà thực hiện mã máy một chương trình bao gồm.Một bảng thuật ngữ ngắn:Chỉ dẫn: Một câu lệnh CPU nguyên thủy. Các ví dụ đơn giản nhất bao gồm: di chuyển dữ liệu giữa các đăng ký, làm việc vớibộ nhớ hoạt động số học nguyên thủy. Như một quy luật, mỗi CPU có một giảng dạy riêng của mình thiết lập kiến trúc (ISA).Mã máy: mã CPU xử lý trực tiếp. Mỗi hướng dẫn thường được mã hóa bởi một số byte.Hội ngôn ngữ: Mnemonic mã và một số tiện ích mở rộng như macro đó nhằm mục đích làm cho cuộc sống của một lập trình viêndễ dàng hơn.Đăng ký CPU: mỗi CPU có một bộ cố định của mục đích chung đăng ký (GPR). ≈ 8 trong x 86, ≈ 16 trong x 86-64, ≈ 16 trong cánh tay. Cáccách dễ nhất để hiểu đăng ký một là để suy nghĩ của nó như là một biến tạm thời untyped. Hãy tưởng tượng nếu bạn đang làm việcvới cấp cao PL1 và chỉ có thể sử dụng tám biến 32-bit (hoặc 64-bit). Được rất nhiều có thể được thực hiện bằng cách sử dụng chỉ đây!Người ta có thể tự hỏi tại sao không phải là một sự khác biệt giữa các mã máy và một PL. Câu trả lời nằm trong thực tế màcon người và CPU là không như nhau —. Nó là dễ dàng hơn nhiều cho con người để sử dụng một PL cao cấp như C/C++, Java, Python, vv, nhưng nó làdễ dàng hơn cho một CPU sử dụng một mức độ thấp hơn nhiều trừu tượng. Có lẽ nó sẽ có thể phát minh ra một CPU có thể thực hiệncấp cao PL mã, nhưng nó sẽ là nhiều lần hơn phức tạp hơn CPU chúng tôi biết ngày hôm nay. Trong một thời trang tương tự, nóis very inconvenient for humans to write in assembly language, due to it being so low-level and difficult to write in withoutmaking a huge amount of annoying mistakes. The program which converts the high-level PL code into assembly is calleda compiler.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: