CS429: Computer Organization and Architecture - Integers
CS429: Computer Organization and Architecture
Integers
Dr. Bill Young Department of Computer Science
University of Texas at Austin
Last updated: June 10, 2019 at 14:22
CS429 Slideset 3: 1
Integers
Topics of this Slideset
Numeric Encodings: Unsigned and two's complement
Programming Implications: C promotion rules Basic operations:
addition, negation, multiplication Consequences of overflow Using shifts to perform power-of-2 multiply/divide
CS429 Slideset 3: 2
Integers
C Puzzles
int x = foo () ; int y = bar () ; unsigned ux = x ; unsigned uy = y ;
Assume a machine with 32-bit, two's complement integers. For each of the following, either:
Argue that is true for all argument values; Give an example where it's not true.
x= 0 (x & 7) == 7 ux > -1 x>y x * x >= 0 x > 0 && y > 0 x >= 0 x ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- destring — convert string variables to numeric
- unsigned and signed integers
- cs429 computer organization and architecture integers
- bits bytes and integers
- age is just a number accurately calculating integer and
- secure coding in c integers
- integer security northern kentucky university
- c programming examples princeton university
- 11 formulating and solving integer programs
Related searches
- adding and subtracting integers rules
- positive and negative integers game
- computer organization and architecture stallings
- william stallings computer organization pdf
- computer organization and architecture 10th
- rules for adding and subtracting integers pdf
- positive and negative integers quiz
- adding and subtracting integers practice
- adding and subtracting integers game
- adding and subtracting integers quiz
- roman art and architecture facts
- adding and subtracting integers worksheet