piclist 2003\02\21\122842a >
Thread: How to do token pasting in MPASM?
face BY : Ned Konz email (remove spam text)

On Friday 21 February 2003 04:51 am, Sergio Masci wrote:
> Perhaps you could use the m4 macro processor as a preprocessor or
> the GNU C preprocessor. You might even consider a better assembler
> that does what you want out of the box. Maybe something that lets
> you assign strings to assembler variables and manipulate them
> during the course of the assembly like you would in a high level
> language.

You mean I can't assign strings to assembler variables? Ugh...

I did consider using m4, but for what I need it's just as easy to have
another program spit out simple MPASM syntax.

As it is, I'm making a graphical state machine tool using Squeak that
will spit out PIC code; I just need something right now.

Ned Konz

http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
<200302210925.10256@ned.bike-nomad.com> 7bit

In reply to: <00b401c2d9a7$faddc940$0c0fa8c0@srts.co.uk>
See also: www.piclist.com/techref/microchip/languages.htm?key=asm
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) How to do token pasting in MPASM?

month overview.

new search...