First Previous Next Last Index Home Text Slide 10 of 11

When we have converted this character to a C array, the hex values are the same. We simply put them in an array and gave it a name. Note that the array is constant, and so a well behaved compiler should put this array into ROM not RAM. This is appropriate since we are unlikely to want to change this character at runtime. If the data was placed in RAM, then a separate copy with the initial value of the array would be stored in ROM, and we would be using up 7 bytes of ROM and 7 bytes of RAM for this character.