TAILIEUCHUNG - Lecture Computer organization and assembly language - Lecture 28: Macros & Win32 console programming

In this lecture, students will be able to understand: Introducing macros, defining macros, invoking macros, Windows 32 console programming, Background Information, Win32 console programs, API and SDK, windows data types, standard console handles, console input, console output. | CSC 221 Computer Organization and Assembly Language Lecture 28: Macros & Win32 Console Programming Lecture 27: Review Two Dimensional Arrays Basic Concept 2-D Array Representation Row-major: (Most Common) : Order Lecture 27: Review Base-Index Operands A base-index operand adds the values of two registers (called base and index), producing an effective address. [base + index] (cont.) .data array WORD 1000h,2000h,3000h .code mov ebx,OFFSET array mov esi,2 mov ax,[ebx+esi] ; AX = 2000h mov edi,OFFSET array mov ecx,4 mov ax,[edi+ecx] ; AX = 3000h mov ebp,OFFSET array mov esi,0 mov ax,[ebp+esi] ; AX = 1000h Lecture 27: Review Base-Index Displacement A base-index-displacement operand adds base and index registers to a constant, producing an effective address. Displacement can be the name of a variable or a constant expression. (cont.) [ base + index + displacement ] displacement [ base + index ] RowNumber = 1 ColumnNumber = 2 mov ebx,NumCols * RowNumber mov esi,ColumnNumber mov .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.