[SOLVED] what is the meaning or important of 'Page' in pic assembly programe

Status
Not open for further replies.

4848

Newbie level 3
Joined
Jun 2, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,330
Please I want to know why the term or word "PAGE" is present in most of the application note of Microchip e.g AN582 (Low-Power-Real-Time Clock). I don't understand the reason why "PAGE" is present in that source code. Please could someone help me out
 

Microchip breaks its memory location into pages. Like a book. So each page would have a certain number of bytes usually 4096 bytes (4k) This would allow you erase pages if you are using them to log data. The rest of the pages will contain the code etc.
 

Paging and banking are used where the amount of storage exceeds the range that can be addressed by a single register. The idea is that you can address all the contents of any page/bank with the bits of a register but the total space is split into pages/banks so that more addressable areas can be selected. It is a bit like a book if you imagine each page starts from character zero. To address any point in the book you specify a page number and how many characters in to the page you want.

Brian.
 

Please I want to know why the term or word "PAGE" is present in most of the application note of Microchip e.g AN582 (Low-Power-Real-Time Clock). I don't understand the reason why "PAGE" is present in that source code. Please could someone help me out


Hi,

The use of page in this context -
;
page
;

is nothing to do directly with the assembler code, its an old way of making a printout of the code jump to a new page of paper.

Just ignore it.


However be aware some of the early Microchip applications had problems running, plus that chip is obselete.
There are plenty of better examples around, what are you looking for exactly, just wanting to get going with something or a specific need.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…