EE 345 Class Notes EE345 Midterm Review Dr. Jane Dong.

Slides:



Advertisements
Similar presentations
H. Huang Transparency No.1-1 The HCS12/MC9S12 Microcontroller Copyright © 2010 Delmar Cengage Learning HCS12 Instruction Examples The LOAD and STORE Instructions.
Advertisements

Princess Sumaya Univ. Computer Engineering Dept. Chapter 2: IT Students.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 4.
EE 362 Microprocessor Systems and Interfacing © 1-1 Lecture 1: Introduction to Microprocessor Based Systems Microprocessor Architecture Microprocessor.
CSC 3650 Introduction to Computer Architecture Time: 3:30 to 6:30Meeting Days: WLocation: Oxendine 1237B Textbook: Essentials of Computer Architecture,
EET 2261 Unit 5 Tables; Decision Trees & Logic Instructions
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
The 68HC11 Microcontroller Minnesota State University, Mankato
H. Huang Transparency No.1-1 The 68HC11 Microcontroller Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
Chapter 1 Introduction to HCS12/MC9S12. Computer Hardware Organization What is a Computer? Software Hardware.
EET 2261 Unit 2 HCS12 Architecture
CDA 3103 Computer Organization Review Instructor: Hao Zheng Dept. Comp. Sci & Eng. USF.
ECE 265 – LECTURE 4 The M68HC11 Address Modes 8/14/ ECE265.
MICRO-CONTROLLER MOTOROLA HCS12 Addressing Modes Mechatronics Department Faculty of Engineering Ain Shams Univeristy.
MANINDER KAUR RAM and ROM Chips 24-Nov
Lab 1 – Assembly Language and Interfacing Start date: Week 3 Due date: Week 4 1.
Physics 413 Chapter 1: Introduction to the HCS 12 Microcontroller.
1/2002JNM1 With 20 bits, 1,048,576 different combinations are available. Each memory location is assigned a different combination. Each memory location.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
ME4447/6405 The George W. Woodruff School of Mechanical Engineering ME4447/6405 Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics.
EECC250 - Shaaban #1 Lec # 20 Winter Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes:
The 8051 Microcontroller and Embedded Systems
CS 111 – Sept. 15 Chapter 2 – Manipulating data by performing instructions “What is going on in the CPU?” Commitment: –Please read through section 2.3.
ECE 265 – LECTURE 3 68HC11 Address Space, Memory, Registers, and data transfers 3/29/ ECE265.
ME4447/6405 The George W. Woodruff School of Mechanical Engineering ME4447/6405 Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics.
ECE 265 Midterm Review 12/1/ ECE265. Administrivia  The grade for quiz 3 was not entered into to Carmen before I handed them back.  I realize.
EKT303 PRINCIPLES OF COMPUTER ARCHITECTURE Mini Project Design and Implementation of Two Concurrent 8-bit CPUs Using Structural VHDL code for better Workload.
ECE 265 – LECTURE 5 The M68HC11 Basic Instruction Set 12/8/ ECE265.
Addressing Modes MTT CPU08 Core Motorola CPU08 ADDRESSING MODES.
1 Basic Microcontroller System Chapter 2 Introduction to M68HC11 Hardware.
1 ECE 372 – Microcontroller Design Assembly Programming HCS12 Assembly Programming Addressing Modes Stack Operations Subroutines.
1 Introduction to Microcontroller Microcontroller Fundamentals & Programming.
Ch.2 Intro. To Assembly Language Programming
Ch.2 Intro. To Assembly Language Programming From Introduction to Embedded Systems: Interfacing to the Freescale 9s12 by Valvano, published by CENGAGE.
1 Microcontroller Fundamentals & Programming Addressing Modes.
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Principles of Computers 14 th Lecture Pavel Ježek, Ph.D.
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
Execution Architecture MTT CPU08 Core M CPU08 INTRODUCTION.
ECE 447: Lecture 11 Introduction to Programming in Assembly Language.
Embedded Systems Lecture 5 January 25 th, 2016.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
1 Subroutines Advanced Programming. 2 Top-Down approach to problem solving Algorithm step by step description of how to solve a problem Divide and Conquer.
EE345 Chapter 2 Lecture 3 April 4. Quiz every Wednesday 1 quiz = 1% extra credit five quizzes before midterm  5% for midterm. five quizzes before final.
EE345 Chapter 2 Lecture 3 April Instruction and addressing modes 1.Extended Addressing 2.Direct Addressing 3.Inherent Addressing 4.Immediate Addressing.
Instruction Set Architectures Continued. Expanding Opcodes & Instructions.
1 Contents: 3.1 Instruction format and Addressing Modes 3.2 Instruction Introduction Chapter 3 Instruction system.
Design methodology for Implementing a Microcontroller in a FPGA. Phillip Southard Ohio University EE 690 Reconfigurable Design.
Programmable System on Chip
Addressing Modes in Microprocessors
Immediate Addressing Mode
ECE 3430 – Intro to Microcomputer Systems
HC11 Programming.
ECE 3430 – Intro to Microcomputer Systems
ECE 3430 – Intro to Microcomputer Systems
8051 Addressing Modes The way, using which the data source or destination addresses are specified in the instruction mnemonic for moving the data, is.
Principles of Computers 18th Lecture
פרק 2: חיווט, זיכרונות בנקים זוגיים ואי-זוגיים
THE sic mACHINE CSCI/CMPE 3334 David Egle.
ME4447/6405 Microprocessor Control of Manufacturing Systems and
The CPU12 Microprocessor Core
Branching and Loops.
ADDRESSING MODES AND INSTRUCTION SET
ECE 3430 – Intro to Microcomputer Systems
Instruction Set Architectures Continued
Under Address Modes Source: under
Classification of instructions
Physics 413 Chapter 2.
Under Address Modes Source: under
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Indexing Through Memory
Presentation transcript:

EE 345 Class Notes EE345 Midterm Review Dr. Jane Dong

EE 345 Class Notes 2 Outline 6811 Architecture Review of Addressing modes Review of Instructions Problem solving from Hw3 Exercise: write a program

EE 345 Class Notes 3 A Simple Architecture What is register? What is the structure of memory system?

EE 345 Class Notes 4 M68HC11 Architecture (1) CPU registers

EE 345 Class Notes 5 Memory map in M68HC11 M68HC11 has 16 bit address bus And 8-bit data bus has memory locations Each location hold 8-bit word Not all locations can be used Most useful regions in EE byte RAM staring from $0000 Used for store variables, etc. 8K ROM starting from $e000 Used for store program xx ROM Single Chip mode $FFFF $E000 $B000 $1000 $103F $0000 $00FF RAM Interrupt vectors

EE 345 Class Notes 6 Addressing mode (1) What is addressing mode? The method to reference data in memory or in instruction The same instruction may have different addressing mode How M68HC11 distinguish among the addressing modes? Different addressing modes  different Opcode in machine code Example: LDAA#64;load an immediate value LDAA$0001;load from memory address $0001 LDAA4, X;load from memory address X+4

EE 345 Class Notes 7 Addressing mode (2) Immediate Addressing Direct Addressing Extended Addressing Inherent Addressing Index addressing Relative addressing Example: What addressing modes are used? ADDA #100; ADDA $0001; SUBB 2, X; Example: What addressing modes are used? ADDA #100; ADDA $0001; SUBB 2, X;

EE 345 Class Notes 8 Instruction review Your good friend: Instruction set table

EE 345 Class Notes 9 Example CLRA LDAA #10 LDAB $01 ABA STAA $02 COM $03 LDX #0 STD 2, X