hi,Im very noob at this electronics, Iam studying by myself...
please answer it nicely and easily to understood.
What is the purpose of HEX codes in electronics? why do i need
to program an IC? or is it possible to program it?
Anyone who works with digital electronics need to memorize these 16 mappings. Once you have done so you can look at at multi digit hex number and know which bits are on and off.0b0000 0x0
Mike, I think 'translation language' is about as bad a description for hex as you can get. (no offense) It's a numbering system. It's just like counting from 1 to 10 only there are more digits than we're used to. Some early computers were 4 bit computers so hex code lent itself readily to viewing the code as each 'digit' represents 4 bits (otherwise known as a nibble) When 8 bit computers came along they simple used two letters spaced a little distance apart to represent all the possible byte values. These two paired digits are also commonly called a 'byte word' Modern computers of a 'word' length of up to 64 bits on the latest Intel and AMD chips.
Although I did not use the word translation, it is not off the mark. We translate the binary to hex because humans are better able to deal with the base 16 then base 2.What is the purpose of HEX codes in electronics?
Same here. When you are setting up control registers you usually have something like bit 4 is the UART mode select or bit 3 is address detect enable or something - much easier to deal with in binary than hex.Personally I have no problem with binary I find it significantly easier to deal with than hexidecimal actually.