Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Bits

Name: Anonymous 2011-12-05 17:33

Hi /prog/rammers...

I'm an hobby programmer and I'm here to ask a really simple question... I tried to google it but I don't even know where to start my search

the notation:
0x00 = 00000000
how it is called?
how can I convert an 8bit array in this form?
for example how can I discover the notation or the bit pattern?
?? = 00110100
0xff = ??

can someone explain me the logic behind?

thank you...

Name: Anonymous 2011-12-05 17:41

Really? Well, the question is a bit... elementary, but it seems no troll so I'll answer.

It's a commonly used notation for 'hexadecimal' numbers, which is what you call any number written in base-16.

Look up numeric bases and conversion from one base to another. Decimal, octal, binary and hexadecimal are all just convenient and commonly used numerical bases.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List