The inline assembler has not found the end of the string that you specified. The most likely cause is a misplaced closing quote.
program Produce;
procedure AssemblerExample;
asm
db 'Hello world. I am an inline assembler statement
end;
begin
end.The inline assembler is unable to find the end of the string, before the end of the line, so it reports that the string is too long.
program Solve;
procedure AssemblerExample;
asm
db 'Hello world. I am an inline assembler statement'
end;
begin
end.Adding the closing quote will vanquish this error.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|