NO

Author Topic: [asm] Symbol '@295' is not defined before use.  (Read 2753 times)

Offline Robert

  • Member
  • *
  • Posts: 247
[asm] Symbol '@295' is not defined before use.
« on: October 16, 2005, 10:58:50 PM »
The 'rep' in the inline assembly code

rep
movsb

is throwing

error #3012: [asm] Symbol '@295' is not defined before use.

Robert Wishlaw

Offline Robert

  • Member
  • *
  • Posts: 247
[asm] Symbol '@295' is not defined before use.
« Reply #1 on: October 17, 2005, 10:07:42 AM »
rep movsb

all on one line, works without error.

Robert Wishlaw

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
[asm] Symbol '@295' is not defined before use.
« Reply #2 on: October 17, 2005, 04:51:18 PM »
Oops. Yes, the error message could be better.

Instruction 'prefixes': lock, rep, repe, repne, repnz and repz must be on the same line as the instruction. I will try to fix it.

Pelle
/Pelle