100 likes | 278 Views
Computer Organization & Assembly Language. Lecture # 6 By Muhammad Jafer. Important Things. MASM ENAMULATOR/SIMULATOR EMU8086. INSTRUCTION TYPES. Data Movement Instructions Athematic Instructions Logical Instructions Sequence Instructions INPUT/OUTPUT Instructions.
E N D
Computer Organization & Assembly Language Lecture # 6 By Muhammad Jafer
Important Things • MASM • ENAMULATOR/SIMULATOR • EMU8086
INSTRUCTION TYPES • Data Movement Instructions • Athematic Instructions • Logical Instructions • Sequence Instructions • INPUT/OUTPUT Instructions
Data Movement Instructions • Move • MOVE Source,Destination • Load • LOAD Memory (source),Register (Destination) • Store • STORE Register (source),Memory (Destination • PUSH & POP
Athematic Instructions • ADD • SUBTRACT • MULTIPLY • DIVIDE • INCREMENT • DECREMENT
Logical Instructions • AND • OR • NOT • EXOR • SHIFT • COMPARE • ROTATE
Condition Code Register • Zero (Z) • Overflow (f) • Negative (V) • Carry (C)
SEQUENCE INSTRUCTIONS • CONDITIONAL BRANCHING • UNCONDITIONAL BRANCHING • CALL
Chapter Review • Fundamentals of Computer Organization and Architecture by MostafaAbd-Al-Barr & HeshamAlRewini • Chapter # 2 • Instruction Types • Programming Examples
Program segmentation • Three important part of assembly program • Code Segment • Data Segment • Stack Segment