From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: lgb@lgb.hu
Cc: linux-8086@vger.kernel.org
Subject: Re: Swapping
Date: Thu, 03 Jun 2004 23:36:59 +0100 [thread overview]
Message-ID: <1086302218.16035.59.camel@localhost.localdomain> (raw)
In-Reply-To: <20040528075244.GW15905@vega.vega.lgb.hu>
On Gwe, 2004-05-28 at 08:52, Gábor Lénárt wrote:
> mov cx,32
> push ds
> pop es
> mov si,0x100
> mov di,0x200
> rep movsb
>
> This code (in intel asm syntax) copies 32 bytes from offset 0x100 to
> 0x200 withing the data segment. If you interrupt rep prefixed movsb
> register cx should inform you the state of the prefixed movsb.
So you get an exception in the rep movsb - how many bytes were copied ?
Did the fault occur before or after the increment ? This kind of
question.
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2004-06-03 22:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-26 22:45 Swapping Tommy McCabe
2004-05-27 18:45 ` Swapping Alan Cox
2004-05-28 7:52 ` Swapping Gábor Lénárt
2004-05-28 14:56 ` Swapping Tommy McCabe
2004-05-28 15:01 ` Swapping Gábor Lénárt
2004-06-03 22:36 ` Alan Cox [this message]
2004-06-04 7:38 ` Swapping Gábor Lénárt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1086302218.16035.59.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=lgb@lgb.hu \
--cc=linux-8086@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox