Preface... xxi Chapter One: Digital Signals and Systems... 1 Chapter Two: Numbering Systems... 17

Size: px
Start display at page:

Download "Preface... xxi Chapter One: Digital Signals and Systems... 1 Chapter Two: Numbering Systems... 17"

Transcription

1 TABLE OF CONTENTS Preface...xxi Chapter One: Digital Signals and Systems Should Software Engineers Worry About Hardware? Non-Digital Signals Digital Signals Conversion Systems Representation of Digital Signals Types of Digital Signals Edges Pulses Non-Periodic Pulse Trains Periodic Pulse Trains Pulse-Width Modulation Unit Prefixes What's Next? Problems Chapter Two: Numbering Systems Unsigned Binary Counting Binary Terminology Unsigned Binary to Decimal Conversion Decimal to Unsigned Binary Conversion Binary Representation of Analog Values Sampling Theory Hexadecimal Representation Binary Coded Decimal Gray Codes What's Next? Problems Chapter Three: Binary Math and Signed Representations Binary Addition Binary Subtraction Binary Complements One's Complement Two's Complement Most Significant Bit as a Sign Indicator Signed Magnitude v

2 vi Computer Organization and Design Fundamentals MSB and Number of Bits Issues Surrounding the Conversion of Binary Numbers Minimums and Maximums Floating Point Binary Hexadecimal Addition BCD Addition Multiplication and Division by Powers of Two Easy Decimal to Binary Conversion Trick Arithmetic Overflow What's Next? Problems Chapter Four: Logic Functions and Gates Logic Gate Basics NOT Gate AND Gate OR Gate Exclusive-OR (XOR) Gate Truth Tables Timing Diagrams for Gates Combinational Logic Truth Tables for Combinational Logic What's Next? Problems Chapter Five: Boolean Algebra Need for Boolean Expressions Symbols of Boolean Algebra Boolean Expressions of Combinational Logic Laws of Boolean Algebra Rules of Boolean Algebra NOT Rule OR Rules AND Rules XOR Rules Derivation of Other Rules Simplification DeMorgan's Theorem What's Next? Problems

3 Table of Contents vii Chapter Six: Standard Boolean Expression Formats Sum-of-Products Converting an SOP Expression to a Truth Table Converting a Truth Table to an SOP Expression Product-of-Sums Converting POS to Truth Table Converting a Truth Table to a POS Expression NAND-NAND Logic What's Next? Problems Chapter Seven: Karnaugh Maps The Karnaugh Map Using Karnaugh Maps "Don't Care" Conditions in a Karnaugh Map What's Next? Problems Chapter Eight: Combinational Logic Applications Adders Seven-Segment Displays Active-Low Signals Decoders Multiplexers Demultiplexers Integrated Circuits What's Next? Problems Chapter Nine: Binary Operation Applications Bitwise Operations Clearing/Masking Bits Setting Bits Toggling Bits Comparing Bits with XOR Parity Checksum Cyclic Redundancy Check CRC Process CRC Implementation Hamming Code

4 viii Computer Organization and Design Fundamentals 9.7 What's Next? Problems Chapter Ten: Memory Cells New Truth Table Symbols Edges/Transitions Previously Stored Values Undefined Values The S-R Latch The D Latch Divide-By-Two Circuit Counter Parallel Data Output What's Next? Problems Chapter Eleven: State Machines Introduction to State Machines States State Diagrams Errors in State Diagrams Basic Circuit Organization State Machine Design Process Another State Machine Design: Pattern Detection Mealy Versus Moore State Machines What's Next? Problems Chapter Twelve: Memory Organization Early Memory Organization of Memory Device Interfacing Memory to a Processor Buses Memory Maps Address Decoding Chip Select Hardware Memory Mapped Input/Output Memory Terminology Random Access Memory Read Only Memory Static RAM versus Dynamic RAM

5 Table of Contents ix Types of DRAM and Their Timing Asynchronous vs. Synchronous Memory What's Next? Problems Chapter Thirteen: Memory Hierarchy Characteristics of the Memory Hierarchy Physical Characteristics of a Hard Drive Hard Drive Read/Write Head Data Encoding Hard Drive Access Time S.M.A.R.T Organization of Data on a Hard Drive Cache RAM Cache Organization Dividing Memory into Blocks Cache Operation Cache Characteristics Cache Mapping Functions Cache Write Policy Registers What's Next? Problems Chapter Fourteen: Serial Protocol Basics OSI Seven-Layer Network Model Serial versus Parallel Data Transmission Anatomy of a Frame or Packet Sample Protocol: IEEE Ethernet Sample Protocol: Internet Protocol Sample Protocol: Transmission Control Protocol Dissecting a Frame Additional Resources What's Next? Problems Chapter Fifteen: Introduction to Processor Architecture Organization versus Architecture Components Bus Registers

6 x Computer Organization and Design Fundamentals Flags Buffers The Stack I/O Ports Processor Level CPU Level Simple Example of CPU Operation Assembly and Machine Language Big-Endian/Little-Endian Pipelined Architectures Passing Data To and From Peripherals Memory-Mapped I/O Polling Interrupts Direct Memory Access I/O Channels and Processors What's Next? Problems Chapter Sixteen: Intel 80x86 Base Architecture Why Study the 80x86? Execution Unit General Purpose Registers Address Registers Flags Internal Buses Bus Interface Unit Segment Addressing Instruction Queue Memory versus I/O Ports What's Next? Problems Chapter Seventeen: Intel 80x86 Assembly Language Assemblers versus Compilers Components of a Line of Assembly Language Assembly Language Directives SEGMENT Directive MODEL,.STACK,.DATA, and.code Directives PROC Directive

