Organisasi dan Arsitektur Komputer Ajeng Savitri Puspaningrum, M.Kom Pertemuan 10
Arithmetic and Logic Unit
Learning about ALU Learning computer arithmetic
Arithmetic & Logic Unit Does the calculations Everything else in the computer is there to service this unit Using a simple digital logic device that can store binary and boolean operations. Handles integers May handle floating point (real) numbers
ALU Inputs and Outputs
Kind of Computer Arithmetic Computer Arithmetic Binary Decimal Integer Floating Point
Numbering System Binary : 0 and 1 Octal : 0, 1, 2, 3, 4, 5, 6, 7 Decimal : 0 - 9 Hexadecimal : 1, 2, 3, . . ., 9, A, B, C, D, E and F
The Binary Numbering System The most fundamental numbering system in all digital and computer based systems and binary numbers follow the same set of rules as the decimal numbering system . Digital logic and computer systems use just two values or states to represent a condition, a logic level “1” or a logic level “0”, and each “0” and “1” is considered to be a single digit in a Base-of-2 (bi) or “binary numbering system ”.
The Octal Numbering System Octal numbers therefore have a range of just “8” digits, (0, 1, 2, 3, 4, 5, 6, 7)
The Hexadecimal Numbering System Decimal Hexadecimal 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F Uses the Base of 16 system and are a popular choice for representing long binary values because their format is quite compact and much easier to understand compared to the long binary strings of 1’s and 0’s
Refference Stalling, William, Computer Organization and Architecture, 10th Edition, Pearson, 2015 Abdurohman, Maman, Organisasi dan Arsitektur Komputer revisi ke-4, Penerbit Informatika, 2017
Terima Kasih a [email protected] https://teknokrat.ac.id/en/ https://spada.teknokrat.ac.id/