Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

pizza box

Octal and Hexadecimal Numbers

This topic is 6106 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites


Decimal Binary Hex Octal

0 0000 0 0
1 0001 1 1
2 0010 2 2
3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 8 10
9 1001 9 11
10 1010 A 12
11 1011 B 13
12 1100 C 14
13 1101 D 15
14 1110 E 16
15 1111 F 17

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!