How does bochs calculate the eip after executing an instruction ?

horseriver <[email protected]>
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
hi:

   I am debuging kernel with bochs , and find a problem .

   Here is an instruction at address 0x1110,its length is 2 bytes.
   after bochs execute this instruction,eip should be 0x11102,but bochs gives 0x1113 to me ?
   what is the probable reason ?

thanks! 

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.