Review Yuanqing Cheng. Outline Part I: Introduction of X86 based computing system Part II: Assembly programing Part III: Interfacing circuit design.

Slides:



Advertisements
Similar presentations
CH10 Instruction Sets: Characteristics and Functions
Advertisements

ACOE2511 Assembly Language Arithmetic and Logic Instructions.
80x86 Instruction Set Dr. Qiang Lin.
Introduction to Assembly Here we have a brief introduction to IBM PC Assembly Language –CISC instruction set –Special purpose register set –8 and 16 bit.
Gursharan Singh Tatla 21-Nov-20101www.eazynotes.com.
8086 : INSTRUCTION SET By, Pramod Sunagar Assistant Professor
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
1 ICS 51 Introductory Computer Organization Fall 2006 updated: Oct. 2, 2006.
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
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
What is an instruction set?
Microcomputer & Interfacing Lecture 3
Princess Sumaya Univ. Computer Engineering Dept. Chapter 2:
CEG 320/520: Computer Organization and Assembly Language Programming1 CEG 320/520 Computer Organization and Assembly Language Programming.
COE Computer Organization & Assembly Language Talal Alkharobi.
Lecture 11 Last notes on interrupts and exam review Dr. Dimitrios S. Nikolopoulos CSL/UIUC.
Machine Instruction Characteristics
ACOE2511 ACOE251/AEEC335 -Assembly Language for the 80X86/Pentium Intel Microprocessors Lecturer: Dr. Konstantinos Tatas.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CS-334: Computer.
5. Assembly Language. Basics of AL Program data Pseudo-ops Array Program structures Data, stack, code segments.
Computer Architecture and Organization
26-Nov-15 (1) CSC Computer Organization Lecture 6: Pentium IA-32.
Computer Architecture EKT 422
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 6.
October 1, 2003Serguei A. Mokhov, 1 SOEN228, Winter 2003 Revision 1.2 Date: October 25, 2003.
What is a program? A sequence of steps
Irvine, Kip R. Assembly Language for Intel-Based Computers. Chapter 7: Integer Arithmetic Slides to Accompany Assembly Language for Intel-Based Computers,
The Intel 8086 Processor Josh Broome Dave Overstrom Jonathan Kagarise Christopher Lindsay.
Group # 3 Jorge Chavez Henry Diaz Janty Ghazi German Montenegro.
Assembly Language Wei Gao. Assembler language Instructions.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
I NTEL 8086 M icroprocessor بسم الله الرحمن الرحيم 1.
Computer Architecture and Assembly Language
Chapter Nov-2010
Data Transfers, Addressing, and Arithmetic
16.317: Microprocessor System Design I
Microprocessor Systems Design I
Microprocessor Systems Design I
Microprocessor Systems Design I
Chapter instruction description and assembler directives from Microprocessors and Interfacing by Douglas Hall.
Today we are going to discuss about,
Chapter 3 Bit Operations
Microprocessor Systems Design I
EE3541 Introduction to Microprocessors
INSTRUCTION SET.
Machine control instruction
INSTRUCTION SET.
Assembly Language Programming Part 2
Microprocessor & Interfacing
Five Components of a Computer
CS 301 Fall 2002 Assembly Instructions
Fundamentals of Computer Organisation & Architecture
Data formats or Instruction formats of 8086:
ADDITION Register Addition. ADD AX,BX AX=AX+BX 2. Immediate Addition.
Chapter 9 Instruction Sets: Characteristics and Functions
Five Components of a Computer
Introduction to Microprocessor Programming
X86 Assembly Review.
Chapter 5 Arithmetic and Logic Instructions
CS-401 Computer Architecture & Assembly Language Programming
UNIT-II ADDRESSING MODES & Instruction set
Chapter 10 Instruction Sets: Characteristics and Functions
Presentation transcript:

Review Yuanqing Cheng

Outline Part I: Introduction of X86 based computing system Part II: Assembly programing Part III: Interfacing circuit design

Part I: Introduction of X86 based computing system Coding system Binary Hex-decimal 20H Decimal 32 Primary logic gates Computer structure

Part I: Introduction of X86 based computing system History of X86 microprocessor Pentium 16bit 32bit

Part II: X86 Assembly Programming Segment definition: code, stack, data Procedure for assembling a program Read more sample programs Control transfer instruction conditional jumps JA JL … short jumps unconditional jumps JMP call Directives ORG DB DW DD EQU DQ DT Flow charts & Pseudocode

Part II: X86 Assembly Programming Unsigned number ADD, SUB, SBB, MUL, DIV (note where stores the quotient and where reminder, and size of operators) Logic instruction AND, XOR, OR, SHR, SHL, CMP BCD and ASCII DAA, DAS Rotate instruction ROR, ROL, RCR, RCL Bitwise instruction | & ^ …

Part II: X86 Assembly Programming Signed numbers negative number representation sign extended inst. CBW, CWD, IDIV, IMUL, SAR, SAL String STOS, LODS, STOSB, LODSB, REPZ, REPNZ, CMPS, SCASB, XLAT Macros name MACRO dummy1, dummy2, …, dummyN e.g., STRINGMACRODATA1 LOCAL & INCLUDE directives

Part II: X86 Assembly Programming Modular programming EXTRN & PUBLIC SEGMENT directive Pass parameter via register/memory/stack Stack pointer position when passing parameters 32-bit programming 32-bit registers EAX, EBX, ECX, EDX … big endian vs. little endian

Part III: Microprocessors Pin layout Address/Data/Control buses

Part III: Microprocessors PC/XT X86 processor and interfacing circuitry Clock generator Bus controller

Part III: Microprocessors 16bit ISA bus

Part III: Memory Memory categories DRAM, SRAM, Flash, ROM, EPROM, EEPROM Decoding circuitry Example 10-7 (16bit interfacing circuitry) Memory map:

Part IV: I/O Devices 8255 I/O in/out instructions decoding circuitry programming control word format

Part IV: I/O Devices 8bit ISA PC Bus Extender

Part IV: I/O Devices 8bit ISA PC Bus Extender

Part IV: I/O Devices 8254/8253 timer Port address Package pins Connection Control word

Part IV: I/O Devices Interrupt vector table INT 00H 01H 02H 03H 04H 8259 control word ICW1-4 format OCW1-4 format The procedure to process Interrupt (in steps)

Part IV: I/O Devices Source of hardware interrupts Used in x86 PCs

Part IV: I/O Devices INT 21H different options for cursor and graphic mode settings (options) INT 10H display strings onto screen (options) INT 16H keyboard interrupt INT 33H mouse programming

Part IV: I/O Devices DMA concept (why DMA) The meaning of different registers Typical usage

Part IV: I/O Devices DMA in 80286