14.2 Function Size Limits
For all devices, the code generated for a function may become larger than one page in size, limited only by the available program memory. However, functions that yield code larger than a page may not be as efficient due to longer call sequences to jump to and call destinations in other pages (see section 14.3 Allocation of Function Code for more details).