7 Table of Contents xi END Directive Data Definition Directives EQU Directive x86 Opcodes Data Transfer Data Manipulation Program Control Special Operations Addressing Modes Register Addressing Immediate Addressing Pointer Addressing Sample 80x86 Assembly Language Programs Additional 80x86 Programming Resources What's Next? Problems Index TABLE OF FIGURES 1-1 Sample Digital System Continuous Analog Signal with Infinite Resolution Sample of Discrete Measurements Taken Every 0.1 Sec Samples Taken of an Analog Signal Slow Sampling Rate Missed an Anomaly Poor Resolution Resulting in an Inaccurate Measurement Block Diagram of a System to Capture Analog Data Representation of a Single Binary Signal Representation of Multiple Digital Signals Alternate Representation of Multiple Digital Signals Digital Transition Definitions Pulse Waveforms Non-Periodic Pulse Train Periodic Pulse Train Periodic Pulse Train with Different Pulse Widths Periodic Pulse Train with 25% Duty Cycle Counting in Decimal... 17

8 xii Computer Organization and Design Fundamentals 2-2 Counting in Binary Binary-Decimal Equivalents from 0 to Values Represented By Each of the First 8 Bit Positions Sample Conversion of to Decimal Decimal to Unsigned Binary Conversion Flow Chart Sample Analog Signal of Sound Effects of Number of Bits on Roundoff Error Aliasing Effects Due to Slow Sampling Rate Eight Binary Values Identifying Rotating Shaft Position Example of a Position Encoder Conversion from Unsigned Binary to Gray Code Four Possible Results of Adding Two Bits Four Possible Results of Adding Two Bits with Carry Two's Complement Short-Cut Converting a Two's Complement Number to a Decimal IEEE Standard 754 Floating-Point Formats Duplicate MSB for Right Shift of 2's Complement Values Basic Format of a Logic Gate Basic Logic Symbols Operation of the NOT Gate Operation of a Two-Input AND Gate Operation of a Two-Input OR Gate Operation of a Two-Input XOR Gate Sample Three-Input Truth Table Listing All Bit Patterns for a Four-Input Truth Table Inverter Truth Table Two-Input AND Gate Truth Table Two-Input OR Gate Truth Table Two-Input XOR Gate Truth Table Three-Input AND Gate Truth Table With Don't Cares Sample Timing Diagram for a Three-Input AND Gate Sample Timing Diagram for a Three-Input OR Gate Sample Timing Diagram for a Three-Input XOR Gate Sample Combinational Logic Combinational Logic for a Simple Security System Truth Table for Simple Security System of Figure "NOT" Circuits Schematic "Short-Hand" for Inverted Inputs... 82

9 Table of Contents xiii 4-22 Sample of Multi-Level Combinational Logic Process of Passing Inputs Through Combinational Logic Steps That Inputs Pass Through in Combinational Logic All Combinations of Ones and Zeros for Three Inputs Step (a) in Sample Truth Table Creation Step (b) in Sample Truth Table Creation Step (c) in Sample Truth Table Creation Step (d) in Sample Truth Table Creation Schematic and Truth Table of Combinational Logic Boolean Expression for the AND Function Boolean Expression for the OR Function Boolean Expression for the NOT Function Circuit Representation of the Boolean Expression Sample of Multi-Level Combinational Logic Creating Boolean Expression from Combinational Logic Examples of the Precedence of the NOT Function Example of a Conversion from a Boolean Expression Commutative Law for Two Variables OR'ed Together Schematic Form of NOT Rule Rules of Boolean Algebra Application of DeMorgan's Theorem Schematic Application of DeMorgan's Theorem Sample Sum-of-Products Binary Circuit Samples of Single Product (AND) Truth Tables Sample of a Sum-of-Products Truth Table Conversion of an SOP Expression to a Truth Table Sample Product-of-Sums Binary Circuit Samples of Single Sum (OR) Truth Tables Sample of a Product-of-Sums Truth Table Sample Sums With Multiple Zero Outputs Conversion of a POS Expression to a Truth Table Circuit Depiction of DeMorgan's Theorem OR Gate Equals a NAND Gate With Inverted Inputs OR-to-NAND Equivalency Expanded to Four Inputs Sample SOP Circuit Sample SOP Circuit with Output OR Gate Replaced Sample SOP Circuit Implemented With NAND Gates by-2 Karnaugh Map Used with Two Inputs

10 xiv Computer Organization and Design Fundamentals 7-2 Mapping a 2-Input Truth Table to Its Karnaugh Map Three-Input Karnaugh Map Four-Input Karnaugh Map Identifying the Products in a Karnaugh Map Karnaugh Map with Four Adjacent Cells Containing '1' Sample Rectangle in a Three-Input Karnaugh Map Karnaugh Map with a "Don't Care" Elements Karnaugh Map with a "Don't Care" Elements Assigned Four Possible Results of Adding Two Bits Block Diagram of a Half Adder Four Possible States of a Half Adder Logic Circuit for a Half Adder Block Diagram of a Multi-bit Adder Block Diagram of a Full Adder Sum and Carryout Karnaugh Maps for a Full Adder Logic Circuit for a Full Adder Seven-Segment Display Displaying a '1' with a 7-Segment Display A Seven-Segment Display Displaying a Decimal '2' Block Diagram of a Seven-Segment Display Driver Segment Patterns for all Hexadecimal Digits Seven Segment Display Truth Table Karnaugh Map for Segment 'e' Karnaugh Map for Segment 'e' with Rectangles Logic Circuit for Segment e of 7-Segment Display Labeling Conventions for Active-Low Signals Sample Circuit for Enabling a Microwave Sample Circuit for Delivering a Soda Truth Table to Enable a Device for A=1, B=1, & C= Digital Circuit for a 1-of-4 Decoder Digital Circuit for an Active-Low 1-of-4 Decoder Truth Table for an Active-Low 1-of-8 Decoder Block Diagram of an Eight Channel Multiplexer Truth Table for an Eight Channel Multiplexer Logic Circuit for a 1-Line-to-4-Line Demultiplexer Truth Table for a 1-Line-to-4-Line Demultiplexer Examples of Integrated Circuits Pin-out of a Quad Dual-Input NAND Gate IC (7400) Sample Pin 1 Identifications

