EE2003: Computer Organization
Lecture 14
Review of previous lecture
2
Discussed number representations
Looked at 2s complement
Review Sol to Exercise
2s complement representation of -32 in the
smallest number of bits is 100000
Recall that 1100000 is also

Computer Organisation - Tutorial 5
1. Consider a variation of the carry lookahead adder used in ARM2. Assume that the carry C8 may be found
in more than one way. In particular, write C8 in terms of only input carry (i) C4 (ii) C2 and (iii) C0 . Assume
tha

Computer Organisation - Tutorial 3
1. Consider the following statements in C. Assume that the variables g, h, i and j are given and could be considered
32-bit integers as declared in a C program.
(a) f = g + h + i + j (b) f = g + (h + 5);
For the statemen

EE2003: Computer Organization
Lecture 18
Review
2
We have so far discussed performance, ARM
instruction set, floating point format, IEEE
standard etc.
Will now discuss arithmetic for computers
Arithmetic Units
3
Adders
Multipliers
Adders
4
ARM processors

Computer Organisation - Tutorial 4
1. Consider the oating point representation. Let us assume we have 3-bit sign-magnitude representation for the
mantissa (M ) and the exponent (E). That is, M and E can assume the values of 0, 1, 2, 3. What is the
represe

Computer Organisation - Tutorial 2
1. Suppose we are considering an enhancement that runs 10 times faster than the original machine but is usable
only 40 % of the time. What is the overall speedup gained by incorporating the enhancement (using Amdahls
law

Computer Organisation - Tutorial 1
1. Consider computing the electric eld in a box 1.5 cm on a side. The spatial resolution in each dimension is
50 m. Assume that it takes 150 oating-point instructions for every point in the 3-D grid to do the calculation

William Stallings
Computer Organization
and Architecture
8th Edition
Chapter 12
Processor Structure and Function
CPU Structure
CPU must:
Fetch instructions
Interpret instructions
Fetch data
Process data
Write data
CPU With Systems Bus
CPU Internal Struct

EE2003: Computer Organization
Lecture 22
Review of previous lecture
2
Discussed basic multiplier design based on
the Patterson and Hennessy approach of
examining the area requirement for
multiplicand register, multiplier register and
ALU
Discussed also ex

EE2003: Computer Organization
Lecture 17
Review of previous lecture
2
Fixed Point Format
Floating Point Format
Standard for floating point
In the 1970s and earlier, each computer
manufacturer had a way of representing and
handling floating point numbers

EE2003: Computer Organization
Lecture 15
Review of previous lecture
2
Discussed instruction format in ARM
Discussed basic addressing modes in ARM
More addressing modes
3
Basic addressing modes present in many
other microprocessors are also present in
ARM

EE2003: Computer Organization
Lecture 13
Review of previous lecture
2
Discussed instructions and assembler
directives
Also examined simple programs with
assembler directives and ARM instructions
How are numbers handled in ARM ?
We have discussed about imm

EE2003: Computer Organization
Lecture 19
Review
2
We have so far discussed one-bit adder
configurations and basics of the ripple carry
adder (employed in ARM 1)
We have also discussed some aspects of a
low-delay adder, namely the carry lookahead adder (em