Why the end of size is always F in 18F452 compiled programs?

Status
Not open for further replies.

otuzsubat

Member level 4
Member level 4
Joined
Jun 7, 2004
Messages
72
Helped
7
Reputation
14
Reaction score
5
Trophy points
1,288
Location
istanbul, Turkey
Activity points
668
18F452 compile question

I wrote a program in CCS compiler for 18F452. I add or delete some codes. Then, when i compile my program, its size is (0x0 - 0x524F), (0x0 - 0x544F) or (0x0 - 0x578F).. In other words, the end of size number is always F. Do you know, why?
 

Re: 18F452 compile question

You program 18Fs by 'blocks' ( or units :? ), not by bytes :wink:
regards,
 

18F452 compile question

Due to the flash memory structure
 

18F452 compile question

I think the reason is that when you program the microcontroller, it writes in block sizes of 64 bytes onto the chip memory.
 

Status
Not open for further replies.