Pelles C forum

Pelles C => General discussions => Topic started by: Robert on October 16, 2005, 10:58:50 PM

Title: [asm] Symbol '@295' is not defined before use.
Post by: Robert 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
Title: [asm] Symbol '@295' is not defined before use.
Post by: Robert on October 17, 2005, 10:07:42 AM
rep movsb

all on one line, works without error.

Robert Wishlaw
Title: [asm] Symbol '@295' is not defined before use.
Post by: Pelle 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