INTRODUCTION TO MICROPROCESSOR Engr. Ammar Anwar Khan.

Slides:



Advertisements
Similar presentations
NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
Advertisements

Number SystemsNumber Systems Modified By: AM. Sihan (Hardware Engineering)
Number Systems Discussion D4.1 Appendix C. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Introduction to Computer Engineering by Richard E. Haskell Number Systems Module M3.1 Sections
Decimal Addition What is going on? (carry) (subtract the base)
Number Systems and Codes Discussion D4.1. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Introduction to Number Systems
ITEC 1011 Introduction to Information Technologies 1. Number Systems Chapt. 2 Location in course textbook.
Prepared By Rama Gaikwad 1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20,
Chapter 1 1 Number Systems. 2 Objectives  Understand why computers use binary (Base-2) numbering.  Understand how to convert Base-2 numbers to Base-
Binary Addition Addition Rules: = = = = = carry 1 1 carry 1 Example 1: Example 2:
Lecture 7 How computers process data (Number Systems) PRESENTED BY MD. MAHBUBUL ALAM, PHD 1.
Fundamentals of IT UNIT-I OnlyforIPMCA. DIGITAL SIGNALS & LOGIC GATES Signals and data are classified as analog or digital. Analog refers to something.
Introduction to Computer Science Number Systems. Introduction to Computer Science Common Number Systems SystemBaseSymbols Used by humans? Used in computers?
Chapter 3 Data Representation
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
Conversion of Number System Conversion Among Bases The possibilities: Hexadecimal DecimalOctal Binary
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
IT101: INFORMATION TECHNOLOGY FUNDAMENTALS 1 Edited By Dr. Ahmed Abo-Bakr Information Technology Dept. Faculty of Computers & Information.
NUMBER SYSTEMS Prepared By K.Anitha Associate Professor Dept of ECE PVPSIT.
1-1 Lecture 1 Class Overview and Appendix A -- Number Systems.
CONVERSION OF NUMBER SYSTEMS FAHEEM ANWAR MANAGER NETWORKS ACADEMY PTCL ACADEMY.
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Positional Number Systems
Chapter1: Number Systems
Number Systems Prepared by Department of Preparatory year.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
1. Number Systems Chapt. 2 Location in course textbook.
Tasanawan Soonklang Department of Computing, Faculty of Science Data Representation.
Number System sneha.
Octal to Decimal Hexadecimal DecimalOctal Binary.
MicroProcessors Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering Faculty of Engineering Zagazig University.
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80, 1, … 7No.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80, 1, … 7No.
Computer Programming 12 Mr. Jean February 11 th, 2014.
Lecture 2 Number Systems
MODULE –I NUMBER SYSTEM Digital Design Amit Kumar Assistant Professor SCSE, Galgotias University, Greater Noida.
ICT-2013 Md. Yousuf Ali, Lecturer, ICT, Purba Mallikpur H.S. College Slide No: 1/6 Common Number Systems SystemBaseSymbols Used by humans? Used in computers?
Computer Number System
Programming 12 : Mr. Jean February 8 th, The plan: Video clip of the day Website Introduction to Hexadecimal Converting from Hexadecimal to Decimal.
1. Number Systems Chapt. 2 Location in course textbook.
ITEC 1011 Introduction to Information Technologies 1. Number Systems Chapt. 2 Location in course textbook.
DIGITAL LOGIC DESIGN TOPIC: NUMBER SYSTEMS OPERATIONS AND CODES:
Prepared By: Md Rezaul Huda Reza University of South Asia Computer Architecture By: Md Rezaul Huda Reza
1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80, 1, … 7No.
Number Systems. ASCII – American Standard Code for Information Interchange – Standard encoding scheme used to represent characters in binary format on.
1. Number Systems Chapt. 2. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80,
Introduction to Computing
Octal to Decimal Decimal Octal Binary Hexadecimal.
1. Number Systems.
NUMBER SYSTEM Prepared by: Engr Zakria.
Number System.
COMPUTER ORGANIZATION
Integer Real Numbers Character Boolean Memory Address CPU Data Types
ITE102 – Computer Programming (C++)
CSE 102 Introduction to Computer Engineering
Chapter 1 Number Systems & Conversions
MMNSS COLLEGE,KOTTIYAM DEPARTMENT OF PHYSICS
Numbering Systems and Arithmetic operations on Hex, binary, and octal
Number Systems.
Number Systems created by: S.Shahrukh haider
Binary Addition (1 of 2) Two 1-bit values A B A + B 1
1. Number Systems Chapt. 2.
Presentation transcript:

