Qbasicnews.com

Full Version: runs but won't compile?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What type of command will cause a program to run under FBIde, but not compile and come back with this message:

program name.asm: Assember messages:
program nam.asm: 4494: Error: suffix or operands invalid for 'movzx'
On Line:

I don't think I really changed anything, the things that I did change I commented out and it still does this.
I realized that my question was kind of lost. The question is this: What type of FB command gets converted into or uses movzx when assembled?

movzx is most commonly used when converting bytes to words.
Quote:What type of FB command gets converted into or uses movzx when assembled?
Lots. Any expression that mixes ints and bytes is likely to generate one.

It might help us identify a compiler bug and help you if you show the source code...
I'm guessing (as you didn't show any code, what makes it pretty hard to fix any bug..), but it's probably related to this one (already fixed, patch will be in the next release): http://forum.qbasicnews.com/viewtopic.php?t=8903