Introduction to Computer Engineering by Richard E. Haskell Direct Addressing Module M18.1 Sections 12.1-12.2.

Slides:



Advertisements
Similar presentations
Stack Memory 00000H 00001H 01058H TOS SS SP 1104FH BOS
Advertisements

MICROPROCESSOR BASED SYSTEM DESIGN
Princess Sumaya Univ. Computer Engineering Dept. Chapter 9:
Computing Systems Organization
Timing & process Instruction:-It is a command which direct the processor to execute certain task. Ex:- MOV A,B I.Op-code: what operation the MP will perform.
Finding North by the Pole Star
Memory Management 计算机学院 李征 Tel : : OICQ:
Programming 8086 – Part IV Stacks, Macros
Judul Mata Kuliah Judul Pokok Bahasan 1/total Data Movement Instructions.
Registers of the 8086/ /2002 JNM.
Suranaree University Of Technology มทส  2002 Anant Oonsivilai 2002/2/27 Microcomputers and Microprocessors Chapter Assembly Language Programming.
Class Addressing modes
Multiplication – Microprocessor
Introduction to Computer Engineering by Richard E. Haskell BCD Arithmetic Module M16.5 Section 10.4.
Introduction to Computer Engineering by Richard E. Haskell Basic Digital Design Module M1.2 Section 3.2.
COMP 2003: Assembly Language and Digital Logic
Introduction to Computer Engineering by Richard E. Haskell Multiplication and Division Instructions Module M16.4 Section 10.4.
Microprocessor Fundamentals Week 5 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
COE Computer Organization & Assembly Language
6-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Intel 8088 Addressing modes.
Lect 3: Instruction Set and Addressing Modes. 386 Instruction Set (3.4) –Basic Instruction Set : 8086/8088 instruction set –Extended Instruction Set :
Addressing Modes Instruction – Op-code – Operand Addressing mode indicates a way of locating data or operands. – Any instruction may belong to one or more.
Introduction to Computer Engineering by Richard E. Haskell Branching Instructions Module M17.2 Section 11.1.
Introduction to Computer Engineering by Richard E. Haskell Number Systems Module M3.1 Sections
Introduction to Computer Engineering by Richard E. Haskell Register Indirect Addressing Module M18.2 Section 12.3.
Introduction to Computer Engineering by Richard E. Haskell Move and Exchange Instructions Module M16.1 Section 10.2.
Introduction to Computer Engineering by Richard E. Haskell 8086 Tutor Monitor Module M14.3 Section 9.3 Appendix B.
Introduction to Computer Engineering by Richard E. Haskell Addition and Subtraction Instructions Module M16.3 Section 10.4.
Introduction to Computer Engineering by Richard E. Haskell Logical Instructions Module M16.6 Section 10.5.
Introduction to Computer Engineering by Richard E. Haskell 8086 Memory Module M14.1 Sections 9.3.
Introduction to Computer Engineering by Richard E. Haskell Basic Logic Gates Module M1.1 Section 3.1.
Introduction to Computer Engineering by Richard E. Haskell Interrupts Module M17.3 Sections 11.3, 14.1.
Introduction to Computer Engineering by Richard E. Haskell Shift and Rotate Instructions Module M16.2 Section 10.3.
Lect 4: Instruction Set and Addressing Modes. 386 Instruction Set (3.4)  Basic Instruction Set : 8086/8088 instruction set  Extended Instruction Set.
Computer Science: A Structured Programming Approach Using C Masks In many programs, bits are used as binary flags: 0 is off, and 1 is on. To set.
Paging Examples Assume a page size of 1K and a 15-bit logical address space. How many pages are in the system?
1/2002JNM1 Positional Notation (Hex Digits). 1/2002JNM2 Problem The 8086 has a 20-bit address bus. Therefore, it can access 1,048,576 bytes of memory.
INTRODUCTION TO MICROPROCESSOR Engr. Ammar Anwar Khan.
Computer Architecture Lecture 11 by Engineer A. Lecturer Aymen Hasan AlAwady 10/3/2014 University of Kufa - Information Technology Research and Development.
Addressing Modes of 8086 Processor Ammar Anwar Khan Electrical Engineer King Saud University Riyadh Saudi Arabia.
8086 Internal Architecture
1 ECE 1304 Introduction to Electrical and Computer Engineering Section 1.7 Linear Algebra with MATLAB.
Overview of Assembly Language Chapter 4 S. Dandamudi.
Microprocessor MA Rahim Khan Computer Engineering and Networks Department.
8086/8088 Instruction Set, Machine Codes and Addressing Modes.
Addressing Modes Dr. Hadi Hassan.  Two Basic Questions  Where are the operands?  How memory addresses are computed?  Intel IA-32 supports 3 fundamental.
Addressing Modes Instruction – Op-code – Operand Addressing mode indicates a way of locating data or operands. – Any instruction may belong to one or more.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University Dr. Jia Uddin, CSE, BRAC University.
1 Contents: 3.1 Instruction format and Addressing Modes 3.2 Instruction Introduction Chapter 3 Instruction system.
Data Transfers, Addressing, and Arithmetic
ADDRESSING MODES.
Microprocessor and Assembly Language
ADDRESSING MODES.
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Paging Examples Assume a page size of 1K and a 15-bit logical address space. How many pages are in the system?
Instruction Formats Each instruction consists of two parts:
Arithmetic Instructions
X86’s instruction sets.
3.6 Data transfer Instructions
Stack and Subroutines Module M17.1 Section 11.2.
8086 MICROPROCESSOR PROGRAMMING – INTEGER INSTRUCTIONS AND COMPUTATIONS Amar Saraswat.
8086 Registers Module M14.2 Sections 9.2, 10.1.
Introduction to Micro Controllers & Embedded System Design
CNET 315 Microprocessor & Assembly Language
Lecture 06 Programming language.
LC-2: The Little Computer 2
CS-401 Assembly Language Programming
Data Movement Instructions
CS-401 Computer Architecture and Assembly Language Programming
CS-401 Computer Architecture & Assembly Language Programming
Presentation transcript:

Introduction to Computer Engineering by Richard E. Haskell Direct Addressing Module M18.1 Sections

Introduction to Computer Engineering by Richard E. Haskell 8086 Postbyte

Introduction to Computer Engineering by Richard E. Haskell

Direct Addressing

Introduction to Computer Engineering by Richard E. Haskell Table A2.a Opcode Map C6 MOV b r/m,imm

Introduction to Computer Engineering by Richard E. Haskell MOV JOE,0FDH C FD 8-bit immediate data offset address 0000H primary opcode postbyte

Introduction to Computer Engineering by Richard E. Haskell data segment public joedb12h jane dw3456h mary db78h jimdw9abch data ends a bc joe jane mary jim mov ax,joe Error: operand types must match mov ax,word ptr joe will move 1234 into ax mov bl,jane Error: operand types must match mov bl,byte ptr jane will move 34 into bl mov jane,mary Error: operand types must match mov byte ptr jane,mary will move 78 into offset address 0001