> I did, and to my surprise, AX is 0, even though I set it properly in  
> the loader. It appears as if Linux is setting AX to 0 sometime after  
> the loader finishes, but before the executable begins. All other  
> registers, however, are preserved (eip being the most important).

The zero you see in AX is probably the return value from exec.

Russ


Reply via email to