
Matrusri Engineering College Department of Computer Science and Engineering
Explore the world of computer organization through the Computer Organization (PC.232.CS) course at Matrusri Engineering College. Delve into unit-V focusing on 8086 instruction formats, including assembly language programs, branch, and call instructions, sorting, and evaluation of arithmetic expressions. Meet the dedicated faculty, Mr. B.J. Praveena, Assistant Professor in the Department of CSE, guiding students through the intricacies of 8086 instruction sets. Discover a comprehensive educational experience at Matrusri Engineering College.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
MATRUSRI ENGINEERING COLLEGE MATRUSRI ENGINEERING COLLEGE DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING SUBJECT NAME: COMPUTER ORGRANIZATION(PC 232 CS) UNIT-V FACULTY NAME: Mr. B.J.Praveena Assistant Professor Dept. of CSE
MATRUSRI ENGINEERING COLLEGE UNIT-V 8086- Instruction formats: Assembly language Programs, Involving branch and call instructions, sorting , evaluation of arithmetic expressions.
8086- INSTRUCTION SET MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
3. Logical Instructions Mnemonics: AND, OR, XOR, TEST, SHR, SHL, RCR, RCL 23
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE SORTING
ASSUME CS:CODE CODE SEGMENT START: XOR AX,AX MOV BL,AL //CLEARING BL REGISTER MOV CL,AL //CLEARING CL REGISTER MOV SI,2000H // STORE THE NO.OF VALUES TO SORT IN 2000H LOCATION MOV BL,[SI] // MOVE CONTENTS OF SI TO BL DEC BL // DECREMENT BL L3: MOV CL,BL MOV SI,3000H // ENTER THE VALUES TO SORT FROM 3000H LOCATION L2: MOV AL,[SI] CMP AL,[SI+1] //COMPARE THE ADJACENT VALUES JGE L1 XCHG AL,[SI+1] // SWAPPING THE VALUES MOV [SI],AL L1: INC SI LOOP L2 DEC BL JNZ L3 INT 03H CODE ENDS END START MATRUSRI ENGINEERING COLLEGE // CLEARING AX REGISTER i.e., AX=0000H
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE
MATRUSRI ENGINEERING COLLEGE