Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
runs but won't compile?
#1
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.
f you play a Microsoft CD backwards you can hear demonic voices. The scary part is that if you play it forwards it installs Windows.
Reply
#2
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.
f you play a Microsoft CD backwards you can hear demonic voices. The scary part is that if you play it forwards it installs Windows.
Reply
#3
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...
Reply
#4
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)