Judul Mata Kuliah Judul Pokok Bahasan Set Instruksi dan Format Intruksi.

Slides:



Advertisements
Similar presentations
Chapter 6: Program Control Instructions
Advertisements

Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. The Intel Microprocessors: 8086/8088, 80186/80188,
Addressing Mode Wannachai Wannasawade Department of Computer Education
O PERATING I N R EAL M ODE Prof.P.C.Patil Department of Computer Engg Matoshri College of Engg.Nasik M ICROPROCESSOR A RCHITECTURE.
Instruction Set of 8086 Engr. M.Zakir Shaikh
Judul Mata Kuliah Judul Pokok Bahasan 1/total Data Movement Instructions.
Princess Sumaya University
NEG Instruction Change operand content into two’s complement (negative value) and stored back into its operand mov bl, b neg bl; bl = mov.
1 IKI10230 Pengantar Organisasi Komputer Kuliah no. 05.c: Logical Operations Sumber: 1. Paul Carter, PC Assembly Language 2. Hamacher. Computer Organization,
Judul Mata Kuliah Judul Pokok Bahasan 1/total Direct Memory Access (DMA) & Interfacing.
1 x86’s instruction sets. 2 Instruction Set Classification  Transfer Move  Arithmetic Add / Subtract Mul / Div, etc.  Control Jump Call / Return, etc.
Judul Mata Kuliah Judul Pokok Bahasan 1/total Data Movement Instructions.
EZ-COURSEWARE State-of-the-Art Teaching Tools From AMS Teaching Tomorrow’s Technology Today.
Chapter four – The 80x86 Instruction Set Principles of Microcomputers 2015年5月14日 2015年5月14日 2015年5月14日 2015年5月14日 2015年5月14日 2015年5月14日 1 Chapter Four.
ACOE2511 Assembly Language Arithmetic and Logic Instructions.
80x86 Instruction Set Dr. Qiang Lin.
Gursharan Singh Tatla 21-Nov-20101www.eazynotes.com.
8086 : INSTRUCTION SET By, Pramod Sunagar Assistant Professor
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Intel’s 8086 instruction-set
© 2006 Pearson Education, Upper Saddle River, NJ All Rights Reserved.Brey: The Intel Microprocessors, 7e Chapter 5 Arithmetic and Logic Instructions.
9-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL x86 Instructions Part.
Shift and Rotate Instructions
Microcomputer & Interfacing Lecture 3
Princess Sumaya Univ. Computer Engineering Dept. Chapter 7:
INSTRUCTION SET OF MICROPROCESSOR 8085
Ch. 7 Logic, Shift and Rotate instr.
Lecture 11 Last notes on interrupts and exam review Dr. Dimitrios S. Nikolopoulos CSL/UIUC.
Flag Control instructions CLC clear carry flag CF = 0 STC set carry flag CF= 1 CMC complement carry flag [CF] CF.
Chapter four – The 80x86 Instruction Set Principles of Microcomputers 2015年10月19日 2015年10月19日 2015年10月19日 2015年10月19日 2015年10月19日 2015年10月19日 1 Chapter.
5. Assembly Language. Basics of AL Program data Pseudo-ops Array Program structures Data, stack, code segments.
1 IKI10230 Pengantar Organisasi Komputer Kuliah no. 05.b: Arithmetic Operations Sumber: 1. Paul Carter, PC Assembly Language 2. Hamacher. Computer Organization,
26-Nov-15 (1) CSC Computer Organization Lecture 6: Pentium IA-32.
Arithmetic and Logic Instructions
Review Yuanqing Cheng. Outline Part I: Introduction of X86 based computing system Part II: Assembly programing Part III: Interfacing circuit design.
October 1, 2003Serguei A. Mokhov, 1 SOEN228, Winter 2003 Revision 1.2 Date: October 25, 2003.
The Intel 8086 Processor Josh Broome Dave Overstrom Jonathan Kagarise Christopher Lindsay.
The Assemble, Unassemble commands of the debugger: U Command for converting machine code language source Equivalent machine code instructions Equivalent.
Microprocessor & Assembly Language Arithmetic and logical Instructions.
Assembly Language Wei Gao. Assembler language Instructions.
Chapter four – The 80x86 Instruction Set Principles of Microcomputers 2016年3月17日 2016年3月17日 2016年3月17日 2016年3月17日 2016年3月17日 2016年3月17日 1 Chapter Four.
Micro-Computer Applications: Arithmetic, Logic & Data Movement Instructions Dr. Eng. Amr T. Abdel-Hamid ELECT 707 Fall 2011.
I NTEL 8086 M icroprocessor بسم الله الرحمن الرحيم 1.
Chapter Nov-2010
Data Transfers, Addressing, and Arithmetic
Assembly Language Programming of 8085
Microprocessor T. Y. B. Sc..
16.317: Microprocessor System Design I
Microprocessor Systems Design I
ELEN 468 Advanced Logic Design
Chapter instruction description and assembler directives from Microprocessors and Interfacing by Douglas Hall.
Today we are going to discuss about,
Microprocessor Systems Design I
Microprocessor Systems Design I
EE3541 Introduction to Microprocessors
INSTRUCTION SET.
Machine control instruction
INSTRUCTION SET.
Assembly Language Programming Part 2
# include < stdio.h > v oid main(void) { long NUM1[5]; long SUM; long N; NUM1[0] = 17; NUM1[1] = 3; NUM1[2] =  51; NUM1[3] = 242; NUM1[4] = 113; SUM =
Microcomputer Programming
Overview Introduction General Register Organization Stack Organization
INSTRUCTION SET OF 8086 PAWAN KUMAR SINGH.
CS 301 Fall 2002 Assembly Instructions
X86’s instruction sets.
University of Gujrat Department of Computer Science
Introduction to 8086 Assembly Language Programming
Chapter 5 Arithmetic and Logic Instructions
CNET 315 Microprocessor & Assembly Language
CS501 Advanced Computer Architecture
Presentation transcript:

