X86: Fix the mov to segment selector in real mode instruction microcode.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user