Lecture Computer organization and assembly language - Lecture 11: Addressing Modes in Assembly

This chapter define the term average access time and describe how it is measured, explain why file compression is a factor in drive performance, define the term data transfer rote and describe how it is measured, explain two steps you can take to optimize the performance of your computer’s hard disk, identify four drive interface standards commonly used in PCs. | CSC 221 Computer Organization and Assembly Language Lecture 11: Addressing Modes in Assembly Lecture 10: Review Data Transfer Instructions Operand Types Instruction Operand Notation Direct Memory Operands MOV Instruction Zero & Sign Extension XCHG Instruction Direct-Offset Instructions Lecture 10: Review ADD and SUB Instructions and how they affect FLAGS (cont.) mov ax,00FFh add ax,1 ; AX= SF= ZF= CF= sub ax,1 ; AX= SF= ZF= CF= add al,1 ; AL= SF= ZF= CF= mov bh,6Ch add bh,95h ; BH= SF= ZF= CF= mov al,2 sub al,3 ; AL= SF= ZF= CF= 0100h 0 0 0 00FFh 0 0 0 00h 0 1 1 01h 0 0 1 FFh 1 0 1 Lecture Outline Data-Related Operators and Directives OFFSET, PTR, TYPE, etc. Operators Indirect Addressing in Assembly Indirect Operands Array Sum Example Indexed Operands Pointers Index Scaling JMP and LOOP Instructions Data-Related Operators and Directives OFFSET Operator PTR Operator TYPE Operator LENGTHOF Operator SIZEOF Operator LABEL Directive OFFSET Operator OFFSET returns the distance in bytes, of

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
Đã 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.