From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6k3C-0002kC-N7 for qemu-devel@nongnu.org; Fri, 26 Mar 2004 00:38:38 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6k2g-0002cf-Kq for qemu-devel@nongnu.org; Fri, 26 Mar 2004 00:38:37 -0500 Received: from [211.5.2.69] (helo=nm01omta014.dion.ne.jp) by monty-python.gnu.org with smtp (Exim 4.30) id 1B6k2f-0002b1-TP for qemu-devel@nongnu.org; Fri, 26 Mar 2004 00:38:06 -0500 Message-ID: <008701c412f4$b4a26bc0$0200a8c0@afina> From: "kazu" References: <4060E013.1070108@bellard.org> Subject: Re: [Qemu-devel] Jump to TSS question Date: Fri, 26 Mar 2004 14:39:27 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, Wednesday, March 24, 2004 10:10 AM, Fabrice Bellard wrote: > I have a question for x86 experts: when switching to a task with the > 'JMP' instruction, which value of EIP is saved in the old task ? Is it > the value pointing to the JMP instruction or the value pointing to the > instruction after ? I'm not a x86 expert but an information is here. http://www7.informatik.uni-erlangen.de/~msdoerfe/embedded/386html/s07_05.htm It says, "The EIP field of the TSS points to the instruction after the one that caused the task switch." Sincerely, kazu