Professional Documents
Culture Documents
Lecture0wp InfoRepresentations
Lecture0wp InfoRepresentations
Architecture
디지털 설계 - 컴퓨터구조
Information Representations
Lecture 0
Brian J. d’Auriol
2023
Lecture Notes developed by Brian J. d’Auriol, permission to use material granted for non-profit, academic use, provided credit is explicitly given; all other use must request prior permission from the author.
Use Permissions
• Lecture Notes developed by Brian J. d’Auriol, permission to use
material granted for non-profit, academic use, provided credit is
explicitly given; all other use must request prior permission from the
author.
Slide 2
Computer Information Representations
For computer-based information representation purposes:
Existence is binary: something exists, or it does not.
Computing Technologies
A spatial-
A circuit has qubit based
temporal location
voltage or it on spin,
has a photon or
does not photons, etc.
it does not
mathematical abstractions:
value: 0 or 1
system: Boolean Algebra
Slide 3
Computer Information Representations
computing Technologies
computing Technologies
Slide 5
Computer Information Representations
A spatial-
A circuit has qubit based
temporal location
voltage or it on spin,
has a photon or
does not photons, etc.
it does not
Slide 6
Information Representations
Human use
sexagesimal
Human culture
decimal
binary
Computer
hexadecimal
design
octal
Slide 7
Information Representations
characters Numbers Instructions EC2204
Each number representation requires distinct
numerical operations: add, subtract, multiply, etc.
Slide 8
Zoned Decimal Formats
Purpose: often as an intermediate format between
characters Numbers character and BCD or binary representations.
Examples:
1234 (unsigned zoned EBCDIC): F1F2F3F4
integers 1234(signed zoned EBCDIC): F1F2F3C4
-1234(signed zoned EBCDIC): F1F2F3D4
1234.56 (signed zoned EBCDIC, fixed-point, 2 decimal
places): F1F2F3F4F5C6
ASCII EBCDIC Unicode zoned 1234 (signed zoned ASCII): 31323334
-1234 (signed zoned ASCII): 31323374
10101001 10101001 = A 9
27 26 25 24 23 22 21 20
1 ⅹ 20 = 1 1010 910
1 ⅹ 23 = 8
Decimal (Base 10) to Hexaecimal to
1 ⅹ 25 = 32 Hexdecimal (Base 16) Decimal
10 16 10 16
1ⅹ 27 = 128 0 0 8 8 A 9
1 1 9 9 161 160
128 + 32 + 8 + 1 = 169 2 2 10 A
3 3 11 B = 160 + 9
2’complement: 1’s complement +1
-17 => 0001 0001 4 4 12 C = 169
1’s complement: => 1110 1110 5 5 13 D
2’s complement +1 => + 1 6 6 14 E
=> 1110 1111 Slide 10
7 7 15 F Slide 10