In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: I recall that discussion from the beta forum, but I think that's a separate (and sometimes related) issue. I think the declaring of word constants (either w/leading zeros, or possibly a suffix to force it) would be great and doesn't necessarily need to affect a new paradigm for function/sub calls. For example, I may have routines that require a Word to be IREADed or RETWed, and if the Word (perhaps a calibration number) is <= 255 I won't get the upper byte defined (in SX/B). Or what if you are building a data table of Words -- if some of the data is predefined constants, then again, this won't work without an LSB MSB workaround, because there won't be a highbyte. I don't think this needs be directly related to optimization for multi-byte/multi-word sub/func calls. If I remember that discussion related as much to optimizing code and obviating the need for paramcnt in mixed var cases without the user having the manually clear the upper byte before the call. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=329905#m329952 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)