Mail Archives: djgpp/1998/07/12/07:45:21
On Sat, 11 Jul 1998 22:35:01 -0600, Bob Berkawitz
<oonly AT mailexcite DOT com> wrote:
>When I try to add es to the clobber I get this error:
> unknown register name 'es' in 'asm'
>inline statement looks like this:
> asm("movb $0x00, es"
> :/*no output*/
> :/*no input*/
> :"es");
>
>Do I not need to put es in the clobber list? or is their another way to
>tell djgpp that I have changed its value? I dont want to push es onto
>the stack to preserve its value.
I don't think it's possible to put es on the clobberlist.
I'm not sure, but I don't think you have to bother about whats
in es, but you have to push/pop DS.
- Raw text -