Courses

PPT - Computer Arithmetic Computer Science Engineering (CSE) Notes | EduRev

Computer Science Engineering (CSE) : PPT - Computer Arithmetic Computer Science Engineering (CSE) Notes | EduRev

``` Page 1

Computer Arithmetic
Page 2

Computer Arithmetic
Arithmetic & Logic Unit
 Does the calculations
 Everything else in the computer is there
to service this unit
 Handles integers
 May handle floating point (real) numbers
 May be separate FPU (maths co-
processor)
 May be on chip separate FPU (486DX +)
Page 3

Computer Arithmetic
Arithmetic & Logic Unit
 Does the calculations
 Everything else in the computer is there
to service this unit
 Handles integers
 May handle floating point (real) numbers
 May be separate FPU (maths co-
processor)
 May be on chip separate FPU (486DX +)
ALU Inputs and Outputs
Page 4

Computer Arithmetic
Arithmetic & Logic Unit
 Does the calculations
 Everything else in the computer is there
to service this unit
 Handles integers
 May handle floating point (real) numbers
 May be separate FPU (maths co-
processor)
 May be on chip separate FPU (486DX +)
ALU Inputs and Outputs Integer Representation
 Only have 0 & 1 to represent everything
 Positive numbers stored in binary
â€”e.g. 41=00101001
 No minus sign
 No period
 Sign-Magnitude
 Twoâ€™s compliment
Page 5

Computer Arithmetic
Arithmetic & Logic Unit
 Does the calculations
 Everything else in the computer is there
to service this unit
 Handles integers
 May handle floating point (real) numbers
 May be separate FPU (maths co-
processor)
 May be on chip separate FPU (486DX +)
ALU Inputs and Outputs Integer Representation
 Only have 0 & 1 to represent everything
 Positive numbers stored in binary
â€”e.g. 41=00101001
 No minus sign
 No period
 Sign-Magnitude
 Twoâ€™s compliment
Sign-Magnitude
 Left most bit is sign bit
 0 means positive
 1 means negative
 +18 = 00010010
 -18 = 10010010
 Problems
â€”Need to consider both sign and magnitude in
arithmetic
â€”Two representations of zero (+0 and -0)
```
Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!

Computer Architecture and Organisation (CAO) - Notes & all

66 videos|72 docs|39 tests

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

;