COMPUTER ORGANIZATION
& ASSEMBLY LANGUAGE
LECTURE # 6
BY MUHAMMAD JAFER
1
IMPORTANT THINGS
• MASM
• ENAMULATOR/SIMULATOR
• EMU8086
2
INSTRUCTION TYPES
• Data Movement Instructions
• Athematic Instructions
• Logical Instructions
• Sequence Instructions
• INPUT/OUTPUT Instructions
3
DATA MOVEMENT INSTRUCTIONS
• Move
• MOVE Source,Destination
• Load
• LOAD Memory (source),Register (Destination)
• Store
• STORE Register (source),Memory (Destination
• PUSH & POP
4
ATHEMATIC INSTRUCTIONS
• ADD
• SUBTRACT
• MULTIPLY
• DIVIDE
• INCREMENT
• DECREMENT
5
LOGICAL INSTRUCTIONS
• AND
• OR
• NOT
• EXOR
• SHIFT
• COMPARE
• ROTATE
6
CONDITION CODE REGISTER
• Zero (Z)
• Overflow (f)
• Negative (V)
• Carry (C)
7
SEQUENCE INSTRUCTIONS
• CONDITIONAL BRANCHING
• UNCONDITIONAL BRANCHING
• CALL
8
CHAPTER REVIEW
• Fundamentals of Computer Organization and
Architecture by Mostafa Abd-Al-Barr & Hesham
AlRewini
• Chapter # 2
• Instruction Types
• Programming Examples
9
PROGRAM SEGMENTATION
• Three important part of assembly program
• Code Segment
• Data Segment
• Stack Segment
10

Coal 6 instruction in assembly languages in Assembly Programming