Hi Guys thanks for the response!
befor I change to another page I do pagesel "name of function" (page 2) and after a return I do an pagesel to page 1. At the end of page 1 i declare with org 0x800 the program memory for the second page.
org 0x800
#include <Main_Init.inc>
Everything after this lines is on the second page, right ? So all program code which is called will be called with pagesel, alternative with lcall.
That is an example for a call to the second page.
pagesel Init_ALL
lcall Init_ALL ; initialized all important registers
pagesel $
What is wrong on my version ??




Bookmarks