Chapter 4

A1: a. 16; b. 64.
A2: 24 × 5; 7.
A3: Suppose you have the number expressed as a 64-bit two's complement integer. If it is positive by inspection, where do you encounter the first 1 bit in moving from left to right? Firm up that idea. Now, if it is negative by inspection, see whether you can argue successfully that the place where you encounter the first 0 bit in moving from left to right will be important. Firm up that idea.
A4: Since the actual destination would be a field of bits within the instruction, what would happen if that instruction were encountered again (as in a loop structure)?
A5: How many values need codes? How many bits are allocated? How many codes can those bits provide?
A6: Consider that 10 can be obtained in several ways, ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.