piclist 2002\08\05\044616a >
Thread: SASM and include
www.piclist.com/techref/ubicom/languages.htm?key=sx
flavicon
face BY : Ruben Jönssonemail (remove spam text)



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
RemoveMErubenSTOPspamspamRemoveMEpp.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


<3D4E5822.5555.2A6E96@localhost> 8BIT

See also: www.piclist.com/techref/ubicom/languages.htm?key=sx
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) SASM and include

month overview.

new search...