1 Pertemuan 2 Machine Structure, Machine Language, And Assembly Language Matakuliah: H0182/Pemrograman Sistem Tahun: 2006 Versi: 01.

Slides:



Advertisements
Similar presentations
Computer Systems Nat 4/5 Computing Science Computer Structure:
Advertisements

Register In computer architecture, a processor register is a small amount of storage available on the CPU whose contents can be accessed more quickly than.
Assembly Language.
Parul Polytechnic Institute
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#3) By Dr. Syed Noman.
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Chapter 2 Machine Language. Machine language The only language a computer can understand directly. Each type of computer has its own unique machine language.
1 Pertemuan 12 Input/Output Matakuliah: H0344/Organisasi dan Arsitektur Komputer Tahun: 2005 Versi: 1/1.
1 ICS 51 Introductory Computer Organization Fall 2006 updated: Oct. 2, 2006.
Chapter 12 Three System Examples The Architecture of Computer Hardware and Systems Software: An Information Technology Approach 3rd Edition, Irv Englander.
Computer System Overview
Computer System Overview
1 Homework Reading –Professional Assembly Language, pp 17-32, Continue work on mp1 –Questions? Lab with your assigned section this week.
Introduction to Interrupts
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Lecture 18 Last Lecture Today’s Topic Instruction formats
Computer Organization Computer Organization & Assembly Language: Module 2.
An Introduction to 8086 Microprocessor.
created by :Gaurav Shrivastava
Computer Systems Overview. Page 2 W. Stallings: Operating Systems: Internals and Design, ©2001 Operating System Exploits the hardware resources of one.
Three fundamental concepts in computer security: Reference Monitors: An access control concept that refers to an abstract machine that mediates all accesses.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 1 Computer System Overview.
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.
How computers work The CPU & Memory. The parts of a computer.
Computer Science 101 Computer Systems Organization.
1 ICS 51 Introductory Computer Organization Fall 2009.
Modes of transfer in computer
Computer Architecture EKT 422
Architecture of Microprocessor
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
1 The Instruction Set Architecture September 27 th, 2007 By: Corbin Johnson CS 146.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
Data Representation Automated data Processing Binary Data representation Mathematical operations Boolean Algebra Hexadecimal Notation.
Structure and Role of a Processor
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 Computer Architecture. 2 Basic Elements Processor Main Memory –volatile –referred to as real memory or primary memory I/O modules –secondary memory.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
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 Systems Overview. Lecture 1/Page 2AE4B33OSS W. Stallings: Operating Systems: Internals and Design, ©2001 Operating System Exploits the hardware.
A computer consists of five functionally independent main parts.
The 8085A is a general-purpose microprocessor with low hardware overhead requirements. Within the 8085A are contained the functions of clock generation,
1 Computer System Overview Chapter 1. 2 Operating System Exploits the hardware resources of one or more processors Provides a set of services to system.
Computing Science Computer Structure: Lesson 1: Processor Structure
Unit Microprocessor.
Computers’ Basic Organization
COURSE OUTCOMES OF Microprocessor and programming
Part of the Assembler Language Programmers Toolbox
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
8086 Microprocessor.
Computer Organization & Assembly Language Chapter 3
A Closer Look at Instruction Set Architectures: Expanding Opcodes
University of Gujrat Department of Computer Science
COAL Chapter 1,2,3.
Number Representations and Basic Processor Architecture
8086 Ahad.
INTEL
ECEG-3202 Computer Architecture and Organization
ECEG-3202 Computer Architecture and Organization
Computer System Overview
COMPUTER ORGANIZATION AND ARCHITECTURE
Part I Data Representation and 8086 Microprocessors
Chapter 10 Instruction Sets: Characteristics and Functions
Presentation transcript:

1 Pertemuan 2 Machine Structure, Machine Language, And Assembly Language Matakuliah: H0182/Pemrograman Sistem Tahun: 2006 Versi: 01

2 Learning Outcomes  Mahasiswa dapat mengerti komponen- komponen dasar dari Machine structure  Mahasiswa dapat mengerti alasan pembuatan bahasa assembly

3 General Machine Structure Block Diagram of Simple Computer CPU RAM & ROM Input Device Output Device I/O Processor D-Bus A-Bus

4 General Machine Structure Memory Registers Data Instruction Special Features

5 Machine Language Strongly related and dedicated to specific machine (Intel, IBM, Sun, DEC,etc) Very difficult to understand because involving binary ( ) notation for programming Hell to programmer

6 Assemblers Assembly language Memory –Base & Offset Addressing –Units of Memory: bit,byte,word –High Order & Low Order byte Registers –Flag Register –General Purpose Register –Segment Registers & Instruction Pointer –Stack Registers –Pointer & Index Registers

7 Assemblers Data –Byte, Word, Integer, Real, String, Array, Short Integer, Long Integer, etc Instruction –Data Transfer Instruction –Arithmetic Operation Instruction –Boolean Operation Instruction (Flag) –Logical Operation Instruction –Program Branching Instruction Special Features –Interrupt Handlers

8 Summary Every computer have some common features Assembly language is first step for better programming instead using machine language Assembly language for Intel is dedicated for machine that uses Intel processor.