Judul Mata Kuliah Judul Pokok Bahasan Set Instruksi dan Format Intruksi

Judul Mata Kuliah Judul Pokok Bahasan Outline : High performance 16 bit Format Instruksi Set Instruksi Instruksi Data Transfer Instruksi Aritmatik Instruksi Logika Instruksi Lompatan

Judul Mata Kuliah Judul Pokok Bahasan High Performance 16-bit Microprocessor 1978: Picture Courtesy: Intel Corporation

Judul Mata Kuliah Judul Pokok Bahasan Microprocessor History 1st Generati on Early 1970’s 4 - bit - nibble data Low Performance Limited System Capabilities Low Cost Like PPS 4 Special Purpose Applications Uses: Calculators, Toys 2nd Generati on bit - 1 byte wide Higher Performance Larger System Capabilities Greater ease of Programming Like 8085 Uses:Electronic Instruments, Cash Registers, Printers 3rd Generat ion Mid 1970’s 16 - bit Higher Performance Special and general purpose microcomputer applications Like 8086 Uses: Electronic instruments, Word Processing systems

Judul Mata Kuliah Judul Pokok Bahasan The world’s most popular architecture An extension of bit Microprocessor from Intel Corporation and cousin of Z80. Mainly evolved due to requirements for larger memory systems. With Vast Instructions set The World’s most popular architecture st 16-bit microprocessor Introduced by Intel Corporation in 1978.

Judul Mata Kuliah Judul Pokok Bahasan MIPS Introduced in 1985 Separate operands for source and destination Not possible to have one of the operands in memory General Instruction format opcode destination, source1, source Introduced in 1978 by Intel One of the operands acts as both source and destination One of the operands can be in memory General Instruction format opcode destination/source1, source2 MIPS VS 8086

Judul Mata Kuliah Judul Pokok Bahasan Instruction Format 16 - bit Instruction mode Opcode 1-2 bytes MOD REG-R/M 0-1 bytes Displacement 0-1 bytes Immediate 0-2 bytes Opcode selects the operation performed by the microprocessor MOD specifies the addressing mode for the selected instruction, also determines if displacement is present or not. Displacement specifies the amount of displacement for the address Immediate specifies the address in case of immediate addressing

Judul Mata Kuliah Judul Pokok Bahasan Format of register-to- register instruction: opcode = means "Subtract" w =1 means "word" (16 bits); 0 means "byte" dest reg = address of destination register: 000 = AX src reg = address of source register: 000 = AX

Judul Mata Kuliah Judul Pokok Bahasan Instruction Set The instructions in 8086, can be classified into 13 groups based on their functions. 1.Data Transfer Instructions 2. Arithmetic Instructions 3.Logic Instructions 4.Compare Instruction 5.Jump Instructions 6.Loop Instructions 7.Shift Instructions 8.Rotate Instructions 9.Flag Control Instructions 10.String Instructions 11.Input / Output Instructions 12.Interrupt Instructions 13.Subroutine and Subroutine handling instructions.

