The point is simple count to 1000 in 8bit binary.
So I will start first:
00000001
Count to 1000 in binaryCount to 1000 in binary
46 Replies - 5102 Views - Last Post: 13 June 2011 - 08:17 AM
Replies To: Count to 1000 in binary
#2
Re: Count to 1000 in binary
Posted 27 November 2010 - 12:53 PM
Actually I just realised I made a mistake since 8-bit binary goes only to 255.
We will do this in 16-bit binary.
0000000000000001
We will do this in 16-bit binary.
0000000000000001
#3
Re: Count to 1000 in binary
Posted 27 November 2010 - 01:06 PM
FAIL! 0000000000000010
#6
Re: Count to 1000 in binary
Posted 29 November 2010 - 01:06 AM
0000 0101 in 8 distinct bits
and
0000 0000 0101 in 16. =\
and
0000 0000 0101 in 16. =\
#7
Re: Count to 1000 in binary
Posted 02 December 2010 - 09:20 AM
what does it matter the bits... it's not like you NEED to pad with zeros. The only reason people usually do that is because they're representing the state of the register the value is being stored in.
It's not like I say 0000027 when I say that I'm 27 years of age.
Anyways
110
It's not like I say 0000027 when I say that I'm 27 years of age.
Anyways
110
#9
Re: Count to 1000 in binary
Posted 02 December 2010 - 09:27 AM
I know!
1000
shit we're already at 1000... that was short.
1000
shit we're already at 1000... that was short.
#11
Re: Count to 1000 in binary
Posted 05 December 2010 - 10:44 PM
CodderMan, on 27 November 2010 - 11:53 AM, said:
Actually I just realised I made a mistake since 8-bit binary goes only to 255.
We will do this in 16-bit binary.
0000000000000001
We will do this in 16-bit binary.
0000000000000001
haha!
0000000000001010
And yes the leading bits DO matter. you must hold the bus low to prevent any noise from other devices that might magically make a one.
#12
Re: Count to 1000 in binary
Posted 06 December 2010 - 12:10 AM
0000 0000 0000 1011
by the way I haven't done the Computer architecture much so I could be wrong but isnt it suppose to be 3 sets of 4 bits when considering 16 bits? =S
by the way I haven't done the Computer architecture much so I could be wrong but isnt it suppose to be 3 sets of 4 bits when considering 16 bits? =S
#13
Re: Count to 1000 in binary
Posted 06 December 2010 - 01:16 PM
0000 0000 0000 1100
#14
Re: Count to 1000 in binary
Posted 06 December 2010 - 03:00 PM
1101
If it's 16 bits, you have 16 binary digits of precision, groups of 4 would be 16/4, so that's 4 groups of 4.
4*4=16
And no, the 0 padding is not necessary when writing a binary number. You may desire to depending the application of using binary numbers. But in the application of counting in a forum... where is the need? Maybe a preference of readability by some, but that's only preference, not need.
Keep in mind, binary is just another number system. Like hex, octal, decimal, quad, etc. The only time we pad any of these is because we desire to display them in their containers in that manner (a register, a text box, a grid, a scantron, etc).
In the case of say a memory register, yes you would write all the 0's because you're using some collection of bits to represent a number, and you must set ALL the bits to the proper representation. But that's a need of the hardware, not a need of binary numbers themselves.
If it's 16 bits, you have 16 binary digits of precision, groups of 4 would be 16/4, so that's 4 groups of 4.
4*4=16
And no, the 0 padding is not necessary when writing a binary number. You may desire to depending the application of using binary numbers. But in the application of counting in a forum... where is the need? Maybe a preference of readability by some, but that's only preference, not need.
Keep in mind, binary is just another number system. Like hex, octal, decimal, quad, etc. The only time we pad any of these is because we desire to display them in their containers in that manner (a register, a text box, a grid, a scantron, etc).
In the case of say a memory register, yes you would write all the 0's because you're using some collection of bits to represent a number, and you must set ALL the bits to the proper representation. But that's a need of the hardware, not a need of binary numbers themselves.
This post has been edited by lordofduct: 06 December 2010 - 03:09 PM
#15
Re: Count to 1000 in binary
Posted 08 December 2010 - 02:05 PM
0000 0000 0000 1111
|
|

New Topic/Question

MultiQuote









|