CSCI-N 100 Dept. of Computer and Information Science

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

2.3) Example of program execution 1. instruction  B25 8 Op-code B means to change the value of the program counter if the contents of the indicated register.
ABNIAC The following slide presentation is to acquaint the student with ABNIAC. The version used for presentation is the Java version, which can be found.
Simplified Instructional Computer (SIC). SIC Architecture Two versions: SIC and SIC/XE (extra equipments). SIC program can be executed on SIC/XE. Memory.
1 Lecture-2 CSIT-120 Spring 2001 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
TK 2633 Microprocessor & Interfacing Lecture 3: Introduction to 8085 Assembly Language Programming (2) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
CSCE 121, Sec 200, 507, 508 Fall 2010 Prof. Jennifer L. Welch.
Stored Program Concept: The Hardware View
1 Lecture-2 CS-120 Fall 2000 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
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.
Introduction to computer: executes instructions. Overview Topics discussed in this webnote: –Structure and operation of the CPU –Program flow –Types of.
MIPS Instruction Set Advantages
Computer Science 210 Computer Organization The Instruction Execution Cycle.
Studies in Big Data 4 Weng-Long Chang Athanasios V. Vasilakos MolecularComputing Towards a Novel Computing Architecture for Complex Problem Solving.
Lecture 3. Diff b/w RAM and Registers Registers are used to hold data immediately applicable to the operation at hand Registers are used to hold data.
Computer Systems Organization CS 1428 Foundations of Computer Science.
CSCI N201: Programming Concepts Copyright ©2005  Department of Computer & Information Science Essence of Computation.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
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.
J. Stover, CSD-HS.  A computer is an electronic device that is programmed to accept data (input), process it into useful information (output), and store.
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
A summary of TOY. 4 Main Components Data Processor Control Processor Memory Input/Output Device.
Copyright © 2003 Prentice Hall, IncSlides created by Bob Koziel.
© GCSE Computing Candidates should be able to:  describe the characteristics of an assembler Slide 1.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 2 - Introduction to C Programming Outline.
AddressInstructionMeaning Load value at 11 into accumulator Copy value of accumulator to Load value at 15 into.
Data Representation Automated data Processing Binary Data representation Mathematical operations Boolean Algebra Hexadecimal Notation.
This is where you can reset and run your program. If your program has an “INP” (input) command, you will type it in this box here. Using the LMC These.
CPIT Program Execution. Today, general-purpose computers use a set of instructions called a program to process data. A computer executes the.
The Postman in your PC Today you are going to learn how a computer’s CPU works to handle data. Teachcompsci.co.uk.
CPS4200 System Programming Spring 1 Systems Programming Chapter 1 Background I.
1 Computing Functions with Turing Machines. 2 A function Domain Result Region has:
Instruction Memory value Description ADD1xx Add the value stored at memory address xx to the value in the accumulator register SUB2xx Subtract the value.
A computer consists of five functionally independent main parts.
The Processor The Main Components Arithmetic/Logic Unit (ALU) Control Unit System Clock Registers.
Computer Architecture. Instruction Set “The collection of different instructions that the processor can execute it”. Usually represented by assembly codes,
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Basic Computer Organization and Design
MIPS Instruction Set Advantages
Control Unit Lecture 6.
Integers/Characters Input/Output
Introduction of microprocessor
Computer Science 210 Computer Organization
Data Representation – Instructions
The Processor and Machine Language
Figure 8.1 Architecture of a Simple Computer System.
Computer Science 210 Computer Organization
Computer Science 210 Computer Organization
CS149D Elements of Computer Science
CSCE Fall 2013 Prof. Jennifer L. Welch.
Simplified Instructional Computer (SIC)
MARIE: An Introduction to a Simple Computer
Figure 8.1 Architecture of a Simple Computer System.
Computing Functions with Turing Machines
Information Manipulation
Introduction to Programming Part 2
Sequencing, Selection, and Loops in Machine Language
Simplified Instructional Computer (SIC)
CSCE Fall 2012 Prof. Jennifer L. Welch.
Little Man Computer There’s a little man in the mailroom that follows each instruction to the letter but he can only follow one instruction at a time.
Computer Concept and Practice
The .ASCII and .END Assembler Input ;Stan Warford ;January 13, 2005
Information Representation: Machine Instructions
Introduction to Computers
Computer System.
Little Man Computer.
Conditional Branching (beq)
Presentation transcript:

CSCI-N 100 Dept. of Computer and Information Science ABNIAC CSCI-N 100 Dept. of Computer and Information Science

ABNIAC Computer simulator Uses commands similar to the Elemental Commands Includes output options

Fetch & Execute Cycle Together, a command list is called the Fetch & Execute Cycle Computer gets (fetches) a command, executes it and then moves on to the next command

The Elemental Commands Understood by ALL digital computers Used to manipulate data Commands (in ABNIAC): LOAD STORE ADD TEST (COMPARE) JUMP Output ASCII output HALT

The LOAD Command Take data from a MEMORY slot and put the data into a REGISTER Opposite of the STORE command

The STORE Command Take data from a REGISTER and put the data into a MEMORY slot Opposite of the LOAD command

The ADD Command Add the values of two REGISTERS All other arithmetic operations can be derived from add!

The COMPARE Command Compare (test) two REGISTER values Used in conjunction with the JUMP command

The JUMP Command Tells the computer to move to another command in the list of instructions Used when the computer’s behavior should change based on certain circumstances

Output Used to send output to the user Only parameter the OUTPUT command accepts is the location to output Information displayed generally an integer

ASCII Output One parameter like the OUTPUT command Instead of an integer, a text character will appear ASCII representation of the value of that location

The HALT Command Indicates the list of commands is finished Without the HALT, the computer would process until the end of memory is reached – “Out of memory errors”