Judul Mata Kuliah Judul Pokok Bahasan Data Transfer Instructions Move data between its Internal registers or between an internal register and a storage location in memory MOV target,source target,source – reg,reg / reg,mem / mem,reg / mem,imme / reg,imme XCHG target,source target,source – reg,reg / reg,mem / mem,reg

Judul Mata Kuliah Judul Pokok Bahasan Data Transfer Instructions

Judul Mata Kuliah Judul Pokok Bahasan Arithmetic Instructions Extensive complement of arithmetic instructions Addition Instructions - ADD, ADC, INC, AAA, DAA Subtraction Instructions - SUB, SBB, DEC, NEG, AAS, DAS Multiplication Instructions - MUL, IMUL, AAM Division Instructions - DIV, IDIV, AAD, CBW, CWD ADD dest, source SUB dest, source dest, source – reg, reg / reg, mem / mem, reg / mem, imme / reg, imme INC dest, DEC dest, NEG dest dest – reg / mem

Judul Mata Kuliah Judul Pokok Bahasan Arithmetic Instructions

Judul Mata Kuliah Judul Pokok Bahasan Logic Instructions Note: All instructions that have two operands, cannot have both operands to be memory locations.

Judul Mata Kuliah Judul Pokok Bahasan Compare and Jump Instructions Compare Instructions Instruction to compare two 8 bit or 16 bit numbers CMP Jump Instructions Unconditional - JMP Conditional - Jcc

Judul Mata Kuliah Judul Pokok Bahasan Loop and Input/Output Instructions Three instructions specifically designed for implementing loops. LOOP LOOPE/LOOPZ LOOPNE/LOOPNZ Input/Output instructions IN OUT

Judul Mata Kuliah Judul Pokok Bahasan Flag Control Instructions Flag control instructions either monitor the status of executing instructions or control options available in its operation. LAHF SAHF CLC STC CMC CLI STI

Judul Mata Kuliah Judul Pokok Bahasan Interrupt Instructions Number of instructions for processing interrupts CLI STI INT n IRET INTO HLT WAIT

Judul Mata Kuliah Judul Pokok Bahasan String Handling Instructions Equipped to handle string operations MOVS MOVSB MOVSW CMPS SCAS LODS STOS

Judul Mata Kuliah Judul Pokok Bahasan Rotate, Shift and Subroutine and Subroutine Handling Instructions Shift Instructions - Logical shift SHL, SHR - Arithmetic shift SAL, SAR Rotate Instructions - ROL, ROR, RCL, RCR CALL and RET instructions PUSH and POP instructions

Judul Mata Kuliah Judul Pokok Bahasan The Modern Microprocessor 8086 extended further to 8088, 16-bit Microprocessor, whose increased memory size and additional instructions led to more sophisticated applications for Microprocessor. Microprocessors were called CISC - Complex instruction set computers, because of the number and complexity of instructions. Very soon the memory offered by the 8088 became insufficient, in 1983 leading to the introduction of 80286, shortly before 80186/80188 were introduced. All being 16 bit. Demand yet increasing, in 1986, 32 -bit microprocessor was introduced followed by in

Judul Mata Kuliah Judul Pokok Bahasan Referensi Brey, Barry, B., The Intel Microprocessors 8086/8088, 80186/80188, 80286, 80386, 80486, Pentium, and Pentium ProProcessor Architecture, Programming, and Interfacing, Fourth Edition, PHI Inc, USA, and Five Edition, 2003 Brey, Barry, B., 8086/8088, 80286, 80386, and Assembly Language, Programming, Macmillan Publising Company, USA, Leventhal L.A., Introduction to Microprocessor : Software, Hardware, Programming, Phi Inc., Hall D.V., Microprocessor Interfacing : Programming and Hardware, McGraw-Hill, Singapore, Ananta, C., William JB., Frank Fox, Design of High- performance microprocessor circuit, IEEE Press, 2001 Douglas V. Hall, Microprocessor and Interfacing: Programming and Hardware, McGraw-Hill, edition 2, 1991 James A., Kenneth CM, Microcomputer Hardware, Software, and Troubleshooting for Engineering and Technology, Prentice Hall,