In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: John, It looks like you have found a bug. The compiler is generating: "MOV LCDSize,#(LCDWidth * LCDLines) " which would be fine if LCDSize was a non-array variable. The compiler should generate: MOV FSR,#LCDSize MOV IND,#(LCDWidth * LCDLines) I will fix this in the next release. For your particular code your do this as a work-around: x1 = LCDWidth * LCDLines LCDSize = x1 x1 = LCDWidth x2 = LCDLines Thanks for posting it. That's how bugs get fixed. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=138128#m138160 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)