×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Subtracting Hexidecimal

Subtracting Hexidecimal

Subtracting Hexidecimal

(OP)
Hello everyone,

I hope I am in the right forum.

Could someone please give me the rules for subtracting hexidecimals?

Thank you.

RE: Subtracting Hexidecimal

They're the same as for subtracting numbers in any other base.

 

--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

RE: Subtracting Hexidecimal

(OP)
Thank you for the reply. Now I realize I maybe having a little trouble with hex. Do you know of a website that I could go to to strengthen my knowledge in hex.

Thank you

RE: Subtracting Hexidecimal

As Salem says arithmetic in hexadecimal is the same as in decimal.
Decimal is base 10, there are  10 symbols 0,1,2,3,4,5,6,7,8,9.
10 in decimal is 1 ten and 0 units, 11 is 1 ten and 1 unit etc...
Hexadecimal is exactly the same except its base is 16, there are 16 symbols 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F (A-F representing the numbers 10 – 15)
10 in hex is 1 sixteen and 0 units, B in hex is 0 sixteen and 11 units, 2E in hex is 2 sixteen and 14 units.
http://www.geocities.com/thestarman3/asm/hexawhat.html
 

RE: Subtracting Hexidecimal

(OP)
Thank you OlafBogus,

Now I clearly understand how hex works.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close