piclist 2001\03\30\123701a >
Thread: HiTech PICC and Assembler variables
face BY : mike@whitewing.co.uk

On Fri, 30 Mar 2001 16:55:07 +0000, you wrote:

{Quote hidden}

I found that Hi-Tech had a nasty habit of optimising out vars that
were only used inside ASM blocks. I can't remember If I found a solution to this situation for return
vars. I think doing something like result=result;
outside the #asm can fix it, but can also generate unnecessary code.
The other problems is that with full optimisation on. it will
'helpfully' optimise out all your assembler code! I found it to be
much less hassle to put asm stuff in a seperate .as file. Under MPLAB this is relatively painless to do.
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

<6rg9ctk7p19032af5ust3ot9ppfs7qge66@4ax.com> quoted-printable

In reply to: <Pine.LNX.4.21.0103301650070.24363-100000@fresh.ted.net>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
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) HiTech PICC and Assembler variables

month overview.

new search...