Title | HW#2 - Yunfei Hou |
---|---|
Author | Linxuan Liu |
Course | Contemporary Computer Architecture |
Institution | California State University San Bernardino |
Pages | 4 |
File Size | 38.8 KB |
File Type | |
Total Downloads | 115 |
Total Views | 144 |
Yunfei Hou...
HW #2 Linxuan Liu 006151141 Q3.7 In sign-magnitude format, 185 = (10111001)2 = -(0 * 2^6 + 1 * 2^5 + 1 * 2^4 + 1 * 2^3 + 0 * 2^2 + 0 * 2^1 + 1 * 2^0) = -57 122 = (01111010)2 = +(1 * 2^6 + 1 * 2^5 + 1 * 2^4 + 1 * 2^3 + 0 * 2^2 + 1 * 2^1 + 0 * 2^0) = +122 185 + 122 = (10111001)2 + (01111010)2 = -57 + 122 = 65 Because 65 is in range -127...