Searching \ for '[SX]:SASM and include' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/languages.htm?key=sx
Search entire site for: 'SASM and include'.

Exact match. Not showing close matches.
PICList Thread
'[SX]:SASM and include'
2002\08\05@044616 by ISO-8859-1?Q?Ruben_J=F6nsson?=

flavicon
face
Hello,

I have been using the Parallax IDE and assembler until now but as the new
IDE can use the SASM assembler, which amongst other things has the ability
to use the INCLUDE directive, I am trying to convert some projects to use
this assembler instead.

However, I have some problems.

If I define some variables in an include file (with equ or =) I have not
been able to use this variable in an expression in an IF directive (IF
<variable> != 0) in the main program. Is this correct? Shouldn't this be
possible? The variable can be used as a value to an instruction though (mov
w,#<variable>).

Also, the assembler doesn't generate an error if I try to include a file
that doesn't exist.

Ruben


==============================
Ruben Jvnsson
AB Liros Electronic
Box 9124, 200 39 Malmv, Sweden
TEL INT +46 40142078
FAX INT +46 40947388
spam_OUTrubenTakeThisOuTspampp.sbbs.se
==============================

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


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...