mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
LibX86: Run the instruction decoder in 32-bit mode by default
Let's assume a 32-bit execution environment unless otherwise specified.
This commit is contained in:
parent
8f503da93f
commit
e5cde0082a
2 changed files with 2 additions and 2 deletions
|
@ -319,7 +319,7 @@ public:
|
|||
|
||||
u8 cc() const { return m_has_sub_op ? m_sub_op & 0xf : m_op & 0xf; }
|
||||
|
||||
String to_string(u32 origin, bool x32) const;
|
||||
String to_string(u32 origin, bool x32 = true) const;
|
||||
|
||||
private:
|
||||
Instruction(InstructionStream&, bool o32, bool a32);
|
||||
|
|
|
@ -20,7 +20,7 @@ int main(int argc, char** argv)
|
|||
auto insn = disassembler.next();
|
||||
if (!insn.has_value())
|
||||
break;
|
||||
out() << String::format("%08x", offset) << " " << insn.value().to_string(offset, true);
|
||||
out() << String::format("%08x", offset) << " " << insn.value().to_string(offset);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue