Binary Translation (cont.)
{"Image DocumentName": "Binary Translation (cont.)", "Image ImageDescription": "Other similar problem instructions we will call special instructions. Caused trap-and-emulate method considered impossible until Binary translation solves the problem. Basics are simple, but implementation very complex. If guest VCPU is in user mode, guest can run instructions natively. If guest VCPU in kernel mode (guest believes it is in kernel mode) VMM examines every instruction guest is about to execute by reading a few instructions ahead of program counter. Non-special-instructions run natively. Special instructions translated into new set of instructions that perform equivalent task (for example changing the flags in the VCPU)", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}