creating modules in mikroBasic

Electronics Computer Programming Q&A
Post Reply
dashley
Posts: 4
Joined: Wed Jan 18, 2006 1:01 am
Location: philippines
Contact:

creating modules in mikroBasic

Post by dashley »

Hi! I am programming PIC16f877A usign MikroBasic ompiler for my project. When my program's memory exceeded 2k, i encounter linker error. The manual said I have to break my programs into chunks.

I thought that maybe breaking it into modules will
help but I don't know how to make them. Can anyone give me some pointers or the syntax I have to follow?

Thank you!!!
╪)3
g_harry12
Posts: 1
Joined: Sun Jan 29, 2006 1:01 am
Contact:

Re: creating modules in mikroBasic

Post by g_harry12 »

Hi Dashley

I think if you are using the free version of Mikrobasic, it is limited to 2K of hex code... Check the web site.. I don't know a way around that except to spend the $$$

George
NV185864
Posts: 16
Joined: Sun Feb 12, 2006 1:01 am
Location: Arvada Colorado
Contact:

Re: creating modules in mikroBasic

Post by NV185864 »

I'm sorry I don't have a solution to you problem, but a suggested direction to go in. The prom in the 877A has 4, 2k pages. Once you excede 2k you must 'link' to the next page. I'm not familiar with Mikrobasic so I don't know how to solve your problem. Microchip offers plenty of literature on the issue if you can write in MPASM assembly, if you have the time to read it. I solved the problem by purchasing picbasic and microcode studios IED. I suppose Mikrobasic is similar.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest