please dont rip this site

pGC-hotmail-5A4

Name:Mr. Patrick Garcia Carreon
Web Site:

David A Cary Says:


"error 118 with the message - overwriting previous contents at 004."

This usually doesn't happen when I use the "relocatable code" programming style (using the "code" directive).

This happens all the time when I use the "absolute code" programming style.
By default, the MPLAB assembler takes your code and starts assembling it starting at location 000.
Later, when my source file tells MPLAB to assemble an interrupt routine (which must start at address 004), those locations have already been used up by other instructions.

The source code file needs to make address 000 contain a "goto start" instruction.
Then the source code file should start the interrupt routine at address 004. Then the main program (beginning with "start:") is placed *after* the interrupt routine in the source code file.

Placing the interrupt routine after the main program in the source code file never works for me.

I hope that helps.
--
David Cary

+
file: /Techref/member/pGC-hotmail-5A4/index.htm, 1KB, , updated: 2006/2/16 22:15, local time: 2024/12/13 04:44, owner: pGC-hotmail-5A4,
TOP NEW HELP FIND: 
18.97.14.84:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.ecomorder.com/techref/member/pGC-hotmail-5A4/index.htm"> Member Homepage for pGC-hotmail-5A4</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?