ft: decode last set of instructions

This commit is contained in:
2025-05-15 08:32:49 +09:00
parent fbec2ddad9
commit 8ff92c81b3
2 changed files with 30 additions and 0 deletions

View File

@@ -259,6 +259,9 @@ pub enum Mnemonic {
// RET
RETIw(Word),
RET,
RETF_Iw(Word),
RETF,
IRET,
// Load ES/DS Register
LES(ModRmTarget),
LDS(ModRmTarget),
@@ -301,6 +304,7 @@ pub enum Mnemonic {
OUT_AXDX,
// INT
INT(Byte),
INTO,
// Flag Manipulation
CLC,
STC,
@@ -308,9 +312,15 @@ pub enum Mnemonic {
STI,
CLD,
STD,
CMC,
// Repeat prefix
REPNZ,
REPZ,
// Adjust
AAM(Byte),
AAD(Byte),
// MISC
XLAT,
}
impl fmt::Display for Mnemonic {