INTRODUCTION TO MICROPROCESSOR Engr. Ammar Anwar Khan

TUTORIAL # 1 EE-353 Review of basic topics to warm up !!!!! 2

NUMBER SYSTEM 3  The most commonly used number systems are:  BinaryBase: 2  OctalBase: 8  DecimalBase: 10  HexadecimalBase: 16

NUMBER SYSTEM 4 SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80, 1, … 7No Hexadecimal160, 1, … 9, A, B, … F No

NUMBER SYSTEM 5 DecimalBinaryOctal Hexa- decimal

NUMBER SYSTEM 6 DecimalBinaryOctal Hexa- decimal A B C D E F

NUMBER SYSTEM CONVERSIONS 7 The possibilities: Hexadecimal DecimalOctal Binary = = 31 8 = Base

BINARY TO DECIMAL 8 Hexadecimal DecimalOctal Binary

9 Example => 1 x 2 0 = 1 1 x 2 1 = 2 0 x 2 2 = 0 1 x 2 3 = 8 0 x 2 4 = 0 1 x 2 5 = Bit “0” (LSB)

OCTAL TO DECIMAL 10 Hexadecimal DecimalOctal Binary

11 Example => 4 x 8 0 = 4 2 x 8 1 = 16 7 x 8 2 =

HEXADECIMAL TO DECIMAL 12 Hexadecimal DecimalOctal Binary

13 Example ABC 16 =>C x 16 0 = 12 x 1 = 12 B x 16 1 = 11 x 16 = 176 A x 16 2 = 10 x 256 =

DECIMAL TO BINARY 14 Hexadecimal DecimalOctal Binary

15 Example = ? =

OCTAL TO BINARY 16 Hexadecimal DecimalOctal Binary

17 Example = ? =

HEXADECIMAL TO BINARY 18 Hexadecimal DecimalOctal Binary

19 Example 10AF 16 = ? A F AF 16 =

DECIMAL TO OCTAL 20 Hexadecimal DecimalOctal Binary

21 Example = ? =

DECIMAL TO HEXADECIMAL 22 Hexadecimal DecimalOctal Binary

23 Example = ? = 4D = D

BINARY TO OCTAL 24 Hexadecimal DecimalOctal Binary

25 Example = ? =

BINARY TO HEXADECIMAL 26 Hexadecimal DecimalOctal Binary

27 Example = ? B B = 2BB 16

OCTAL TO HEXADECIMAL 28 Hexadecimal DecimalOctal Binary

29 Example = ? E = 23E 16

HEXADECIMAL TO OCTAL 30 Hexadecimal DecimalOctal Binary

31 Example 1F0C 16 = ? 8 1 F 0 C F0C 16 =

COMMON POWERS 32 Base 2 PowerPrefaceSymbol 2 10 kilok 2 20 megaM 2 30 GigaG Value

33 Example 1.84 * Double click on My Computer 2. Right click on C: 3. Click on Properties

BINARY ARITHMETIC OPERATIONS 34 Addition Complements Subtraction

BINARY ADDITION Carry Bit (a) (b) (c)(d)

BINARY COMPLEMENT – 1’S COMPLEMENT 36 Example

2’S COMPLEMENT One’s Complement Two’s Complement

BINARY SUBTRACTION 38 Example If there is a carry then it is ignored. Thus, the answer is Two’s complement of 1001

End 39