# Question & Answer: Convert the hexadecimal numbers on the left side of the HCS12 memory map to decimal and binary…..

Convert the hexadecimal numbers on the left side of the HCS12 memory map to decimal and binary

Memory Map of HCS12:
 Memory Map Internal Registers EEPROM RAM Flash(non banked i.e not selected by registers) Flash EEPROM(banked i.e selected by registers) Flash(non banked) Memory Map addresses 0 to 3FF 400 to FFF 1000 to 3FFF 4000 to 7FFF 8000 to BFFF C000 to FFFF Address range in binary (0000 0000 0000 0000)2to (0000 0011 1111 1111)2 (0000 0100 0000 0000)2to (0000 1111 1111 1111)2 (0001 0000 0000 0000)2to (0011 1111 1111 1111)2 (0100 0000 0000 0000)2 to (0111 1111 1111 1111)2 (1000 0000 0000 0000)2 to (1011 1111 1111 1111)2 (1100 0000 0000 0000)2 to (1111 1111 1111 1111)2 Address range in decimal 0 to 1023 1024 to 4095 4096 to 16383 16384 to 32767 32768 to 49151 49152 to 65535

Method of converting hexadecimal to binary:

Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: Convert the hexadecimal numbers on the left side of the HCS12 memory map to decimal and binary…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS \$13/PAGE
• Consider a hexadecimal digit equivalent to 4 binary digits(or 4 bit binary digit).
• Therefore each hexadecimal number is formed by grouping a 4 bits binary digit.
• For example 3FFF in hex = 0011 1111 1111 1111 in binary.

Method of converting hexadecimal to decimal:

• After converting hex digits into binary, it becomes easier to convert it from binary to decimal.
• For example 3FF in hex = 0011 1111 1111 in binary = 1023 in decimal