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
Tài liệu HOT
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
0
Trang chủ
Công Nghệ Thông Tin
Phần cứng
Lecture Introduction to computing systems: Chapter Introduction to Part II - Yale N. Patt, Sanjay J. Patel
TAILIEUCHUNG - Lecture Introduction to computing systems: Chapter Introduction to Part II - Yale N. Patt, Sanjay J. Patel
After studying this lecture you will be able to understand: Higher level languages, translation, variables, activation records, function calls, returning from a call. | Introduction to Part II HLL Structures Variables Activation records Higher Level Languages HLLs allow symbolic naming of variables After mastering Assemly, you can now appreciate what a luxury this is! HLLs provide expressiveness Compare an if statement to a conditional Branch instruction! HLLs abstract from the underlying hardware While each microprocessor has its own ISA, HLL code is usually portable between many different platforms etc., etc. Pt. II - Translation HLL code has to be translated into the ISA of each machine it runs on: Interpretation: The HLL code is simply a set of commands for a program called an interpreter, which is a virtual machine that translates the HLL code a piece at a time into Machine Language, executes it on the spot, then goes back for another piece. Both the HLL source code and the interpreter are required every time the program is run. Compilation The HLL code is translated into an entire ML program (an executable image) by a program called a compiler. Only the executable image is needed to run the program. Most application software is sold in this form. Pt. II - Variables Symbolic names for variables The compiler creates a symbol table which holds information about each variable: Identifier (name), data type, memory location (as an offset from a “frame pointer”), scope, etc. Suppose a variable “seconds” has been assigned an offset of -5 from the frame pointer, which is maintained in R5: then we can access seconds by the Base+Offset addressing mode: LDR R0, R5, # -5 . each reference to the variable seconds is translated by the compiler to (R5) - 5 We have finally found a use for the offset in LDR! Pt. II - Activation Records A Record A collection of contiguous memory locations treated as one entity The struct construct in C/C++ describes a record Activation Record Is allocated for each function invocation in memory The area of memory where activation records are allocated is called the stack memory or run-time stack .
Huyền Ngọc
96
10
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Bấm vào đây để xem trước nội dung
Tải xuống
TÀI LIỆU LIÊN QUAN
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 1 - Yale N. Patt, Sanjay J. Patel
13
84
2
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 2 - Yale N. Patt, Sanjay J. Patel
17
72
3
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 3 - Yale N. Patt, Sanjay J. Patel
33
105
3
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 4 - Yale N. Patt, Sanjay J. Patel
14
88
2
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 5 - Yale N. Patt, Sanjay J. Patel
36
84
2
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 7 - Yale N. Patt, Sanjay J. Patel
11
93
0
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 8 - Yale N. Patt, Sanjay J. Patel
13
73
0
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 9 - Yale N. Patt, Sanjay J. Patel
15
78
0
Lecture Introduction to computing systems (from bits & gates to C & beyond): Chapter 10 - Yale N. Patt, Sanjay J. Patel
10
66
0
Lecture Introduction to computing systems: Chapter 1 - Yale N. Patt, Sanjay J. Patel
16
92
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461861
55
Giới thiệu :Lập trình mã nguồn mở
14
22625
59
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10883
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10061
446
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9517
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8277
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8227
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7863
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6672
253
Vật lý hạt cơ bản (1)
29
5768
85
TỪ KHÓA LIÊN QUAN
Phần cứng
Computing systems
Introduction to computing systems
Computing machines
Computer organization
General purpose computers
General purpose computers
Data types
Decimal numbers
Digital logic structures
Electronic ones
The von Neumann Model
Instruction cycle
Operate instructions
Data movement instructions
LC 2 assembly language
Assembly language instructions
Device registers
I O basics
TRAP routines
Privileged instructions
Stack data structure
Interrupt I O
LC 3 instruction set architecture
LC 3 data path
Problem solving
Structured programming
Machine architecture
Unsigned integers
Von Neumann machine
Instruction set architecture
TÀI LIỆU MỚI ĐĂNG
Báo cáo khoa học: Loss of kinase activity in Mycobacterium tuberculosis multidomain protein Rv1364c
14
235
0
25-04-2024
Động cơ đốt trong và máy kéo công nghiêp tập 2 part 8
32
259
0
25-04-2024
extremetech Hacking BlackBerry phần 9
31
248
0
25-04-2024
beginning Ubuntu Linux phần 1
34
212
1
25-04-2024
Trading Strategies Profit Making Techniques For Stock_8
23
174
0
25-04-2024
Magnetic Bearings Theory and Applications phần 2
14
170
0
25-04-2024
Management and Services Part 1
10
156
0
25-04-2024
Posted prices versus bargaining in markets_7
23
155
0
25-04-2024
Công nghiệp gang thép Việt Nam : Một giai đoạn phát triển và chuyển đổi chính sách mới part 5
6
194
0
25-04-2024
MÔN HỌC VẬT LIỆU VÀ CÔNG NGHỆ KIM LOẠI - PHẦN I: KIM LOẠI HỌC
32
175
2
25-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7863
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5712
1363
Ebook Chào con ba mẹ đã sẵn sàng
112
3766
1231
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5316
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8277
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3495
642
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10883
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3681
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4043
514
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4124
480
Đã 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.