DAT2343 Comparison of The LMC and General Computer Models © Alan T. Pinck / Algonquin College; 2003.

Slides:



Advertisements
Similar presentations
Microprocessors.
Advertisements

1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 2: Data types and addressing modes dr.ir. A.C. Verschueren.
CS25410 Memory Machine Code. Common types of non-rotating memory (1) RAMRandom Access Memory In reality, read/write memory This is usually volatile, meaning.
INSTRUCTION SET ARCHITECTURES
DAT2343 Summary of Standard Data Encoding © Alan T. Pinck / Algonquin College; 2003.
Processor Function Topic 3.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Processor Technology and Architecture
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Memory - Registers Instruction Sets
Room: E-3-31 Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 1: Introduction to 8085 Assembly Language.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
Overview The von Neumann Machine - the programmable digital computer Introducing the LC-3 Computer - A “toy” computer for us to learn from Computer machine.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Computer Architecture
1 Instructions and Addressing
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
Parul Polytechnic Institute Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name.
Lecture 18 Last Lecture Today’s Topic Instruction formats
Arithmetic for Computers
created by :Gaurav Shrivastava
DAT2343 Accessing Services Through Interrupts © Alan T. Pinck / Algonquin College; 2003.
Machine Instruction Characteristics
Foundations of Computer Science Computing …it is all about Data Representation, Storage, Processing, and Communication of Data 10/4/20151CS 112 – Foundations.
1 Fundamental of Computer Suthida Chaichomchuen : SCC
Computer Science 516 Week 3 Lecture Notes. Computer Architecture - Common Points This lecture will cover some common things which characterize computer.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
Chapter 2-2 Assembly Instructions Number Systems Number Systems Assembly Instructions Assembly Instructions Branch Branch Next Lecture Next Lecture  Addressing.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
Execution of an instruction
Computer Architecture and Organization
A summary of TOY. 4 Main Components Data Processor Control Processor Memory Input/Output Device.
Lecture Set 4 Programming the 8051.
In1210/01-PDS 1 TU-Delft Instructions and addressing.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
What is a program? A sequence of steps
Group # 3 Jorge Chavez Henry Diaz Janty Ghazi German Montenegro.
Structure and Role of a Processor
Elements of Datapath for the fetch and increment The first element we need: a memory unit to store the instructions of a program and supply instructions.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
Instruction Sets. Instruction set It is a list of all instructions that a processor can execute. It is a list of all instructions that a processor can.
Introduction to Intel IA-32 and IA-64 Instruction Set Architectures.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Microprocessor & Assembly Language
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
Computer Architecture. Instruction Set “The collection of different instructions that the processor can execute it”. Usually represented by assembly codes,
Unit Microprocessor.
COURSE OUTCOMES OF Microprocessor and programming
Control Unit Lecture 6.
Introduction to 8086 Microprocessor
Microcomputer Programming
A Closer Look at Instruction Set Architectures: Expanding Opcodes
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
Functional Units.
CS149D Elements of Computer Science
CS 301 Fall 2002 Computer Organization
Accessing Services Through Interrupts
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Fundamental Concepts Processor fetches one instruction at a time and perform the operation specified. Instructions are fetched from successive memory locations.
ECE 352 Digital System Fundamentals
COMPUTER ORGANIZATION AND ARCHITECTURE
Computer Architecture Assembly Language
Computer Operation 6/22/2019.
Presentation transcript:

DAT2343 Comparison of The LMC and General Computer Models © Alan T. Pinck / Algonquin College; 2003

Storage Encoding LMC Decimal (10 code levels for smallest storage signal) General Computer Binary (2 code levels for smallest storage signal

Storage Units LMC 3 decimal digits = LMC word no provision for positive or negative sign no provision for character encoding (no LMC “byte”) General Computer typically 32-bit (varies) = GC word single bit commonly used as a sign indicator character encoding: typically 8 bit = GC byte (ASCII/EBCDIC)

Mailboxes / Memory LMC one LMC word (single elements never span multiple mailboxes) only RAM type of memory General Computer byte (several sequential byte locations may be combined to form a larger unit both RAM and ROM types of memory

Mailbox/Memory Addressing LMC 100 addresses starting at 0 absolute addressing direct addressing only General Computer (typically) millions of addresses starting at 0 usually some form of base plus offset address both direct and indirect (indexed) addressing

Addressing Modes LMC direct (actual address is part of instruction) absolute (actual, unmodified address) General Computer may be direct or the address may be supplied within a register (indirect) often a direct offset added to an indirect base required to get absolute address

System Start/Reset LMC resets counter to 00 starts the LM instruction cycle from a possible SLEEP state General Computer resets instruction pointer to some fixed address (may or may not be address 0) starts processor instruction cycle from possibly HALT state

Instruction Cycle LMC read and remembers instruction at counter increment counter by 1 lookup and perform operation based on instruction just read repeat General Computer copies instruction at instruction pointer (possibly multiple bytes) into instruction register increment instruction pointer by length of instruction select operation circuit using op field of instruction repeat

Instruction Cycle Sequencing LMC LM remembers and performs activities in required sequence General Computer

Instruction Format LMC first digit : op code second & third digits: one of direct address op code extension ignored General Computer first byte (or bit field): op code subsequent bytes/bit fields: may be multiple of register ID address immediate value

Operation Lookup/Selection LMC LM compares op code of instruction remembered to table of operations on wall. General Computer op code bit pattern from instruction register is feed through a selector circuit to activate appropriate operation circuit

Calculator / Registers LMC single calculator / value combined with value from mailbox: only ADD and SUBT I/O (port) source/destination General Computer multiple registers / values (typically 4 to 16) combined with value from another register or from memory: ADD, SUBT, MULT, DIV and others I/O port source/destination

Indicators / Flags LMC indicators on calculator Positive (or Zero) Zero Negative only modified by arithmetic operations General Computer one set of flags for all registers (typically) Zero Carry Sign Overflow only modified by certain operations

Input and Output LMC one input and one output port no status or control IO ports available all IO through calculator General Computer multiple input and output ports, identified by a port address typically status and IO ports associated with device data port IO through one particular register

“Standard” Operations Missing from the LMC “Advanced” arithmetic (multiplication, division, etc.) Shift, Rotate, and Boolean operations Subroutine Call and Return (except in limited form in “son of LMC” Conditional Jumps (conditional skips required instead)

End of Lecture