11 Table of Contents xv 8-32 Generic Protoboard Generic Protoboard Internal Connections Sample Circuit Wired on a Protoboard Schematic Symbol of a Light-Emitting Diode (LED) LED Circuit Switch Circuit Graphic of a Bitwise Operation Performed on LSB Bitwise AND of and Three Sample Bitwise ANDs Possible Output from a Motion Detector A Difference in Output Indicates an Error Simple Error Detection with an XOR Gate Sample Block of Data with Accompanying Datasums Small Changes in Data Canceling in Checksum Example of Long Division in Binary Example of Long Division Using XOR Subtraction Sample Code for Calculating CRC Checksums Venn Diagram Representation of Hamming Code Example Single-Bit Errors in Venn Diagram Example of a Two-Bit Error Using Parity to Check for Double-Bit Errors Symbols for Rising Edge and Falling Edge Transitions Sample Truth Table Using Undefined Output Primitive Feedback Circuit using Inverters Operation of a NAND Gate with One Input Tied High Primitive Feedback Circuit Redrawn with NAND Gates Only Two Possible States of Circuit in Figure Operation of a Simple Memory Cell Operation of a Simple Memory Cell (continued) S-R Latch S-R Latch Truth Table Block Diagram of the D Latch Edge-Triggered D Latch Truth Tables Transparent D Latch Truth Tables Divide-By-Two Circuit Clock and Output Timing in a Divide-By-Two Circuit Cascading Four Divide-By-Two Circuits Counter Implemented with Divide-By-Two Circuits

12 xvi Computer Organization and Design Fundamentals Output of Binary Counter Circuit Output Port Data Latch Circuitry Adding Memory to a Digital Logic Circuit States of a Traffic Signal System States of a Light Bulb State Diagram for Light Bulb State Machine Complete State Diagram for Light Bulb State Machine Block Diagram of an Up-Down Binary Counter State Diagram for a 3-Bit Up-Down Binary Counter Sample of a Reset Indication in a State Diagram Block Diagram of a State Machine Initial State of the Push Button Light Control Transitions from State 0 of Push Button Circuit B=0 Transition from State 0 of Push Button Circuit B=1 Transition from State 0 of Push Button Circuit B=0 Transition from State 1 of Push Button Circuit B=1 Transition from State 1 of Push Button Circuit Transitions from State 2 of Push Button Circuit Final State Diagram for Push Button Circuit Block Diagram for Push Button Circuit K-Maps for S 1 ', S 0 ', and L of Push Button Circuit Finished Push Button Circuit Revised Truth Table and K Map for Push Button Circuit Identifying the Bit Pattern "101" in a Bit Stream State Diagram for Identifying the Bit Pattern "101" Next State and Output Truth Tables for Pattern Detect K-Maps for S 1 ', S 0 ', and P of Pattern Detect Circuit Final Circuit to Identify the Bit Pattern "101" Basic Configuration of a Mealy Machine Sample State Diagram of a Mealy Machine Output Truth Table for Sample Mealy Machine Diagram of a Section of Core Memory Basic Organization of a Memory Device Basic Processor to Memory Device Interface Two Memory Devices Sharing a Bus Three Buffers Trying to Drive the Same Output Sample Memory Maps Full Address with Enable Bits and Device Address Bits

13 Table of Contents xvii 12-8 IPv4 Address Divided into Subnet and Host IDs Sample Chip Select Circuit for a Memory Device Some Types of Memory Mapped I/O Configurations Basic Addressing Process for a DRAM Organization of DRAM Example of an FPM Transfer Example of an EDO Transfer Block Diagram of a Standard Memory Hierarchy Configuration of a Hard Drive Write Head Sample FM Magnetic Encoding Sample MFM Magnetic Encoding RLL Relation between Bit Patterns and Polarity Changes Sample RLL Magnetic Encoding Components of Disk Access Time Relation between Read/Write Head and Tracks Organization of Hard Disk Platter Illustration of a Hard Drive Cylinder Equal Number of Bits per Track versus Equal Sized Bits Comparison of Sector Organizations Cache Placement between Main Memory and Processor L1 and L2 Cache Placement Split Cache Organization Organization of Cache into Lines Division of Memory into Blocks Organization of Address Identifying Block and Offset Direct Mapping of Main Memory to Cache Direct Mapping Partitioning of Memory Address Fully Associative Partitioning of Memory Address Set Associative Mapping of Main Memory to Cache Effect of Cache Set Size on Address Partitioning Sample Protocol Stack using TCP, IP, and Ethernet Layout of an IEEE Ethernet Frame Layout of an IP Packet Header Layout of a TCP Packet Header Position and Purpose of TCP Control Flags Layout of a TCP Pseudo Header Simulated Raw Data Capture of an Ethernet Frame Sample Code Using Conditional Statements

14 xviii Computer Organization and Design Fundamentals 15-2 Block Diagram of a System Incorporating a Buffer Generic Block Diagram of a Processor System Generic Block Diagram of Processor Internals Generic Block Diagram of a Typical CPU Decoded Assembly Language from Table Non-Pipelined Execution of Five Instructions Pipelined Execution of Five Instructions Sample Memory Mapped Device Circuit Basic Operation of an ISR Block Diagram of 80x86 Execution Unit (EU) Block Diagram of 80x86 Bus Interface Unit (BIU) Segment/Pointer Relation in the 80x86 Memory Map Format of a Line of Assembly Language Code Format and Parameters Used to Define a Segment Format of the.model Directive Format and Parameters Used to Define a Procedure Format and Parameters of Some Define Directives Example Uses of Define Directives Format and Parameters of the EQU Directive Sample Code with and without the EQU Directive Format and Parameters of the MOV Opcode Format and Parameters of the IN and OUT Opcodes Format and Parameters of the ADD Opcode Format and Parameters of NEG, NOT, DEC, and INC Format and Parameters of SAR, SHR, SAL, and SHL Example of a JMP Instruction Example of a LOOP Instruction Sample Organization of a Procedure Call Examples of Register Addressing Examples of Immediate Addressing Examples of an Address being used as an Operand Skeleton Code for a Simple Assembly Program Code to Assign Data Segment Address to DS Register Code to Inform O/S that Program is Terminated Skeleton Code with Code Added for O/S Support Data Defining Directives for Example Code Step-by-Step Example Operation Converted to Code Final Code for Example Assembly Language Program

