Re: What exactly do 32-bit x86 exceptions push on the stack in the CS slot?
From: H. Peter Anvin
Date: Mon Nov 21 2016 - 11:03:04 EST
On 11/20/16 20:54, hpa@xxxxxxxxx wrote:
>
> I believe i686+ writes zero, older CPUs leave unchanged.
>
I should point out that, at least from my memory, the same applies to
instructions like "movl <seg>". I can't even remember for sure how the
behavior differs between "movl <seg>,<reg32>" and "movl <seg>,<mem>";
I'd have to do some digging.
-hpa