PIC memory addressing not in HEX?

184 Views Asked by At

why are pic memory address not in hexadecimal, I am reading the text book programming 8 bit Pic micro controllers in c By Martin P bates, the memory address start at 000h and go on 001h 002h 003h and so on...

From my C experience I was expecting Hex addressing why is this type of addressing used?

1

There are 1 best solutions below

0
On BEST ANSWER

This form is only one of the many ways of written representation for hexadecimals numbers. It isn't valid in C ANSI.

The h at the end is more readable for those that isn't yet familiar with C or any other language way of hex representation.

As a curiosity, Wikipedia lists a lot of ways of written representations here.