15 Table of Contents xix TABLE OF TABLES 1-1 Unit Prefixes Converting Binary to Decimal and Hexadecimal Converting BCD to Decimal Derivation of the Four-Bit Gray Code Representation Comparison for 8-bit Binary Numbers Hexadecimal to Decimal Conversion Table Multiplying the Binary Value by Powers of Two Addition Results Based on Inputs of a Full Adder Sum and Carryout Truth Tables for a Full Adder Truth Table for a Two-Input XOR Gate Addition and Subtraction Without Carries or Borrows Reconstructing the Dividend Using XORs Second Example of Reconstructing the Dividend Data Groupings and Parity for the Nibble Data Groupings with a Data Bit in Error Data Groupings with a Parity Bit in Error Identifying Errors in a Nibble with Three Parity Bits Parity Bits Required for a Specific Number of Data Bits Membership of Data and Parity Bits in Parity Groups List of States for Push Button Circuit Next State Truth Table for Push Button Circuit Output Truth Table for Push Button Circuit Revised List of States for Push Button Circuit List of States for Bit Pattern Detection Circuit The Allowable Settings of Four Chip Selects Sample Memory Sizes versus Required Address Lines Conditional Jumps to be Placed After a Compare Conditional Jumps to be Placed After an Operation Numbered Instructions for Imaginary Processor Assembly Language for Imaginary Processor Operand Requirements for Imaginary Processor A Simple Program Stored at Memory Address Signal Values for Sample I/O Device Control Signal Levels for I/O and Memory Transactions

16 xx Computer Organization and Design Fundamentals 16-1 Summary of Intel 80x86 Bus Characteristics Summary of the 80x86 Read and Write Control Signals Memory Models Available for use with.model Summary of 80x86 Conditional Jumps x86 Instructions for Modifying Flags

INDEX. asynchronous memory, 270 auxiliary carry flag, 366 AX. See accumulator register

INDEX. asynchronous memory, 270 auxiliary carry flag, 366 AX. See accumulator register A accumulator register, 363 accuracy, 6 active-low signals, 153, 253 address decoder, 249 address decoding, 257 address latch, 335 address lines, 251 address, memory, 248 addressing immediate, 384 pointer,

More information

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii) CONTENTS Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii) CHAPTER 1: NUMBER SYSTEM 1.1 Digital Electronics... 1 1.1.1 Introduction... 1 1.1.2 Advantages of Digital Systems...

More information

Logic design Ibn Al Haitham collage /Computer science Eng. Sameer

Logic design Ibn Al Haitham collage /Computer science Eng. Sameer DEMORGAN'S THEOREMS One of DeMorgan's theorems stated as follows: The complement of a product of variables is equal to the sum of the complements of the variables. DeMorgan's second theorem is stated as

More information

COPYRIGHTED MATERIAL INDEX

COPYRIGHTED MATERIAL INDEX INDEX Absorption law, 31, 38 Acyclic graph, 35 tree, 36 Addition operators, in VHDL (VHSIC hardware description language), 192 Algebraic division, 105 AND gate, 48 49 Antisymmetric, 34 Applicable input

More information

Digital Fundamentals

Digital Fundamentals Digital Fundamentals Tenth Edition Floyd Chapter 1 Modified by Yuttapong Jiraraksopakun Floyd, Digital Fundamentals, 10 th 2008 Pearson Education ENE, KMUTT ed 2009 Analog Quantities Most natural quantities

More information

ii) Do the following conversions: output is. (a) (101.10) 10 = (?) 2 i) Define X-NOR gate. (b) (10101) 2 = (?) Gray (2) /030832/31034

ii) Do the following conversions: output is. (a) (101.10) 10 = (?) 2 i) Define X-NOR gate. (b) (10101) 2 = (?) Gray (2) /030832/31034 No. of Printed Pages : 4 Roll No.... rd 3 Sem. / ECE Subject : Digital Electronics - I SECTION-A Note: Very Short Answer type questions. Attempt any 15 parts. (15x2=30) Q.1 a) Define analog signal. b)

More information

Digital Design. Verilo. and. Fundamentals. fit HDL. Joseph Cavanagh. CRC Press Taylor & Francis Group Boca Raton London New York

Digital Design. Verilo. and. Fundamentals. fit HDL. Joseph Cavanagh. CRC Press Taylor & Francis Group Boca Raton London New York Digital Design and Verilo fit HDL Fundamentals Joseph Cavanagh Santa Clara University California, USA CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an imprint of the Taylor &

More information

UPY14602-DIGITAL ELECTRONICS AND MICROPROCESSORS Lesson Plan

UPY14602-DIGITAL ELECTRONICS AND MICROPROCESSORS Lesson Plan UPY14602-DIGITAL ELECTRONICS AND MICROPROCESSORS Lesson Plan UNIT I - NUMBER SYSTEMS AND LOGIC GATES Introduction to decimal- Binary- Octal- Hexadecimal number systems-inter conversions-bcd code- Excess

More information

SOME ASSEMBLY REQUIRED

SOME ASSEMBLY REQUIRED SOME ASSEMBLY REQUIRED Assembly Language Programming with the AVR Microcontroller TIMOTHY S. MARGUSH CRC Press Taylor & Francis Group CRC Press is an imprint of the Taylor & Francis Croup an Informa business

More information

END-TERM EXAMINATION

END-TERM EXAMINATION (Please Write your Exam Roll No. immediately) END-TERM EXAMINATION DECEMBER 2006 Exam. Roll No... Exam Series code: 100919DEC06200963 Paper Code: MCA-103 Subject: Digital Electronics Time: 3 Hours Maximum

More information

Injntu.com Injntu.com Injntu.com R16

Injntu.com Injntu.com Injntu.com R16 1. a) What are the three methods of obtaining the 2 s complement of a given binary (3M) number? b) What do you mean by K-map? Name it advantages and disadvantages. (3M) c) Distinguish between a half-adder

More information

Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore

Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore COMPUTER ORGANIZATION AND ARCHITECTURE V. Rajaraman Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore T. Radhakrishnan Professor of Computer Science

More information

Digital Fundamentals

Digital Fundamentals Digital Fundamentals Tenth Edition Floyd Chapter 2 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved Decimal Numbers The position of each digit in a weighted

