1 / 10

Computer Organization & Assembly Language

Computer Organization & Assembly Language. Lecture # 9 By Muhammad Jafer. Quiz (15-15). What is pipelining. How inlet Implemented pipelining Calculate Physical Address for each instructions. What will be the value of AX, AH, AL, IP & CS after executing the last instruction. STACK.

tynice
Télécharger la présentation

Computer Organization & Assembly Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Organization & Assembly Language Lecture # 9 By Muhammad Jafer

  2. Quiz (15-15) • What is pipelining. How inlet Implemented pipelining • Calculate Physical Address for each instructions. • What will be the value of AX, AH, AL, IP & CS after executing the last instruction

  3. STACK • Temporary memory for Processors • Stored in RAM • Importance & alternate of Register-Register Design • Every Register can be stored except SS&SP • Logical Addresses VS Physical Addresses • SS:SP • Overlapping • Intel Architecture Stack • Increments and then add • Show & decrement • Stack Pointer

  4. Flag Registers • Conditional Flags • CF • PF • AF • ZF • SF • OF • Control Flags • TF • IF • DF

  5. X86 Addressing Modes • Register Address Mode • MOV BX,DX • Immediate Mode • MOV AX,2550H • Direct Mode • MOV AX,[2550] • Register Indirect Addressing Mode • MOV AL,[BX] • Based Relative Addressing Mode • MOV CX,[BX]+10 • Based Index Addressing Mode • MOV CX,[BX][DX]+10 • Segment Overrides • MOV AL,[BX]

  6. Chapter Review • The x86 PC Assembly Language, Design & Interfacing by Muhammad Ali Mazidi, Janice GillispieMazidi & Danny Causey • Chapter # 1 • The Stack • Flag Registers • X86 Addressing Modes

  7. Assembly Program Concepts • [label:] mnemonic [operands] [;comments] • Mnemoics can be directives • Directive give direction to assembler • Assembly Program • Model Definition • Segment Definition • .STACK • .DATA • .CODE

  8. MODEL DEFINITION • .MODEL SMALL • How much space is required • MEDIUM • >64k for memory • COMPACT • >64k for data • LARGE • >64k for both but one at a time • HUGE • >64k for both at same time • TINY • >COM File concepts (Will not be used in this course)

  9. Segmentation DEFINITION • Can work with only one segment. • Good programing practices • .STACK 64k • .DATA • [label/Name] [length] [values] • DATA1 DB 55H • DATA2 DW ? • .CODE • MOVE DS,@DATA

  10. Chapter Review • The x86 PC Assembly Language, Design & Interfacing by Muhammad Ali Mazidi, Janice GillispieMazidi & Danny Causey • Chapter # 2 • Directives & A Sample Program

More Related