Mail Archives: djgpp/2003/07/26/13:40:36
Ben Peddell <killer DOT lightspeed AT bigpond DOT com> wrote in message news:<2c7Ua.13946$OM3 DOT 3560 AT news-server DOT bigpond DOT net DOT au>...
> Joel wrote:
> > I have read up on, and am now pretty familiar with the usual "a" =
> > eax, "S" = esi, and so on, but I'd like an example of one of the
> > following please.
> > "<" Autodecrement addressing memory
> > ">" Autoincrement addressing memory
> > Thank you.
>
> Unfortunately, gcc does not accept ">" and "<" on the x86 (inconsistent
> operand constraints in an `asm'). It'll bypass the '<' or '>' if you
> specify another constraint with it (Multiple Alternative).
> Perhaps because there are no implicitly auto-increment or auto-decrement
> registers on the x86.
>
> If it did accept '<' and '>', then it could cld / std and use ESI for
> the output memory operand and EDI for the input memory operand.
I tried thanking you for your help, but something obviously went wrong
with the last message I tried posting, so I'm trying this again. I
hope it posts OK this time.
- Raw text -