More information

Computer Organization

Computer Organization A Text Book of Computer Organization and Architecture Prof. JATINDER SINGH Director, GGI, Dhaliwal Er. AMARDEEP SINGH M.Tech (IT) AP&HOD, Deptt.of CSE, SVIET, Banur Er. GURJEET SINGH M.Tech (CSE) Head,

More information

Read this before starting!

Read this before starting! Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 3 for Fall Semester,

More information

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0 1. The number of level in a digital signal is: a) one b) two c) four d) ten 2. A pure sine wave is : a) a digital signal b) analog signal c) can be digital or analog signal d) neither digital nor analog

More information

Internal architecture of 8086

Internal architecture of 8086 Case Study: Intel Processors Internal architecture of 8086 Slide 1 Case Study: Intel Processors FEATURES OF 8086 It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 220 memory locations (1

More information

D I G I T A L C I R C U I T S E E

D I G I T A L C I R C U I T S E E D I G I T A L C I R C U I T S E E Digital Circuits Basic Scope and Introduction This book covers theory solved examples and previous year gate question for following topics: Number system, Boolean algebra,

More information

1. Mark the correct statement(s)

1. Mark the correct statement(s) 1. Mark the correct statement(s) 1.1 A theorem in Boolean algebra: a) Can easily be proved by e.g. logic induction b) Is a logical statement that is assumed to be true, c) Can be contradicted by another

More information

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language The x86 Microprocessors Introduction 1.1 Assembly Language Numbering and Coding Systems Human beings use the decimal system (base 10) Decimal digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Computer systems use the

More information

DIGITAL ELECTRONICS. Vayu Education of India

DIGITAL ELECTRONICS. Vayu Education of India DIGITAL ELECTRONICS ARUN RANA Assistant Professor Department of Electronics & Communication Engineering Doon Valley Institute of Engineering & Technology Karnal, Haryana (An ISO 9001:2008 ) Vayu Education

More information

1. Draw general diagram of computer showing different logical components (3)

1. Draw general diagram of computer showing different logical components (3) Tutorial 1 1. Draw general diagram of computer showing different logical components (3) 2. List at least three input devices (1.5) 3. List any three output devices (1.5) 4. Fill the blank cells of the

More information

FUNDAMENTALS OF DIGITAL CIRCUITS

FUNDAMENTALS OF DIGITAL CIRCUITS FUNDAMENTALS OF DIGITAL CIRCUITS THIRD EDITION A. Anand Kumar Principal K.L. University College of Engineering K.L. University Green Fields, Vaddeswaram Guntur District Andhra Pradesh Delhi-110092 2014

More information

SUBJECT CODE: IT T35 DIGITAL SYSTEM DESIGN YEAR / SEM : 2 / 3

SUBJECT CODE: IT T35 DIGITAL SYSTEM DESIGN YEAR / SEM : 2 / 3 UNIT - I PART A (2 Marks) 1. Using Demorgan s theorem convert the following Boolean expression to an equivalent expression that has only OR and complement operations. Show the function can be implemented

More information

BASIC INTERFACING CONCEPTS

BASIC INTERFACING CONCEPTS Contents i SYLLABUS UNIT - I 8085 ARCHITECTURE Introduction to Microprocessors and Microcontrollers, 8085 Processor Architecture, Internal Operations, Instructions and Timings, Programming the 8085-Introduction

More information

COMPUTER ARCHITECTURE AND ORGANIZATION Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital

COMPUTER ARCHITECTURE AND ORGANIZATION Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital hardware modules that accomplish a specific information-processing task. Digital systems vary in

More information

DIGITA L LOGIC AND COMPUTER ORGA NIZATION

DIGITA L LOGIC AND COMPUTER ORGA NIZATION DIGITA L LOGIC AND COMPUTER ORGA NIZATION V. RAJARAMAN Honorary Professor Supercomputer Education and Research Centre Indian Institute of Science, Bangalore T. RADHAKRISHNAN Professor of Computer Science

More information

CHW 261: Logic Design

CHW 261: Logic Design CHW 261: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed14 http://bu.edu.eg/staff/ahmedshalaby14# Slide 1 Slide 2 Slide 3 Digital Fundamentals CHAPTER

More information

Get Free notes at Module-I One s Complement: Complement all the bits.i.e. makes all 1s as 0s and all 0s as 1s Two s Complement: One s complement+1 SIGNED BINARY NUMBERS Positive integers (including zero)

More information

Computer Arithmetic andveriloghdl Fundamentals

Computer Arithmetic andveriloghdl Fundamentals Computer Arithmetic andveriloghdl Fundamentals Joseph Cavanagh Santa Clara University California, USA ( r ec) CRC Press vf J TayiorS«. Francis Group ^"*" "^ Boca Raton London New York CRC Press is an imprint

More information

Intel 8086 MICROPROCESSOR. By Y V S Murthy

Intel 8086 MICROPROCESSOR. By Y V S Murthy Intel 8086 MICROPROCESSOR By Y V S Murthy 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14,

More information

ECE 331: N0. Professor Andrew Mason Michigan State University. Opening Remarks

ECE 331: N0. Professor Andrew Mason Michigan State University. Opening Remarks ECE 331: N0 ECE230 Review Professor Andrew Mason Michigan State University Spring 2013 1.1 Announcements Opening Remarks HW1 due next Mon Labs begin in week 4 No class next-next Mon MLK Day ECE230 Review

More information

DIGITAL SYSTEM DESIGN

DIGITAL SYSTEM DESIGN DIGITAL SYSTEM DESIGN UNIT I: Introduction to Number Systems and Boolean Algebra Digital and Analog Basic Concepts, Some history of Digital Systems-Introduction to number systems, Binary numbers, Number

