# Difference between revisions of "Hexadecimal"

From Jeskola Buzz Wiki

(Hex is written in uppercase in trackers because of their amiga past.) |
|||

Line 1: | Line 1: | ||

Hexadecimal: Counting in base-16 as opposed to the more commonly used base-10. | Hexadecimal: Counting in base-16 as opposed to the more commonly used base-10. | ||

− | Instead of 0123456789 we now have | + | Instead of 0123456789 we now have 0123456789ABCDEF to count with. Like this: |

# 1 | # 1 | ||

Line 12: | Line 12: | ||

# 8 | # 8 | ||

# 9 | # 9 | ||

− | # | + | # A |

− | # | + | # B |

− | # | + | # C |

− | # | + | # D |

− | # | + | # E |

− | # | + | # F |

# 10 | # 10 | ||

some useful number to memorize:<br> | some useful number to memorize:<br> | ||

− | 254 - | + | 254 - FF (this is "max" for a 2column hexnumber)<br> |

− | 127 - | + | 127 - 7F (this is "mid" for a 2column hexnumber)<br> |

− | 65535 - | + | 65535 - FFFF (this is "max" for a 4column hexnumber)<br> |

− | 32767 - | + | 32767 - 7FFF (this is "mid" for a 4column hexnumber)<br> |

## Revision as of 13:35, 27 July 2009

Hexadecimal: Counting in base-16 as opposed to the more commonly used base-10.

Instead of 0123456789 we now have 0123456789ABCDEF to count with. Like this:

- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- A
- B
- C
- D
- E
- F
- 10

some useful number to memorize:

254 - FF (this is "max" for a 2column hexnumber)

127 - 7F (this is "mid" for a 2column hexnumber)

65535 - FFFF (this is "max" for a 4column hexnumber)

32767 - 7FFF (this is "mid" for a 4column hexnumber)