Working with bit patterns By John Miner. Integrated Circuits In todays manufacturing environment, production lines are automated with robotics and sensors.

Slides:



Advertisements
Similar presentations
Abdullah Said Alkalbani University of Buraimi
Advertisements

Register Transfer and Microoperations Part2
Principles & Applications
8 October 2013Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
15 October 2013Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
A Simple ALU Binary Logic.
Źródło:
Denny Cherry Manager of Information Systems MVP, MCSA, MCDBA, MCTS, MCITP.
Truth Tables & Logic Expressions
Virtual Memory Why? The need of memory more than the available physical memory. Process 3 Physical Memory Process 2 Process 1 Process 4.
Binary Lesson 3 Hexadecimal. Counting to 15 Base Base Base 16 Base Base Base 16 Two Ten (Hex) Two Ten (Hex)
Binary Lesson 3 Hexadecimal. Counting to 15 Base Base Base 16 Base Base Base 16 Two Ten (Hex) Two Ten (Hex)
The Analytical Engine Module 6 Program Translation.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Designing Custom Maintenance Plans with TSQL By John Miner.
2.1 2 Number Systems Foundations of Computer Science  Cengage Learning.
4 Operations On Data Foundations of Computer Science ã Cengage Learning.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
1 Programming in Machine Language SCSC 311 Spring 2011.
Lecture 1 Binary Representation Topics Terminology Base 10, Hex, binary Fractions Base-r to decimal Unsigned Integers Signed magnitude Two’s complement.
Number Systems What is the Standard Base we
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
1 CPRE210: Introduction to Digital Design Instructor –Arun K. Somani –Tel: – –Office Hours: MWF 10:00-11:00 Teaching Assistant.
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
Chapter 2 Data Representation.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Working with 8-bit bytes and hexadecimal
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
Data Representation Bits, Bytes, Binary, Hexadecimal.
Internal Components of a Computer Week 2 The Bus Main Memory Processor.
C omputing Making binary relevant to programming An education collaboration: Langley Grammar School.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Data Manipulation, part two Introduction to computer, 2 nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
Computer Systems – Machine & Assembly code. Objectives Machine Code Assembly Language Op-code Operand Instruction Set.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
1 Digital Logic Design Engr. Kashif Shahzad. 2 What’s Course About?  Digital logic, focusing on the design of computers  Stay above transistor level.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
Becoming Certified in Microsoft SQL Server. About Me Chris Hyde Senior Consultant with Leidos Health (formerly SAIC) MCSA – SQL Server 2008, MCITP 14+
STARTER – CRACK THE CODE
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Binary & Hex Review.
Lecturer: Santokh Singh
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Binary, Denary, Hexadecimal Conversion Binary Addition
What is a byte? What is it? How would you use it?
Combinational Logic Circuits
EPSII 59:006 Spring 2004.
Bits and Bytes Hex Digit Bit Pattern
Help! Tell me about Computer Data!
Computer Organization and Design
Data Representation – Numbers
Binary Lesson 3 Hexadecimal
Data Binary Conversion.
October 24 Programming problems? Read Section 6.1 for November 5
Summit Nashville /3/2019 1:48 AM
Staging Data for Azure SQL Services
Hexadecimal.
Module 10 Operations on Bits
Binary Numbers Material on Data Representation can be found in Chapter 2 of Computer Architecture (Nicholas Carter) CSIT 301 (Blum)
Binary & Hex Review.
Electronic Memory.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Logical and Arithmetic Shifts.
CS 111 – Sept. 16 Machine language examples Instruction execution
Dr. Clincy Professor of CS
Presentation transcript:

Working with bit patterns By John Miner

Integrated Circuits In todays manufacturing environment, production lines are automated with robotics and sensors. Many of these low end microprocessors and/or integrated circuits are designed for specific tasks such as temperature and pressure control. This presentation will review how to store the memory buffer in a table and use a view to interpret the results.

Covered Topics 1.Using the VARBINARY data type to store the bit pattern. 2.Storing a version number just in-case the decode changes. 3.Breaking the pattern into registers and nibbles. 4.Left shifting of the bits. 5.Right shifting of the bits. 6.Combining bits from two registers. 7.Putting it all together with a view.

Using VARBINARY field I defined a table with following attributes. Serial Number as primary key. Test Time for the part. Version number of the I.C. Register to store binary data. Modified by to see who did it? Modified date to see when done.

Break into smaller parts Every 4 bytes is an integer Most I.C. consider this a register Every byte is a hex nibble Decode the hex

Review of Hexadecimal 0000 = = = = = = = = = = = A1011 = B 1100 = C1101 = D 1110 = E1111 = F

AND, OR, Shift AND – if both bits 1 then 1 else 0 OR – if both bits 0, then 0 else 1 LEFT SHIFT – multiple by 2 for each bit RIGHT SHIFT – divide by 2 for each bit

Crafting The Solution Current example has 2 registers This is 16 bits Decode into registers Decode into fields Use view to put it together

Biography Has twenty years of data processing and proven project management experience, specializing in the banking, health care, and government areas. His credentials include a Masters degree in Computer Science from the University of Rhode Island; and Microsoft Certificates (MCDBA & MCSA). John is currently a Developing DBA at Sensata working with SQL Server 2008 silo of products. When he is not busy working, he spends time with his wife, daughter and dog enjoying outdoor activities

Questions & Answers References –SQL Server Books Online - Please ask about the presentation. If you have any questions, you can contact me at