Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > Nerds wanted - binary help
  Last Thread   Next Thread
Share
Author
Thread    Post A Reply
Michael19
Liverpool FC fan



Registered: Jul 2004
Location: Eire
Exclamation Nerds wanted - binary help

right so lads. Need help with binary addition etc.


i know how to work normal binary. One thing i dont know is ones and twos complement subtraction though.


say the question is 110101 - 011011 base 2.


I change 011011 to 100100 dont i? is that all i need to do, just work it out then or is there more?


Need to know how to convert from octal and hexadecimal to binary aswell.

e.g
123(base 8) to octal and hexi - how do i do it?


any help would be brilliant.

cheers.


___________________
Liverpool Champions of Europe 2005!


TA's NFL survival League winner 2006!

Old Post Aug-28-2005 14:46 
Click Here to See the Profile for Michael19 Click here to Send Michael19 a Private Message Add Michael19 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Sunsnail
Global Moderator



Registered: Sep 2004
Location:

its like
1 10 11 100 101 110 111 1000 1001 1010 1011 1100 1101 1111 10000 10001 10010 10011 10100 10101 10110 10111 11000 11001 11010 11011 11100 11101 11110 11111

Old Post Aug-28-2005 19:34 
Click Here to See the Profile for Sunsnail Click here to Send Sunsnail a Private Message Add Sunsnail to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Boomer187
Spicy Hotdog



Registered: Aug 2001
Location: USA

http://www.phys.ualberta.ca/~gingri...es/node119.html


???



maybe google it?

Old Post Aug-28-2005 19:38  United States
Click Here to See the Profile for Boomer187 Click here to Send Boomer187 a Private Message Visit Boomer187's homepage! Add Boomer187 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Resnick
Supreme tranceaddict



Registered: Feb 2003
Location: Toronto
Re: Nerds wanted - binary help

quote:
Originally posted by Michael19
right so lads. Need help with binary addition etc.


i know how to work normal binary. One thing i dont know is ones and twos complement subtraction though.


say the question is 110101 - 011011 base 2.


I change 011011 to 100100 dont i? is that all i need to do, just work it out then or is there more?


Need to know how to convert from octal and hexadecimal to binary aswell.

e.g
123(base 8) to octal and hexi - how do i do it?



any help would be brilliant.

cheers.


well base 8 is octal...i think u meant, from octal to binary/hex?

its prob easier to just convert to binary, then go to either octal or hex, so in hex, u group every 4 numbers, and in octal u group every 3

so 10101110 the last digit in octal is 6(110), and in hex its E(1110), and u just move along and do the whole thing so hex = AE, octal = 256

if u do octal - hex or other way, just convert to binary first

so 123 = 001 010 011 in octal, and = 0001 0010 0011 in hex,

ones complement as i recall, u just flip all digits, so 1101 = 0010

in 2's complement u do the same thing, except add 1 at the end

so 1110 = 0001 + 1 = 0010

and then u just add them together (but that might be wrong, thers some rules about the last digit or some crap, i dont remember )


___________________
it was the greatest feeling of nothingness i have ever experienced...

Old Post Aug-28-2005 19:46  Canada
Click Here to See the Profile for Resnick Click here to Send Resnick a Private Message Add Resnick to your buddy list Report this Post Reply w/Quote Edit/Delete Message
THE_Chris
needs a new CT



Registered: Apr 2002
Location: Ireland

Convert to base 10, subtract, then convert back to base 2.


___________________
ID THESE TRACKS PLEASE

IDing tracks is like having sex, the more you get the happier you'll be!!

Want to download a Digweed set? TA ID HUNT!

Old Post Aug-28-2005 19:53  Ireland
Click Here to See the Profile for THE_Chris Click here to Send THE_Chris a Private Message Add THE_Chris to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Michael19
Liverpool FC fan



Registered: Jul 2004
Location: Eire
Re: Re: Nerds wanted - binary help

quote:
Originally posted by Resnick


if u do octal - hex or other way, just convert to binary first

so 123 = 001 010 011 in octal, and = 0001 0010 0011 in hex,




the question will ask me to convert a octal number binary.


how do i work out that 1=001 2 =010 3 =011 etc etc?



dont understand chris


___________________
Liverpool Champions of Europe 2005!


TA's NFL survival League winner 2006!

Old Post Aug-28-2005 20:18 
Click Here to See the Profile for Michael19 Click here to Send Michael19 a Private Message Add Michael19 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Goashem
oh yeah twitch it girl



Registered: Mar 2004
Location: Toronto

use two's complement, switch all the 1s to 0s and 0s to 1 and add a 1. and then add the numbers.

Old Post Aug-28-2005 20:44  Canada
Click Here to See the Profile for Goashem Click here to Send Goashem a Private Message Add Goashem to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Chris d(-_-)b
Supreme tranceaddict



Registered: Jul 2003
Location: 12500' AGL

1o1


___________________

Selling some records!

Old Post Aug-28-2005 21:04  Finland
Click Here to See the Profile for Chris d(-_-)b Click here to Send Chris d(-_-)b a Private Message Add Chris d(-_-)b to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Cloudburst
I am the maximum



Registered: Oct 2003
Location: Jötebårj

quote:
Originally posted by Goashem
use two's complement, switch all the 1s to 0s and 0s to 1 and add a 1. and then add the numbers.


That's how you do it.


___________________



insignificant cor member alliance

Old Post Aug-28-2005 21:41  Finland
Click Here to See the Profile for Cloudburst Click here to Send Cloudburst a Private Message Visit Cloudburst's homepage! Add Cloudburst to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > Nerds wanted - binary help
Post New Thread    Post A Reply

 
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackCatchy Tune [2006] [0]

Click here to listen to the sample!Pause playbackWalt & Feliz - "Expansion" (Original Mix) [2007]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 06:05.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!