Re: LSS and MOV SS
- From: spamtrap@xxxxxxxxxx
- Date: Tue, 21 Mar 2006 03:53:09 -0600
On Tue, 21 Mar 2006 06:48:35 GMT, Tim Roberts <spamtrap@xxxxxxxxxx>
wrote:
"Mark Whitlock" <spamtrap@xxxxxxxxxx> wrote:
Spamt ,
Don't you use cli to stop interrupts before the
move and sti to restart them afterwards ?
It's not necessary. The MOV SS,xx instruction automatically disables
interrupts for one instruction, to allow SP and SS to be loaded atomically.
Try using debug to single step through a MOV SS/MOV SP pair; it doesn't
stop in between them.
Except for a buggy version of the 8086/8 where the cli/sti are
necessary.
<snip>
--
ArarghMail603 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
To reply by email, remove the garbage from the reply address.
.
- Follow-Ups:
- Re: LSS and MOV SS
- From: spamtrap
- Re: LSS and MOV SS
- References:
- LSS and MOV SS
- From: spamtrap
- Re: LSS and MOV SS
- From: Mark Whitlock
- Re: LSS and MOV SS
- From: Tim Roberts
- LSS and MOV SS
- Prev by Date: Re: LSS and MOV SS
- Next by Date: Re: newbie questiom about %rip in x86-64 and var
- Previous by thread: Re: LSS and MOV SS
- Next by thread: Re: LSS and MOV SS
- Index(es):
Relevant Pages
|