download

Matakuliah
Tahun
Versi
: H0344/Organisasi dan Arsitektur Komputer
: 2005
: 1/1
Pertemuan 4
Computer Arithmetic
1
Learning Outcomes
Pada akhir pertemuan ini, diharapkan mahasiswa
akan mampu :
• Menghubungkan konsep dasar computer
arithmetic untuk menyelesaikan suatu
perhitungan bilangan integer maupun
bilangan floating point
2
Outline Materi
•
•
•
•
•
Arithmetic and Logic Unit
Integer Representation
Integer Arithmetic
Floating Point Representation
Floating Point Aritmetic
3
Integer Representation
• Sign-Magnitude Representation
• Twos Complements Representation
• Converting between Different Bit Lengths
4
Integer Arithmetic
• Negation
• Addition and Subtraction
• Multiplication
• Division
5
Floating-Point Representation
6
Integer Arithmetic
• Addition and Subtraction
• Multiplication and Division
• Precision Considerations
7