This preview shows page 1. Sign up to view the full content.
Unformatted text preview: a) obtain the binary presentation for the following negative decimal number:  6 10 = 11111010 starting with +6: 00000110 1s complementing by inversion of all bits: 11111001 + ______ 1 2s complement by incrementing the 1s complement: 11111010 b) determine both sign and magnitude of the binary number presented as follows 11111010 2 = 6 10 MSB = 1 indicates that the sign is negative. Thus, the number is presented in the 2s complement form. In this case the binary magnitude is obtained by 2s finding a 2s complement of the number in the 2s complement form. 11111010 1s complement by bit inversion 00000101 2s complement by incrementing the 1s complement 00000110 = 6...
View
Full
Document
This note was uploaded on 03/21/2010 for the course ESE 218 taught by Professor Donetsky during the Spring '08 term at SUNY Stony Brook.
 Spring '08
 DONETSKY

Click to edit the document details