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
Cơ sở dữ liệu
Lecture Computer organization and assembly language: Chapter 24 - Dr. Safdar Hussain Bouk
tailieunhanh - Lecture Computer organization and assembly language: Chapter 24 - Dr. Safdar Hussain Bouk
After studying this chapter you will be able to understand: Summarize, at a top level, the key functions of an operating system (OS); discuss the evolution of operating systems for early simple batch systems to modern complex systems; discuss the key design areas that have been instrumental in the development of modern operating systems;. | CSC 221 Computer Organization and Assembly Language Lecture 24: Advanced Procedures Lecture 23: Review Assembly Implementation of: Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications Lecture 23: Review Assembly Implementation of: Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont.) Lecture Outline Local Variables Stack Parameters Register vs. Stack Parameters INVOKE Directive PROC Directive PROTO Directive Passing by Value or by Reference Parameter Classifications Example: Exchanging Two Integers Trouble-Shooting Tips Lecture Outline Stack Frames Memory Models Language Specifiers Explicit Access to Stack Parameters Passing Arguments by Reference Creating Local Variables Terminologies Programming languages use different terms to refer to subroutines : In C and C++, subroutines functions In Java, subroutines methods In MASM, subroutines procedures Values passed to a subroutine by a calling program are called arguments. When the values are received by the called subroutine, they are called parameters. LOCAL Directive A local variable is created, used, and destroyed within a single procedure. The LOCAL directive declares a list of local variables. immediately follows the PROC directive each variable is assigned a type Syntax: LOCAL varlist Example: MySub PROC LOCAL var1:BYTE, var2:WORD, var3:SDWORD Local Variables LOCAL flagVals[20]:BYTE ; array of bytes LOCAL pArray:PTR WORD ; pointer to an array myProc PROC, ; procedure LOCAL t1:BYTE, ; local variables Examples: MASM-Generated Code (1 of 2) BubbleSort PROC LOCAL temp:DWORD, SwapFlag:BYTE . . . ret BubbleSort ENDP BubbleSort PROC push ebp mov ebp,esp add esp,0FFFFFFF8h ; add -8 to ESP . . . mov esp,ebp pop ebp ret BubbleSort ENDP MASM generates the following code: MASM-Generated . | CSC 221 Computer Organization and Assembly Language Lecture 24: Advanced Procedures Lecture 23: Review Assembly Implementation of: Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications Lecture 23: Review Assembly Implementation of: Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont.) Lecture Outline Local Variables Stack Parameters Register vs. Stack Parameters INVOKE Directive PROC Directive PROTO Directive Passing by Value or by Reference Parameter Classifications Example: Exchanging Two Integers Trouble-Shooting Tips Lecture Outline Stack Frames Memory Models Language Specifiers Explicit Access to Stack Parameters Passing Arguments by Reference Creating Local Variables Terminologies Programming languages use different terms to refer to subroutines : In
Bảo Ðịnh
80
48
pptx
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
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461920
55
Giới thiệu :Lập trình mã nguồn mở
14
22952
64
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
10963
531
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10153
450
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
9557
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8350
1127
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8271
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7883
2225
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6792
255
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
6006
1448
TỪ KHÓA LIÊN QUAN
Cơ sở dữ liệu
Computer organization
Assembly language
Tổ chức máy tính
Lecture Computer organization
Assembly language programming
Lập trình hợp ngữ
Computer System
Operating system concepts
Lecture Operating system concepts
Operating system
Operating system structure
Hệ điều hành
Computer system structures
Computer system organization
Computer system architecture
Lecture Operating system principles
Modern operating systems
Evolution of operating systems
Operating system concept
Operating system concept (Ninth edition)
Operating system structures
Process synchronization
Virtual memory
Cấu trúc máy tính
Hierarchical system
Cache memory
Internal memory
International journal of computer science & communication networks
Distributed security system for mobile ad hoc computer networks
Distributed security system
Ad hoc computer networks
The Blackhole attack
Genetic Computer
Knowledge Base System
System Guide
communication
Computer tips
text layout
system administrators
mac operating system
installation experience
linux operating system
computer software
It
The FreeBSD system
computer assembly
computer installation
computer history
computer manufacturing technology
personal computer history
TÀI LIỆU MỚI ĐĂNG
Sáng tạo trong thuật toán và lập trình với ngôn ngữ Pascal và C# Tập 2 - Chương 4
47
253
1
15-05-2024
extremetech Hacking BlackBerry phần 9
31
261
0
15-05-2024
Trading Strategies Profit Making Techniques For Stock_3
23
197
1
15-05-2024
Posted prices versus bargaining in markets_7
23
163
0
15-05-2024
báo cáo hóa học:" Rare ligamentum flavum cyst causing incapacitating lumbar spinal stenosis: Experience with 3 Chinese patients"
4
104
0
15-05-2024
MẪU GIẤY PHÉP VẬN TẢI LOẠI C
2
115
0
15-05-2024
báo cáo hóa học:" Journal of the International AIDS Society: an important step forward"
2
89
0
15-05-2024
Báo cáo khoa học: " Biogeography of Matsucoccus josephi Bodenheimer et Harpaz in Crete and mainland Greece"
6
84
0
15-05-2024
Quy Trình Canh Tác Cây Bông Vải
8
114
0
15-05-2024
Điều bạn cần làm để giữ chặt tình yêu
5
112
0
15-05-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7883
2225
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
6006
1448
Ebook Chào con ba mẹ đã sẵn sàng
112
3782
1250
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5396
1137
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8350
1127
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3535
655
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
10963
531
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3731
526
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4152
523
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4175
482
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.