diff options
author | iximeow <me@iximeow.net> | 2022-04-30 11:11:56 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2022-04-30 11:11:56 -0700 |
commit | 073d3b367ee4164fc5c89c4a7869770f0261a00c (patch) | |
tree | 9415e3feae5bce70001fcef1eed530c53322fcbf /src/real_mode/display.rs | |
parent | 2097524c851b15e89091fd3775817a06f0eeae4f (diff) |
support 0x9a callf in 16/32-bit modes
Diffstat (limited to 'src/real_mode/display.rs')
-rw-r--r-- | src/real_mode/display.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/real_mode/display.rs b/src/real_mode/display.rs index 070ca56..6f6eb74 100644 --- a/src/real_mode/display.rs +++ b/src/real_mode/display.rs @@ -163,6 +163,12 @@ impl <T: fmt::Write, Y: YaxColors> Colorize<T, Y> 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)) } |