X86: Fix the mov to segment selector in real mode instruction microcode.
This commit is contained in:
parent
633c96bd85
commit
27e54982b4
|
@ -228,7 +228,7 @@ def macroop MOV_P_S {
|
|||
|
||||
def macroop MOV_REAL_S_R {
|
||||
zexti t2, regm, 15, dataSize=8
|
||||
slli t3, t2, 2, dataSize=8
|
||||
slli t3, t2, 4, dataSize=8
|
||||
wrsel reg, regm
|
||||
wrbase reg, t3
|
||||
};
|
||||
|
@ -236,7 +236,7 @@ def macroop MOV_REAL_S_R {
|
|||
def macroop MOV_REAL_S_M {
|
||||
ld t1, seg, sib, disp, dataSize=2
|
||||
zexti t2, t1, 15, dataSize=8
|
||||
slli t3, t2, 2, dataSize=8
|
||||
slli t3, t2, 4, dataSize=8
|
||||
wrsel reg, t1
|
||||
wrbase reg, t3
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue