[EMAIL PROTECTED] (Ramon van Handel) wrote:
> Then why does the INTEL syntax work ? I just copied it from there...
> I see you fixed my AT&T code but the INTEL code is still the same.
Intel works because the switch there is inside a
'if ( value || first )'
If the displacement value is non-zero, we obviously have a displacement,
and if 'first' is TRUE, we have neither base nor index, so we must
have had a displacement even if it happened to be zero ...
(You can have an effective address that contains only base+index,
or one that contains only displacement, or even one that contains
both, but not one that contains neither :-/)
Bye,
Ulrich