🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Octal and Hexadecimal Numbers

Started by
3 comments, last by pizza box 22 years, 6 months ago
Where can I learn about these? In most books I''ve read, they assume prior knowledge of these, even in introductory books. Is there a site that sheds a little light onto the subject, enough to get me through DirectX and basic windows programming? Thanks for the help.
Advertisement
http://webster.cs.ucr.edu/Page_asm/ArtofAssembly/CH01/CH01-2.html

It's for assembly, but the first chapter of AoA focuses on the number systems of binary and hexadecimal, but no octal.

Octal simply means "base 8" as opposed to decimal's base 10. Hexadecimal means "base 16"

Learn hexadecimal, octal is just 'hex' cut in half so the same technique applies to both.

Edited by - falsk on December 29, 2001 11:09:57 PM
if i wrote this amount of x''s in decimal:

xxxxxxxxxxxxxxx

it would be 15,
so in octal would it be 17 ? right?
so in hexadecimal how does that work :p!?
AHA! i see now, that is where all the letters come in!
Decimal   Binary  Hex  Octal0         0000     0     01         0001     1     12         0010     2     23         0011     3     34         0100     4     45         0101     5     56         0110     6     67         0111     7     78         1000     8     109         1001     9     1110        1010     A     1211        1011     B     1312        1100     C     1413        1101     D     1514        1110     E     1615        1111     F     17 
Those who dance are considered insane by those who cannot hear the music.

This topic is closed to new replies.

Advertisement