More information

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603 203 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS YEAR / SEMESTER: II / III ACADEMIC YEAR: 2015-2016 (ODD

More information

Basic Arithmetic (adding and subtracting)

Basic Arithmetic (adding and subtracting) Basic Arithmetic (adding and subtracting) Digital logic to show add/subtract Boolean algebra abstraction of physical, analog circuit behavior 1 0 CPU components ALU logic circuits logic gates transistors

More information

UNIT 2 PROCESSORS ORGANIZATION CONT.

UNIT 2 PROCESSORS ORGANIZATION CONT. UNIT 2 PROCESSORS ORGANIZATION CONT. Types of Operand Addresses Numbers Integer/floating point Characters ASCII etc. Logical Data Bits or flags x86 Data Types Operands in 8 bit -Byte 16 bit- word 32 bit-

More information

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions 1. Convert the following SOP expression to an equivalent POS expression. 2. Determine the values of A, B, C, and D that make

More information

Combinational Circuits

Combinational Circuits Combinational Circuits Combinational circuit consists of an interconnection of logic gates They react to their inputs and produce their outputs by transforming binary information n input binary variables

More information

Digital Design Using Digilent FPGA Boards -- Verilog / Active-HDL Edition

Digital Design Using Digilent FPGA Boards -- Verilog / Active-HDL Edition Digital Design Using Digilent FPGA Boards -- Verilog / Active-HDL Edition Table of Contents 1. Introduction to Digital Logic 1 1.1 Background 1 1.2 Digital Logic 5 1.3 Verilog 8 2. Basic Logic Gates 9

More information

UNIT-III REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT

UNIT-III REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT UNIT-III 1 KNREDDY UNIT-III REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT Register Transfer: Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Micro operations Logic

More information

II/IV B.Tech (Regular/Supplementary) DEGREE EXAMINATION. Answer ONE question from each unit.

II/IV B.Tech (Regular/Supplementary) DEGREE EXAMINATION. Answer ONE question from each unit. Hall Ticket Number: 14CS IT303 November, 2017 Third Semester Time: Three Hours Answer Question No.1 compulsorily. II/IV B.Tech (Regular/Supplementary) DEGREE EXAMINATION Common for CSE & IT Digital Logic

More information

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram:

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: The CPU and Memory How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: 1 Registers A register is a permanent storage location within

More information

INTRODUCTION TO MICROPROCESSORS

INTRODUCTION TO MICROPROCESSORS INTRODUCTION TO MICROPROCESSORS Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu January 7, 2016 Richa Upadhyay Prabhu (MPSTME) INTRODUCTION January 7, 2016 1 / 63 Course Design Prerequisite:

More information

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April SET - 1 II B. Tech II Semester, Supplementary Examinations, April - 2012 SWITCHING THEORY AND LOGIC DESIGN (Electronics and Communications Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions

More information

Introduction to Microprocessor

Introduction to Microprocessor Introduction to Microprocessor The microprocessor is a general purpose programmable logic device. It is the brain of the computer and it performs all the computational tasks, calculations data processing

More information

Computer Logical Organization Tutorial

Computer Logical Organization Tutorial Computer Logical Organization Tutorial COMPUTER LOGICAL ORGANIZATION TUTORIAL Simply Easy Learning by tutorialspoint.com tutorialspoint.com i ABOUT THE TUTORIAL Computer Logical Organization Tutorial Computer

More information

Reference Sheet for C112 Hardware

Reference Sheet for C112 Hardware Reference Sheet for C112 Hardware 1 Boolean Algebra, Gates and Circuits Autumn 2016 Basic Operators Precedence : (strongest),, + (weakest). AND A B R 0 0 0 0 1 0 1 0 0 1 1 1 OR + A B R 0 0 0 0 1 1 1 0

More information

Code No: R Set No. 1

Code No: R Set No. 1 Code No: R059210504 Set No. 1 II B.Tech I Semester Regular Examinations, November 2006 DIGITAL LOGIC DESIGN ( Common to Computer Science & Engineering, Information Technology and Computer Science & Systems

More information

Section 001. Read this before starting!

Section 001. Read this before starting! Points missed: Student's Name: Total score: / points East Tennessee State University Department of Computer and Information Sciences CSCI 25 (Tarnoff) Computer Organization TEST 2 for Fall Semester, 25

More information

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud. Chapter 1 Microprocessor architecture ECE 3130 Dr. Mohamed Mahmoud The slides are copyright protected. It is not permissible to use them without a permission from Dr Mahmoud http://www.cae.tntech.edu/~mmahmoud/

More information

8086 INTERNAL ARCHITECTURE

8086 INTERNAL ARCHITECTURE 8086 INTERNAL ARCHITECTURE Segment 2 Intel 8086 Microprocessor The 8086 CPU is divided into two independent functional parts: a) The Bus interface unit (BIU) b) Execution Unit (EU) Dividing the work between

More information

Question Bank Microprocessor and Microcontroller

Question Bank Microprocessor and Microcontroller QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to

More information

Chapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware

More information

Computer Architecture

Computer Architecture Computer Architecture Lecture 1: Digital logic circuits The digital computer is a digital system that performs various computational tasks. Digital computers use the binary number system, which has two

More information

Read this before starting!

Read this before starting! Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 3 for Fall Semester,

More information

9/25/ Software & Hardware Architecture

9/25/ Software & Hardware Architecture 8086 Software & Hardware Architecture 1 INTRODUCTION It is a multipurpose programmable clock drive register based integrated electronic device, that reads binary instructions from a storage device called

More information

DLD VIDYA SAGAR P. potharajuvidyasagar.wordpress.com. Vignana Bharathi Institute of Technology UNIT 3 DLD P VIDYA SAGAR

DLD VIDYA SAGAR P. potharajuvidyasagar.wordpress.com. Vignana Bharathi Institute of Technology UNIT 3 DLD P VIDYA SAGAR DLD UNIT III Combinational Circuits (CC), Analysis procedure, Design Procedure, Combinational circuit for different code converters and other problems, Binary Adder- Subtractor, Decimal Adder, Binary Multiplier,

More information

Dec Hex Bin ORG ; ZERO. Introduction To Computing

Dec Hex Bin ORG ; ZERO. Introduction To Computing Dec Hex Bin 0 0 00000000 ORG ; ZERO Introduction To Computing OBJECTIVES this chapter enables the student to: Convert any number from base 2, base 10, or base 16 to any of the other two bases. Add and

More information

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016 CS 31: Intro to Systems Digital Logic Kevin Webb Swarthmore College February 2, 2016 Reading Quiz Today Hardware basics Machine memory models Digital signals Logic gates Circuits: Borrow some paper if

More information

CS 24: INTRODUCTION TO. Spring 2015 Lecture 2 COMPUTING SYSTEMS

CS 24: INTRODUCTION TO. Spring 2015 Lecture 2 COMPUTING SYSTEMS CS 24: INTRODUCTION TO Spring 2015 Lecture 2 COMPUTING SYSTEMS LAST TIME! Began exploring the concepts behind a simple programmable computer! Construct the computer using Boolean values (a.k.a. bits )

More information

Code No: 07A3EC03 Set No. 1

Code No: 07A3EC03 Set No. 1 Code No: 07A3EC03 Set No. 1 II B.Tech I Semester Regular Examinations, November 2008 SWITCHING THEORY AND LOGIC DESIGN ( Common to Electrical & Electronic Engineering, Electronics & Instrumentation Engineering,

More information

MGU-BCA-205- Second Sem- Core VI- Fundamentals of Digital Systems- MCQ s. 2. Why the decimal number system is also called as positional number system?

MGU-BCA-205- Second Sem- Core VI- Fundamentals of Digital Systems- MCQ s. 2. Why the decimal number system is also called as positional number system? MGU-BCA-205- Second Sem- Core VI- Fundamentals of Digital Systems- MCQ s Unit-1 Number Systems 1. What does a decimal number represents? A. Quality B. Quantity C. Position D. None of the above 2. Why the

More information

Intel 8086 MICROPROCESSOR ARCHITECTURE

Intel 8086 MICROPROCESSOR ARCHITECTURE Intel 8086 MICROPROCESSOR ARCHITECTURE 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14, 16

More information

Arab Open University. Computer Organization and Architecture - T103

Arab Open University. Computer Organization and Architecture - T103 Arab Open University Computer Organization and Architecture - T103 Reference Book: Linda Null, Julia Lobur, The essentials of Computer Organization and Architecture, Jones & Bartlett, Third Edition, 2012.

More information

This tutorial gives a complete understanding on Computer Logical Organization starting from basic computer overview till its advanced architecture.

This tutorial gives a complete understanding on Computer Logical Organization starting from basic computer overview till its advanced architecture. About the Tutorial Computer Logical Organization refers to the level of abstraction above the digital logic level, but below the operating system level. At this level, the major components are functional

More information

CHAPTER - 2 : DESIGN OF ARITHMETIC CIRCUITS

CHAPTER - 2 : DESIGN OF ARITHMETIC CIRCUITS Contents i SYLLABUS osmania university UNIT - I CHAPTER - 1 : BASIC VERILOG HDL Introduction to HDLs, Overview of Digital Design With Verilog HDL, Basic Concepts, Data Types, System Tasks and Compiler

More information

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra Binary Representation Computer Systems Information is represented as a sequence of binary digits: Bits What the actual bits represent depends on the context: Seminar 3 Numerical value (integer, floating

More information

Microcomputers. Outline. Number Systems and Digital Logic Review

Microcomputers. Outline. Number Systems and Digital Logic Review Microcomputers Number Systems and Digital Logic Review Lecture 1-1 Outline Number systems and formats Common number systems Base Conversion Integer representation Signed integer representation Binary coded

More information

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 Data representation: (CHAPTER-3) 1. Discuss in brief about Data types, (8marks)

More information

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015

CS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015 CS 31: Intro to Systems Digital Logic Kevin Webb Swarthmore College February 3, 2015 Reading Quiz Today Hardware basics Machine memory models Digital signals Logic gates Circuits: Borrow some paper if

More information

CHAPTER 6 ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS

CHAPTER 6 ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS CHAPTER 6 ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS Addition of Unsigned Numbers The instruction ADD is used to add two operands Destination operand is always in register A Source operand can be a register,

More information

Computer Organisation CS303

Computer Organisation CS303 Computer Organisation CS303 Module Period Assignments 1 Day 1 to Day 6 1. Write a program to evaluate the arithmetic statement: X=(A-B + C * (D * E-F))/G + H*K a. Using a general register computer with

More information

Code No: R Set No. 1

Code No: R Set No. 1 Code No: R059210504 Set No. 1 II B.Tech I Semester Regular Examinations, November 2007 DIGITAL LOGIC DESIGN ( Common to Computer Science & Engineering, Information Technology and Computer Science & Systems

More information

Boolean Analysis of Logic Circuits

Boolean Analysis of Logic Circuits Course: B.Sc. Applied Physical Science (Computer Science) Year & Sem.: IInd Year, Sem - IIIrd Subject: Computer Science Paper No.: IX Paper Title: Computer System Architecture Lecture No.: 7 Lecture Title:

More information

Chapter 2. Boolean Expressions:

Chapter 2. Boolean Expressions: Chapter 2 Boolean Expressions: A Boolean expression or a function is an expression which consists of binary variables joined by the Boolean connectives AND and OR along with NOT operation. Any Boolean

More information

SAE5C Computer Organization and Architecture. Unit : I - V

SAE5C Computer Organization and Architecture. Unit : I - V SAE5C Computer Organization and Architecture Unit : I - V UNIT-I Evolution of Pentium and Power PC Evolution of Computer Components functions Interconnection Bus Basics of PCI Memory:Characteristics,Hierarchy

More information

User. Application program. Interfaces. Operating system. Hardware

User. Application program. Interfaces. Operating system. Hardware Operating Systems Introduction to Operating Systems and Computer Hardware Introduction and Overview The operating system is a set of system software routines that interface between an application program

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 22 121115 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Binary Number Representation Binary Arithmetic Combinatorial Logic

More information

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system. Assignment No. 1 1. State advantages of digital system over analog system. 2. Convert following numbers a. (138.56) 10 = (?) 2 = (?) 8 = (?) 16 b. (1110011.011) 2 = (?) 10 = (?) 8 = (?) 16 c. (3004.06)

More information

Agenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010

Agenda EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 1: Introduction. Go over the syllabus 3/31/2010 // EE : INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN Lecture : Introduction /9/ Avinash Kodi, kodi@ohio.edu Agenda Go over the syllabus Introduction ti to Digital it Systems // Why Digital Systems?

More information

Digital System Design with SystemVerilog

Digital System Design with SystemVerilog Digital System Design with SystemVerilog Mark Zwolinski AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo

More information

LECTURE 4. Logic Design

LECTURE 4. Logic Design LECTURE 4 Logic Design LOGIC DESIGN The language of the machine is binary that is, sequences of 1 s and 0 s. But why? At the hardware level, computers are streams of signals. These signals only have two

More information

Objectives: 1. Design procedure. 2. Fundamental circuits. 1. Design procedure

Objectives: 1. Design procedure. 2. Fundamental circuits. 1. Design procedure Objectives: 1. Design procedure. 2. undamental circuits. 1. Design procedure Design procedure has five steps: o Specification. o ormulation. o Optimization. o Technology mapping. o Verification. Specification:

More information

Scheme G. Sample Test Paper-I

Scheme G. Sample Test Paper-I Sample Test Paper-I Marks : 25 Times:1 Hour 1. All questions are compulsory. 2. Illustrate your answers with neat sketches wherever necessary. 3. Figures to the right indicate full marks. 4. Assume suitable

More information

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт.

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт. SECOND шт. Assembly and С Programming forthefreescalehcs12 Microcontroller Fredrick M. Cady Department of Electrical and Computer Engineering Montana State University New York Oxford Oxford University

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203 DEPARTMENT OF INFORMATION TECHNOLOGY & COMPUTER SCIENCE AND ENGINEERING QUESTION BANK II SEMESTER CS6201- DIGITAL PRINCIPLE AND SYSTEM DESIGN

More information

8051 Overview and Instruction Set

8051 Overview and Instruction Set 8051 Overview and Instruction Set Curtis A. Nelson Engr 355 1 Microprocessors vs. Microcontrollers Microprocessors are single-chip CPUs used in microcomputers Microcontrollers and microprocessors are different

More information

CS8803: Advanced Digital Design for Embedded Hardware

CS8803: Advanced Digital Design for Embedded Hardware CS883: Advanced Digital Design for Embedded Hardware Lecture 2: Boolean Algebra, Gate Network, and Combinational Blocks Instructor: Sung Kyu Lim (limsk@ece.gatech.edu) Website: http://users.ece.gatech.edu/limsk/course/cs883

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

Read this before starting!

Read this before starting! Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 1 for Spring Semester,

More information

CS 261 Fall Binary Information (convert to hex) Mike Lam, Professor

CS 261 Fall Binary Information (convert to hex) Mike Lam, Professor CS 261 Fall 2018 Mike Lam, Professor 3735928559 (convert to hex) Binary Information Binary information Topics Base conversions (bin/dec/hex) Data sizes Byte ordering Character and program encodings Bitwise

More information

Computer Organization and Programming

Computer Organization and Programming Sep 2006 Prof. Antônio Augusto Fröhlich (http://www.lisha.ufsc.br) 8 Computer Organization and Programming Prof. Dr. Antônio Augusto Fröhlich guto@lisha.ufsc.br http://www.lisha.ufsc.br/~guto Sep 2006

More information

NOTIFICATION (Advt No. 1/2018) Syllabus (Paper III)

NOTIFICATION (Advt No. 1/2018) Syllabus (Paper III) NOTIFICATION (Advt No. 1/2018) Syllabus (Paper III) Post Code - 302 Area: Instrumentation COMPUTER PROGRAMMING AND APPLICATION 1. OVERVIEW OF PROGRAMMING: Steps in program development, problem identification,

More information

ENE 334 Microprocessors

ENE 334 Microprocessors Page 1 ENE 334 Microprocessors Lecture 10: MCS-51: Logical and Arithmetic : Dejwoot KHAWPARISUTH http://webstaff.kmutt.ac.th/~dejwoot.kha/ ENE 334 MCS-51 Logical & Arithmetic Page 2 Logical: Objectives

More information

Chapter Three. Digital Components

Chapter Three. Digital Components Chapter Three 3.1. Combinational Circuit A combinational circuit is a connected arrangement of logic gates with a set of inputs and outputs. The binary values of the outputs are a function of the binary

More information

R10. II B. Tech I Semester, Supplementary Examinations, May

R10. II B. Tech I Semester, Supplementary Examinations, May SET - 1 1. a) Convert the following decimal numbers into an equivalent binary numbers. i) 53.625 ii) 4097.188 iii) 167 iv) 0.4475 b) Add the following numbers using 2 s complement method. i) -48 and +31

