From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: Swapping Date: Thu, 03 Jun 2004 23:36:59 +0100 Sender: linux-8086-owner@vger.kernel.org Message-ID: <1086302218.16035.59.camel@localhost.localdomain> References: <20040526224528.4700.qmail@web51301.mail.yahoo.com> <1085683506.24752.22.camel@localhost.localdomain> <20040528075244.GW15905@vega.vega.lgb.hu> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20040528075244.GW15905@vega.vega.lgb.hu> List-Id: Content-Type: text/plain; charset="utf-8" To: lgb@lgb.hu Cc: linux-8086@vger.kernel.org On Gwe, 2004-05-28 at 08:52, G=C3=A1bor L=C3=A9n=C3=A1rt wrote: > mov cx,32 > push ds > pop es > mov si,0x100 > mov di,0x200 > rep movsb >=20 > 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=20 question. - To unsubscribe from this list: send the line "unsubscribe linux-8086" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html