x86: Fix some bugs in the real mode far jmp instruction.
authorGabe Black <gabeblack@google.com>
Mon, 17 Nov 2014 08:20:01 +0000 (00:20 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 17 Nov 2014 08:20:01 +0000 (00:20 -0800)
commitf8603fa1204d1ea16e382d0ce6bc4059dbea9661
treeab01a56ba8edecb787e5d73e7a3abda095bbda93
parent7739c24fbeac2979e36de29d8079fb19ed766999
x86: Fix some bugs in the real mode far jmp instruction.

The far pointer should be shifted right to get the selector value, not left.
Also, when calculating the width of the offset, the wrong register was used in
one spot.
src/arch/x86/isa/insts/general_purpose/control_transfer/jump.py