X86: Implement the undocumented SALC instruction which sets AL to 0xFF if CF=1 and 0x00 otherwise.
--HG-- extra : convert_revision : 845d43c544e296d7595f54054906055a9f21ad9f
This commit is contained in:
@@ -461,7 +461,7 @@
|
||||
}
|
||||
0x6: decode MODE_SUBMODE {
|
||||
0x0: UD2();
|
||||
default: WarnUnimpl::salc();
|
||||
default: SALC(rAb);
|
||||
}
|
||||
0x7: XLAT();
|
||||
}
|
||||
|
||||
@@ -54,6 +54,11 @@
|
||||
# Authors: Gabe Black
|
||||
|
||||
microcode = '''
|
||||
def macroop SALC_R
|
||||
{
|
||||
sbb reg, reg, reg, dataSize=1
|
||||
};
|
||||
|
||||
def macroop SETZ_R
|
||||
{
|
||||
movi reg, reg, 1, flags=(CZF,)
|
||||
|
||||
Reference in New Issue
Block a user