More information

IT 201 Digital System Design Module II Notes

IT 201 Digital System Design Module II Notes IT 201 Digital System Design Module II Notes BOOLEAN OPERATIONS AND EXPRESSIONS Variable, complement, and literal are terms used in Boolean algebra. A variable is a symbol used to represent a logical quantity.

More information

DIGITAL ELECTRONICS. P41l 3 HOURS

DIGITAL ELECTRONICS. P41l 3 HOURS UNIVERSITY OF SWAZILAND FACUL TY OF SCIENCE AND ENGINEERING DEPARTMENT OF PHYSICS MAIN EXAMINATION 2015/16 TITLE OF PAPER: COURSE NUMBER: TIME ALLOWED: INSTRUCTIONS: DIGITAL ELECTRONICS P41l 3 HOURS ANSWER

More information

EEM336 Microprocessors I. Arithmetic and Logic Instructions

EEM336 Microprocessors I. Arithmetic and Logic Instructions EEM336 Microprocessors I Arithmetic and Logic Instructions Introduction We examine the arithmetic and logic instructions. The arithmetic instructions include addition, subtraction, multiplication, division,

More information

KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COMPUTER ENGINEERING DEPARTMENT

KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COMPUTER ENGINEERING DEPARTMENT KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COMPUTER ENGINEERING DEPARTMENT COE 202: Digital Logic Design Term 162 (Spring 2017) Instructor: Dr. Abdulaziz Barnawi Class time: U.T.R.: 11:00-11:50AM Class

More information