Originally posted by TheCodKittenz
Hey guys, having trouble finding a good tutorial on hexadecimal...anyone know where i can find one?
Hexadecimal? It's a numeral system consisting of 16 (that's decimal 16) digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.
It works in a similar fashion to decimal, you might recognize this as the "regular" numeral system, it consists of 10 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
Quite simple really, usually covered in most late-first or early-second year algebra courses.
If you don't understand you ought to read
You must login or register to view this content. and
You must login or register to view this content..
If you have any questions, let me know.
If you're talking about its relation to computers, well, it's generally denoted with the 0x prefix (in most programming languages).
Of course, it's most practically used in Assembly language.
Remember, a bit is the smallest data a computer can manage. A bit (
binary digit) can be a 1 or a 0, denoting electrical "on" and "off" signals, respectively.
Again, computers work solely using binary (actually, they operate using electrical signals, which we as humans often represent as binary).
Machine code is a term used to describe a series of bits that have been grouped together to become a working program (note that this requires a bit of Boolean algebra).
Just as an example, E3C3 (in hex) is 1110001111000011 in binary (or 58307 in decimal).
Of course, computers have a variety of utilities to manage such numbers (and process them accordingly). The higher level abstraction of effectively writing in binary (often using physical objects, like switches) would be Assembly, which might give a command like MOV AX,03 - moving the value of 03 (in hex) into the AX register.