1. The document discusses various ways that computers represent integers and floating point numbers for processing, including unsigned, sign magnitude, one's complement, two's complement, and biased representations for integers. It also discusses the typical components of the floating point format including the sign, exponent, and significand.
2. Key aspects of arithmetic operations like addition, subtraction, multiplication, and division are described for different number representations. The two's complement system is highlighted as the most common approach used in computers due to its simplicity.
3. Standards like IEEE 754 are covered which define floating point standards to help ensure portability of numeric programs across systems.
This slide contain the description about the various technique related to parallel Processing(vector Processing and array processor), Arithmetic pipeline, Instruction Pipeline, SIMD processor, Attached array processor
This slide contain the description about the various technique related to parallel Processing(vector Processing and array processor), Arithmetic pipeline, Instruction Pipeline, SIMD processor, Attached array processor
Computer arithmetics (computer organisation & arithmetics) pptSuryaKumarSahani
This is a presentation of explanation of various computer arithmetic including Binary addition, subtraction, multiplication and division. Also Floating point addition, subtraction, multiplication, and division operations.
$This unit handles all transfer of data and addresses on the buses for the EU(execution unit).
$Segment register
$Instruction queue
$Instruction pointer
Computer arithmetics (computer organisation & arithmetics) pptSuryaKumarSahani
This is a presentation of explanation of various computer arithmetic including Binary addition, subtraction, multiplication and division. Also Floating point addition, subtraction, multiplication, and division operations.
$This unit handles all transfer of data and addresses on the buses for the EU(execution unit).
$Segment register
$Instruction queue
$Instruction pointer
An arithmetic logic unit (ALU) is a digital electronic circuit that performs arithmetic and bitwise logical operations on integer binary numbers.
This is in contrast to a floating-point unit (FPU), which operates on floating point numbers. It is a fundamental building block of many types of computing circuits, including the central processing unit (CPU) of computers, FPUs, and graphics processing units.
A single CPU, FPU or GPU may contain multiple ALUs
History Of ALU:Mathematician John von Neumann proposed the ALU concept in 1945 in a report on the foundations for a new computer called the EDVAC(Electronic Discrete Variable Automatic Computer
Typical Schematic Symbol of an ALU:A and B: the inputs to the ALU
R: Output or Result
F: Code or Instruction from the
Control Unit
D: Output status; it indicates cases
Circuit operation:An ALU is a combinational logic circuit
Its outputs will change asynchronously in response to input changes
The external circuitry connected to the ALU is responsible for ensuring the stability of ALU input signals throughout the operation
In computing, an arithmetic logic unit (ALU) is a digital circuit that performs arithmetic and logical operations. The ALU is a fundamental building block of the central processing unit (CPU) of a computer, and even the simplest microprocessors contain one for purposes such as maintaining timers. The processors found inside modern CPUs and graphics processing units (GPUs) accommodate very powerful and very complex ALUs; a single component may contain a number of ALUs.
Computer Architecture – An IntroductionDilum Bandara
Overview on high-level design of internal components of a computer. Cover step-by-step execution of a program through ALU while accessing & updating registers
How to Open a Computer Repair Shop: 8 Steps to Build Your Client List [Slides]SP Home Run Inc.
Are you in the process of opening a computer repair shop? Check out these slides that introduce you to 8+ low-cost ways to build your client list, as you learn how to open a computer repair shop. Don't miss this must-see, make or break info for new startups. Copyright (C) SP Home Run Inc.
index of all of the financial accounts in a company's general ledger. In shor...mayurjagdale4
index of all of the financial accounts in a company's general ledger. In short, it is an organizational tool that lists by category and line item all of the financial transactions that a company conducted during a specific accounting period
Computer Architecture refers to those attributes of a system that have a dire...mayurjagdale4
Computer Architecture refers to those attributes of a system that have a direct impact on
the logical execution of a program. Examples:
o the instruction set
o the number of bits used to represent various data types
o I/O mechanisms
o memory addressing techniques
The binary number system and digital codes are fundamental to computers and to digital electronics in general. You will learn Binary addition, subtraction, multiplication, and Division.
Inductive programming incorporates all approaches which are concerned with learning programs or algorithms from incomplete (formal) specifications. Possible inputs in an IP system are a set of training inputs and corresponding outputs or an output evaluation function, describing the desired behavior of the intended program, traces or action sequences which describe the process of calculating specific outputs, constraints for the program to be induced concerning its time efficiency or its complexity, various kinds of background knowledge such as standard data types, predefined functions to be used, program schemes or templates describing the data flow of the intended program, heuristics for guiding the search for a solution or other biases.
Output of an IP system is a program in some arbitrary programming language containing conditionals and loop or recursive control structures, or any other kind of Turing-complete representation language.
In many applications the output program must be correct with respect to the examples and partial specification, and this leads to the consideration of inductive programming as a special area inside automatic programming or program synthesis, usually opposed to 'deductive' program synthesis, where the specification is usually complete.
In other cases, inductive programming is seen as a more general area where any declarative programming or representation language can be used and we may even have some degree of error in the examples, as in general machine learning, the more specific area of structure mining or the area of symbolic artificial intelligence. A distinctive feature is the number of examples or partial specification needed. Typically, inductive programming techniques can learn from just a few examples.
The diversity of inductive programming usually comes from the applications and the languages that are used: apart from logic programming and functional programming, other programming paradigms and representation languages have been used or suggested in inductive programming, such as functional logic programming, constraint
programming, probabilistic programming
Research on the inductive synthesis of recursive functional programs started in the early 1970s and was brought onto firm theoretical foundations with the seminal THESIS system of Summers[6] and work of Biermann.[7] These approaches were split into two phases: first, input-output examples are transformed into non-recursive programs (traces) using a small set of basic operators; second, regularities in the traces are searched for and used to fold them into a recursive program. The main results until the mid 1980s are surveyed by Smith.[8] Due to
Similar to Csc1401 lecture03 - computer arithmetic - arithmetic and logic unit (alu) (20)
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
4. Arithmetic & Logic Unit (ALU)
• Part of the computer that actually performs
arithmetic and logical operations on data
• All of the other elements of the computer
system are there mainly to bring data into the
ALU for it to process and then to take the
results back out
• Based on the use of simple digital logic devices
that can store binary digits and perform simple
Boolean logic operations
6. Integer Representations
• In the binary number system arbitrary
numbers can be represented with:
– The digits zero and one
– The minus sign (for negative numbers)
– The period, or radix point (for numbers with a
fractional component)
– For purposes of computer storage and processing we do not have the
benefit of special symbols for the minus sign and radix point
– Only binary digits (0,1) may be used to represent numbers
7. Integer Representations
• There are 4 commonly known (1 not common)
integer representations.
• All have been used at various times for various
reasons.
1. Unsigned
2. Sign Magnitude
3. One’s Complement
4. Two’s Complement
5. Biased (not commonly known)
8. 1. Unsigned
• The standard binary encoding already given.
• Only positive value.
• Range: 0 to ((2 to the power of N bits) – 1)
• Example: 4 bits; (2ˆ4)-1 = 16-1 = values 0 to 15
Semester II 2014/2015 8
10. 2. Sign-Magnitude
There are several alternative
conventions used to represent
negative as well as positive integers
Sign-magnitude representation is
the simplest form that employs a
sign bit
Drawbacks:
Because of these drawbacks, sign-
magnitude representation is rarely
used in implementing the integer
portion of the ALU
• All of these alternatives involve treating the
most significant (leftmost) bit in the word as
a sign bit
• If the sign bit is 0 the number is positive
• If the sign bit is 1 the number is negative
• Addition and subtraction require a
consideration of both the signs of the
numbers and their relative magnitudes to
carry out the required operation
• There are two representations of 0
11. 2. Sign-Magnitude (Cont’d.)
• It is a human readable way of getting both
positive and negative integers.
• The hardware that does arithmetic on sign
magnitude integers.
• Not fast.
2-11
12. 2. Sign-Magnitude (Cont’d.)
• Left most bit is sign bit
• 0 means positive
• 1 means negative
• +18 = 00010010
• -18 = 10010010
2-12
13. 3. One’s Complement
• Used to get two’s complement integers.
• Nowadays, it is not being applied to any of the
machines.
• Stated in this slide for historical purpose.
Semester II 2014/2015 13
14. 4. Two’s Complement
• Uses the most significant bit as a sign bit
• Differs from sign-magnitude representation in the way that the other
bits are interpreted
Table 10.1 Characteristics of Twos Complement Representation and Arithmetic
15. 5. Biased
• an integer representation that skews the bit
patterns so as to look just like unsigned but
actually represent negative numbers.
Semester II 2014/2015 15
17. Range Extension
– Range of numbers that can be expressed is extended by
increasing the bit length
– In sign-magnitude notation this is accomplished by moving
the sign bit to the new leftmost position and fill in with
zeros
– This procedure will not work for twos complement
negative integers
– Rule is to move the sign bit to the new leftmost position and
fill in with copies of the sign bit
– For positive numbers, fill in with zeros, and for negative
numbers, fill in with ones
– This is called sign extension
19. Negation
• Twos complement operation
– Take the Boolean complement of each bit of the
integer (including the sign bit)
– Treating the result as an unsigned binary integer, add 1
– The negative of the negative of that number is itself:
+18 = 00010010 (twos complement)
bitwise complement = 11101101
+ 1
11101110 = -18
-18 = 11101110 (twos complement)
bitwise complement = 00010001
+ 1
00010010 = +18
20. Negation Special Case 1
0 = 00000000 (twos complement)
Bitwise complement = 11111111
Add 1 to LSB + 1
Result 100000000
Overflow is ignored, so:
- 0 = 0
21. Negation Special Case 2
-128 = 10000000 (twos complement)
Bitwise complement = 01111111
Add 1 to LSB + 1
Result 10000000
So:
-(-128) = -128 X
Monitor MSB (sign bit)
It should change during negation
22. OVERFLOW RULE:
If two numbers are added,
and they are both positive or
both negative, then overflow
occurs if and only if the
result has the opposite sign.
24. SUBTRACTION RULE:
To subtract one number
(subtrahend) from another
(minuend), take the twos
complement (negation) of
the subtrahend and add it
to the minuend.
37. +
Floating-Point Representation
• With a fixed-point notation it is possible to
represent a range of positive and negative integers
centered on or near 0
• By assuming a fixed binary or radix point, this
format allows the representation of numbers with a
fractional component as well
• Limitations:
– Very large numbers cannot be represented nor can very
small fractions
– The fractional part of the quotient in a division of two
large numbers could be lost
Principles
39. +
Floating-Point
• The final portion of the word
• Any floating-point number can be expressed in
many ways
• Normal number
– The most significant digit of the significand is
nonzero
Significand
The following are equivalent, where the significand is expressed in
binary form:
0.110 * 25
110 * 22
0.0110 * 26
40. IEEE Standard 754
Most important floating-point
representation is defined
Standard was developed to
facilitate the portability of
programs from one processor
to another and to encourage
the development of
sophisticated, numerically
oriented programs
Standard has been widely
adopted and is used on
virtually all contemporary
processors and arithmetic
coprocessors
IEEE 754-2008 covers both
binary and decimal floating-
point representations