2 problems

Peter Johnson peter at tortall.net
Sun Aug 19 13:42:56 PDT 2007


On Sun, 19 Aug 2007, dfeustel at mindspring.com wrote:
> I am using yasm to assemble fasm as 64-bit code.
> Two problems have shown up.
>
> For some reason I am getting many redefined symbol warnings for the string
> instructions (eg. lods, stos).

What do these lines look like?  Are they just "lods", "stos", or do they 
specify size (e.g. "lodsw", "stosd").  Yasm requires the latter.

> I also am getting many messages about 'instruction must follow label'. This
> happens where labels are on a line by themselves. Adding an instruction does
> not eliminate the error message. Are standalone labels really considered by
> yasm to be errors or is there something else wrong?

I'm not sure how you're getting that exact message.  I can't find it in 
any of the error messages yasm generates.  Can you show a piece of the 
code and yasm's error output for this case?

Peter


More information about the yasm-devel mailing list