diff options
author | iximeow <me@iximeow.net> | 2020-05-03 13:54:02 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-05-03 13:54:02 -0700 |
commit | 876fc7449cf862e7ffe788885fb7d4209ad2eb5d (patch) | |
tree | ab66916f6bfae21dab417372fcf9b3ae7fce547f /test/protected_mode/mod.rs | |
parent | c9df7910c914d04644aee660d48de1245467f384 (diff) |
add width() to ask width of an x86 operand
this is largely wrong for memory operands, which require more invasive changes
Diffstat (limited to 'test/protected_mode/mod.rs')
-rw-r--r-- | test/protected_mode/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index 37a3b24..ab3cdc8 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -1,4 +1,5 @@ mod regspec; +mod operand; use std::fmt::Write; |