piclist 2000\08\22\090550a >
Thread: Starting to use 18C252 with MPLAB
www.piclist.com/techref/microchip/languages.htm?key=mplab
flavicon
face BY : Olin Lathrop email (remove spam text)



> However, if you really want to do this, for backward GOTO's/CALL's it
should
> be possible to create a macro that chooses one instruction or the other by
> computing the difference between the current location counter and the
target
> of the GOTO/CALL.
>
> I don't know of a way to handle forward GOTO's/CALL's

I don't think forward/backward matter since this is a multi-pass assembler.
You can forward reference symbolic addresses at assembly time.  The real
issues is absolute versus linked.  I don't see how this is possible (accross
modules at least) when the linker is used.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, RemoveMEolinspamBeGonespamRemoveMEcognivis.com, http://www.cognivis.com

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]: PIC only [EE]: engineering [OT]: off topic [AD]: advertisements
<001c01c00c33$5e7400e0$260bf6cd@pc> 7bit

See also: www.piclist.com/techref/microchip/languages.htm?key=mplab

Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Starting to use 18C252 with MPLAB

month overview.

new search...