woodpecker 0 #1 December 15, 2007 I'm trying to convert 625 into its 12-bit 2's compliment and cant get my head around this easy conversion. When I convert 625 directly to binary I get 00 0110 0111 0001 but cant remember what to do in order to change it to 12-bits. Can I just drop the first two zeros? When I did that it changed the variable, thus the question. thanks in advance, BSSONIC WOODY #146 There is a fine line between cockiness and confidence -- which side of the line are you on? Quote Share this post Link to post Share on other sites
shropshire 0 #2 December 15, 2007 > Count to 12 from the right 0110 0111 0001 (.)Y(.) Chivalry is not dead; it only sleeps for want of work to do. - Jerome K Jerome Quote Share this post Link to post Share on other sites
woodpecker 0 #3 December 15, 2007 So its okay to just drop numbers on the left to make it work and the computer will just fill them in as need be? I ask because when I run the new binary number (minus the two 0's) it doesnt represent 625 anymore. We jumping tomorrow? SONIC WOODY #146 There is a fine line between cockiness and confidence -- which side of the line are you on? Quote Share this post Link to post Share on other sites
shropshire 0 #4 December 15, 2007 It's ages since I did this in school, so I'm a bit rusty... NOBODY does this shite!! Only school kids. Sorry, I have chores to do sunday.... before I pick the Muvver-In-Law up next week (.)Y(.) Chivalry is not dead; it only sleeps for want of work to do. - Jerome K Jerome Quote Share this post Link to post Share on other sites
woodpecker 0 #5 December 15, 2007 Blah! We will drop off Janes pressie on our way out saturday then.SONIC WOODY #146 There is a fine line between cockiness and confidence -- which side of the line are you on? Quote Share this post Link to post Share on other sites
shropshire 0 #6 December 15, 2007 Actually the 2's compliment of a +ve number is the same i.e. 625 = 0010 0111 0001 in 2's compliemt representation (I Think) (.)Y(.) Chivalry is not dead; it only sleeps for want of work to do. - Jerome K Jerome Quote Share this post Link to post Share on other sites
shropshire 0 #7 December 15, 2007 Next saturday? (.)Y(.) Chivalry is not dead; it only sleeps for want of work to do. - Jerome K Jerome Quote Share this post Link to post Share on other sites
jimstermer 0 #8 December 15, 2007 QuoteI'm trying to convert 625 into its 12-bit 2's compliment and cant get my head around this easy conversion. When I convert 625 directly to binary I get 00 0110 0111 0001 but cant remember what to do in order to change it to 12-bits. Can I just drop the first two zeros? When I did that it changed the variable, thus the question. thanks in advance, BS you do drop the first 2 zeros, dont know if there were needed in the first place in the problem or what but a 2's complement is just an inversion of all the bits plus 1 so 0110 0111 0001 becomes 1001 1000 1110 then add 1 so final answer is: 1001 1000 1111 if you have a TI-89 calculator it will do it for you too as well as conversions to hex and decimal from binary and vice versa Quote Share this post Link to post Share on other sites
happythoughts 0 #9 December 15, 2007 Somebody once told me that calendars are so confusing because OCT 31 is the same as DEC 25. Quote Share this post Link to post Share on other sites
Broke 0 #10 December 15, 2007 Why does everyone look at me funny when I dress like a ghost on christmas?Divot your source for all things Hillbilly. Anvil Brother 84 SCR 14192 Quote Share this post Link to post Share on other sites
LisaH 0 #11 December 15, 2007 Quote Why does everyone look at me funny when I dress like a ghost on christmas? Dunno. Why? Is this a riddle? Be yourself! MooOOooOoo Quote Share this post Link to post Share on other sites
woodpecker 0 #12 December 15, 2007 thanks for the assistance and the hijack! SONIC WOODY #146 There is a fine line between cockiness and confidence -- which side of the line are you on? Quote Share this post Link to post Share on other sites
waltappel 1 #13 December 15, 2007 QuoteWhy does everyone look at me funny when I dress like a ghost on christmas? 'cus it makes you look like a KKK guy? Walt Quote Share this post Link to post Share on other sites