Re: How does bochs calculate the eip after executing an instruction ?
"Stanislav" <[email protected]>
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
I could see three possible reasons: 1. This is not an instruction you think of and it is 3-byte length. You didn't show opcodes so I cannot help you here. 2. The instruction is "jmp .+1" :) 3. Very unlikely - bug in Bochs Stanislav -----Original Message----- From: horseriver [mailto:[email protected]] Sent: Wednesday, January 23, 2013 3:11 AM To: [email protected] Subject: [Bochs-developers] How does bochs calculate the eip after executing an instruction ? 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 _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers ------------------------------------------------------------------------------ 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