In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bernoulli wrote: Hi, Gents. Are there some assembly codes not permissible within ASM...ENDASM but permissible when using the \ at the beginning of the program line in .SXB? I was adding some assembly codes into an .SXB program, and I experienced something which has me confused. The following illustrates the point. This compiles successfully in .SXB [code] \_test macro 1 \ bank \1 \endm [/code] This does not compile successfully in .SXB [code] ASM _test macro 1 bank \1 endm ENDASM [/code] If I put the previous one in an external .SRC file and use the INCLUDE file, it compiles just fine. [code](for .SXB file) INCLUDE "src.src" (SRC.SRC file) _test macro 1 bank \1 endm [/code] Thank you for your help in furthering my understanding of SX programming.[code][/code][code][/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=250803 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)