Showing posts with label How to find start and end address of registers. Show all posts
Showing posts with label How to find start and end address of registers. Show all posts

Thursday, 12 July 2012

How to find start and end address of registers ?

Each sector is of 64 K.
1 KB = 1024 byte
Lets say the starting address is 0x016F2818 and you have reserved 192 sectors for this , so what will be end address ?
1) Convert in decimal all numbers
               1024*64*192 ===12582912, convert in hexa = c00000
2) Now add to starting location address
            016f2818+c00000=22f2818
3) The end address will be 22f2818-1 =0x22f2817