Lecture Computer organization and assembly language - Lecture 07: Addressing Modes

This chapter presents the following content: opcode field, right of the opcode field is the operand field; the comment field, the final field, contains a comment about the instruction(s); instruction cycle state diagram; types of operands; data transfer, arithmetic, logical, conversion,. | CSC 221 Computer Organization and Assembly Language Lecture 07: Addressing Modes CHAPTER 03 The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386, 80486 Pentium, Pentium Pro Processor, Pentium II, Pentium, 4, and Core2 with 64-bit Extensions Architecture, Programming, and Interfacing, Eighth Edition Barry B. Brey REFERENCE: opcode field. designed to hold the instruction, or opcode Right of the opcode field is the operand field. contains information used by the opcode the MOV AL,BL instruction has the opcode MOV and operands AL and BL The comment field, the final field, contains a comment about the instruction(s). comments always begin with a semicolon (;) Lecture 06: Review Opcode Operand(s) and/or Address(es) Lecture 06: Review (cont.) Instruction Cycle State Diagram Addresses: immediate, direct, indirect, stack Numbers: Integer or fixed point (binary, twos complement), Floating point (sign, significand, exponent), (packed) decimal (246 = 0000 0010 0100 0110) Characters: | CSC 221 Computer Organization and Assembly Language Lecture 07: Addressing Modes CHAPTER 03 The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386, 80486 Pentium, Pentium Pro Processor, Pentium II, Pentium, 4, and Core2 with 64-bit Extensions Architecture, Programming, and Interfacing, Eighth Edition Barry B. Brey REFERENCE: opcode field. designed to hold the instruction, or opcode Right of the opcode field is the operand field. contains information used by the opcode the MOV AL,BL instruction has the opcode MOV and operands AL and BL The comment field, the final field, contains a comment about the instruction(s). comments always begin with a semicolon (;) Lecture 06: Review Opcode Operand(s) and/or Address(es) Lecture 06: Review (cont.) Instruction Cycle State Diagram Addresses: immediate, direct, indirect, stack Numbers: Integer or fixed point (binary, twos complement), Floating point (sign, significand, exponent), (packed) decimal (246 = 0000 0010 0100 0110) Characters: ASCII (128 printable and control characters + bit for error detection) Logical Data bits or flags, . Boolean 0 and 1 Data Structures Types of Operands Lecture 06: Review (cont.) 14 Types of Operations Data Transfer Arithmetic Logical Conversion I/O System Control Transfer of Control Lecture 06: Review (cont.) 18 Each statement in an assembly language program consists of four parts or fields. The leftmost field is called the label. used to store a symbolic name for the memory location it represents All labels must begin with a letter or one of the following special characters: @, $, -, or ?. a label may any length from 1 to 35 characters The label appears in a program to identify the name of a memory location for storing data and for other purposes. Lecture 06: Extension (cont.) Opcode Operand(s) and/or Address(es) label ; comments Lecture Outline Operation of each data-addressing mode. The Data-addressing modes to form assembly language statements. The operation of each program .

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.