From 073d3b367ee4164fc5c89c4a7869770f0261a00c Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 30 Apr 2022 11:11:56 -0700 Subject: support 0x9a callf in 16/32-bit modes --- src/protected_mode/display.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/protected_mode/display.rs') diff --git a/src/protected_mode/display.rs b/src/protected_mode/display.rs index 69cdbc7..4416141 100644 --- a/src/protected_mode/display.rs +++ b/src/protected_mode/display.rs @@ -163,6 +163,12 @@ impl Colorize for Operand { write!(f, "{}", colors.number(signed_i32_hex(imm))) }, + &Operand::AbsoluteFarAddress { segment, address } => { + write!(f, "{}:{}", + colors.number(u16_hex(segment as u16)), + colors.number(u32_hex(address as u32)), + ) + }, &Operand::Register(ref spec) => { f.write_str(regspec_label(spec)) } -- cgit v1.1